ios-jsc
ios-jsc copied to clipboard
Changing permissions in system settings freezes app, not force closes
Overview of the issue
When the app is open and a user changes any permissions in the system settings, the app then freezes instead of being force closed.
Steps to reproduce
Open your app, goto system settings, toggle a permission, go back to your app, it's frozen and needs to be manually force killed by the user. The app should be force killed by the OS when changing a permission.
System configuration
┌──────────────────┬────────────────────────────┬────────────────┬─────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-core-modules │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-android │ 2.4.0-next-2016-10-06-1215 │ 2.3.0 │ Up to date │
│ tns-ios │ 2.4.0-2016-9-28-1 │ 2.3.0 │ Up to date │
└──────────────────┴────────────────────────────┴────────────────┴─────────────┘
@roblav96 Could you be more specific about the steps to reproduce. Is it reproduced with a blank app? It would be helpful if you give an example of a concrete option change, which causes the app to freeze.
I just ran into the same issue.
- open the app
- switch to the settings app, find your app, change a permission
- at this moment it already froze, i asserted that by having a timer emit something to the console every second, which stops the moment you tap that toggle
- go back to the app - nothing works.
Running NS 4.0