-
Notifications
You must be signed in to change notification settings - Fork 80
Description
I use this package for our call app and it works very well! Thanks for great library! I prefer it over AsyncStorage as it is simple and do not use SQLLite DB and also the ability to pass data between native and js code.
But I have a specific case: When phone is locked and user receives a voip push token and show CalKit accept/decline modal window, if user just slide to answer the call, then app starts and all js code runs, but when it tries to read values from NSUserDefaults using DefaultPreference those values is null, because the phone is still locked and code does not have access to NSUserDefaults (access is blocked).
Is there any way to store not so secure data in some place available to read even if the phone is locked? And specify a parameter available during lock or available only after unlock?