-
Notifications
You must be signed in to change notification settings - Fork 427
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
service starting on app startup #1231
Comments
Yes, you will briefly see the foreground notification on startup, then immediately go off. The plugin launches a foreground-service to call |
I monitor it and it doesnt go off as it says in the docs |
Show me logs from |
I have uncommented the success callback code in my initial code block above |
I'm not interested in Javascript logs. I'm only interested in native Android logs from the plugin. See Wiki Debugging and learn to observe the Android logs. |
And for iOS, I'm only interested in the native iOS logs. |
But by javascript logs showing that activity is changing every few seconds, it means the plugin is tracking in the background / on. |
Yes, and you'll never determine WHY unless you learn to observe the native logs. |
hmm... it only seems to be logging/active on ios.
|
See wiki Debugging |
I did check it before my post... It just says "When testing at your work-station, you can observe the plugin logs in XCode:" |
2021-02-03 13:21:28.571962+0200 Orobe[324:9185] ℹ️-[TSLocationManager init]
{ |
Interesting. I don't think I've ever actually implemented I'll look into it. |
btw, when you configure the plugin with: BackgroundGeolocation.ready({
...
// HTTP / SQLite config
url: 'http://yourserver.com/locations',
...
}); The plugin IS actually going to waste energy attempting to
|
Ok, I have a solution for iOS |
hey @christocracy so should I wait for that or anything else I can do? thanks for the tip - if I remove the URI if this will stop post attempts? i'm new to mobile dev, been mainly a web fullstack dev for years - so will pick up debugging device specific logs. |
When I merge to master, I'll let you know here and you can install the plugin from master to test.
Remove this. You're expected to provide an url to your own server.
|
ok cool, have you merged yet? |
still nothing?? |
This is merged to master in the "customers-only" private repo first. This public version is mirrored only about every 3 months. |
Have you not purchased a license? |
|
yes we have a license. |
so i just need to use startOnBoot: false? |
it still seems to be logging nonstop after startup man.... @christocracy |
What's your Order #?
The best thing to do is watch the private repo for notifications. Then you'll see every commit / PR. You can't count on me to remember you as I'm often dealing with dozens of people simultaneously, spread across Flutter, React Native and Cordova. |
#6473 sure! :) |
why the thumbs down.. its still starting on boot despite being set to false? @christocracy |
bump @christocracy |
???????????????????????????? |
Your Environment
react-native -v
): 0.63.3Expected Behavior
Service should not automatically start on app init/startup
Actual Behavior
App does start, even if startOnBoot: false and I comment out the success Background
Steps to Reproduce
Context
Debug logs
Logs
The text was updated successfully, but these errors were encountered: