You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if the defaultConfiguration works for an encrypted configuration?
The reason why I am asking, is because I assumed that once you have the default configuration set,
and the user relaunches the app, it was my assumption that another encrypted configuration wouldn't
have to be created and assigned to:
Realm.Configuration.defaultConfiguration
Of course, doing so is costly, retrieving the key for the Keychain, converting it, etc etc.
It seems like between app launches; the Application UUID in the file URL for the default config changes.
For instance, if I set my default configuration with an encrypted configuration at this path: /var/mobile/Containers/Data/Application/ADC185A8-6806-43A3-84D2-EF8857D2FA84/Documents/default.realm
If I relaunch the app, default config now references the default config utilizing the new Application UUID: /var/mobile/Containers/Data/Application/2AB4E1F6-2152-40CC-AC32-F1691F5AC52F/Documents/default.realm
I'm assuming that I am incorrect in my assumption or perhaps it is required to set the default configuration for each app
launch? Would anyone have any insight on this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am wondering if the defaultConfiguration works for an encrypted configuration?
The reason why I am asking, is because I assumed that once you have the default configuration set,
and the user relaunches the app, it was my assumption that another encrypted configuration wouldn't
have to be created and assigned to:
Realm.Configuration.defaultConfiguration
Of course, doing so is costly, retrieving the key for the Keychain, converting it, etc etc.
It seems like between app launches; the Application UUID in the file URL for the default config changes.
For instance, if I set my default configuration with an encrypted configuration at this path:
/var/mobile/Containers/Data/Application/ADC185A8-6806-43A3-84D2-EF8857D2FA84/Documents/default.realm
If I relaunch the app, default config now references the default config utilizing the new Application UUID:
/var/mobile/Containers/Data/Application/2AB4E1F6-2152-40CC-AC32-F1691F5AC52F/Documents/default.realm
I'm assuming that I am incorrect in my assumption or perhaps it is required to set the default configuration for each app
launch? Would anyone have any insight on this?
Beta Was this translation helpful? Give feedback.
All reactions