-
Notifications
You must be signed in to change notification settings - Fork 19
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
iOS native code init takes a long time #95
Comments
But there was a
earlier. Why didn't we start fine location tracking at that point? It looks like we really started getting updates only after the application relaunched
|
These are the raw logs that I'm pulling this from. |
Case 1:
Case 2:
Case 3:
Why the large gap between the completed push and NOP transition? Case 4:
Again, large gap (almost 5 secs!) between remote call and error.
|
Finally, the one which failed. Note that again, the CommunicationHelper from the previous remote push is invoked as part of this geofence exit callback and the app is suspended in the middle.
Then, we start fine location tracking and get a single update before the app is suspended again.
And then as part of the visit notification, the fine location tracking starts in earnest.
I wonder if the app was killed in the middle. There is no corresponding log message, but we are not guaranteed to have one if the app is already suspended. Or is the location update actually from the fine location tracking, or is it from the significant location changes? Or ???
|
Certainly looks like app was killed because it is relaunched. Unsure what (if anything) we can do about it.
Note also that right before the app was killed, it appeared to get a callback to register for remote notification. And this callback was in response to an init over an hour ago.
I wonder if there is a connection - the callback has finally been delivered, so the OS determines that it can kill the app. If so, I don't see a great workaround for it. It doesn't look like this will be affected by the planned restructuring into the pluginInitialize code, and it also looks like we might not be able to come up with a workaround for it... |
Specially when the app is launched in the background, app init sometimes takes ~ 10-20 minutes. Here's one instance.
Because of this, the trip back from the tech was largely a straight line with very little data. Need to investigate why this happens.
The text was updated successfully, but these errors were encountered: