Closed h4ck-rOOt closed 2 years ago
After the permission was rejected by the user, the app crashes on iOS 13+. This is an attempt to fix this crash.
The callback seems to enqueue the alert dialog on background thread, which has no permission to access the "UIThread".
Since i'm no obj-c developer, there could other issues arise from this fix. But it helps in our project to prevent the crash.
Also this could fix #104
After the permission was rejected by the user, the app crashes on iOS 13+. This is an attempt to fix this crash.
The callback seems to enqueue the alert dialog on background thread, which has no permission to access the "UIThread".
Since i'm no obj-c developer, there could other issues arise from this fix. But it helps in our project to prevent the crash.
Also this could fix #104