-
Notifications
You must be signed in to change notification settings - Fork 3
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
Navigation doesn't stop by removing the NavigationFragment #102
Comments
Hello What do you mean by continues runnig in the backgroud? If none of these would help, please let me know. |
The thing is, we are not using the navigation manager directly, i believe it's being used internally in the UI-Kit's NavigationFragment, and since the NavigationFragment is the one starting the navigation, my expectation will be that it stops it as well when no longer needed |
According to this code, the navigation should be stopped once the route is null. We have also tested it and found no problems. |
@Darxie I debugged into it and followed the execution path, and yes the line you mentioned is reached and
sygicSdkVersion = '15.0.4' |
Hi, did you read the tutorial on our site? https://www.sygic.com/sk/developers/sygic-maps-sdk/android/getting-started |
Yes I had a look at the SDK documentation, so i tried now simply initializing the SDK and enabling OnlineMapStreaming without starting any UI Component, the sdk seems to be initialized successfully and nothing happens afterwards (see logs below), but after starting the navigation fragment and ending it, the logs i mentioned earlier starts being logged indicating that some speedcam download operation is running
|
Hi, The offline speedcam database is now downloaded by default, however we plan to make this up to the user in the future. Thank you for your understanding. |
I've used |
I've noticed that the Navigation continues running in the background even after the NavigationFragment been removed/destroyed.
I tried setting the route to null while removing the fragment, but this didn't work as well.
What's the proper way to completely stop the navigation?
The text was updated successfully, but these errors were encountered: