-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start up and run IOS crash #565
Start up and run IOS crash #565
Comments
This same issue happened to me. I solved installing the plugin On iOS Devices a notification is triggered when the location is updated. It seems you need to have a way to show it or the app will crash. |
First of all, thank you for your answer. 1.Since call notifications require plugin Don't know why the author designed it. ha-ha |
At the beginning of `onFinishLaunching`, `center.delegate` is set to `self`. Later on, when debugging is enabled, the current value of `center.delegate` is saved info `prevNotificationDelegate`. Since this has already been set to `self`, a recursion and later a stack overflow happens. The commit that added the code 80be0fd ("iOS avoid taking control of UNUserNotificationCenter", 2018-08-20) has not removed the block at the beginning, but the original one referenced there did: https://github.com/mauron85/react-native-background-geolocation/pull/268/files So that was probably a mis-merge. Fixes mauron85#565
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn't be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it's important. Thank you for your contributions. |
hello everyone, That issue is still alive on IOS and needs to be fixed asap as i just recently implemented background-geolocation and what i noticed is i am still having that app crashing issue on debug=true |
Your Environment
cordova -v
): 9.0.0cordova platform ls
):5.0.0Context
Expected Behavior
App runs normally, running location monitoring
Actual Behavior
After init background-geolocation,this is run 'start()'. App crash.
Possible Fix
Steps to Reproduce
Context
Debug logs
The text was updated successfully, but these errors were encountered: