apla / me.apla.cordova.app-preferences

App preferences plugin for cordova
Apache License 2.0
201 stars 209 forks source link

Preferences not saving when force closing app on iOS #86

Closed genox closed 4 years ago

genox commented 8 years ago

Hi,

when i save a key the first time, the value is being persisted. When I save it the second time, then close the app and reopen it, I get the value I persisted initially.

I use ngcordova as wrapper for using it in an angular app. iOS 9.3

Is there a way to force the preferences to be written in the app bundle?

Immediately after saving the preferences, I switch the domain to an external domain. Could it be that there's a delay necessary? This poses another question: are these prefs limited to the current domain like local storage or are the preferences a global storage item?

genox commented 4 years ago

Closing issue - I moved on ;)