Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up| ★ wanayoo — archive 1999 https://github.com/NativeScript/android-runtime/pull/1621 | Nouvelle recherche | Portail wanayoo |
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Description
Android 9 & 10 on some phones now enforce the requirement that after a reboot the data is un-accessible until phone has been unlocked once after startup. According to the docs; this was a new feature in Android 7; but we are only seeing crashes in Android 9 and later.
The new error code detects this specific condition and now just exits the application w/o throwing an error, as throwing an error shows up as a error in the Google application error log. After much testing, exiting the app is the safest course of action with no issues because application doesn't actually need to run at this point.
Does your commit message include the wording below to reference a specific issue in this repo?
Fixes #1546
Does your pull request have [unit tests]
No, unable to test except manually (see #1546 for instructions)