-
Notifications
You must be signed in to change notification settings - Fork 120
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
Location Plugin Crash #381
Comments
Make sure you are also including the |
I followed the location plugin instructions and have this in my lifecycle methods as well as other initialization steps.
and
|
We just released 0.5.0-beta.1 with a ton of changes, mainly the update to the Map SDK 6.0. While it will require work to make the upgrade, I believe the fix to your issue is found in #307. Can you try this out and confirm this fixes the issue? |
@cammace Okay I will try that. Should my gradle then be
To use the new updates? |
Sorry, I neglected to mention that there's currently not a running nav SDK using the Map SDK 6.0, therefore I'm not sure this is yet testable or you can even compile. in the coming weeks, you'll see an update for all of these SDKs though which will bring compatibility for our map SDK. |
@cammace No problem! Looking forward to the new release. |
I am facing the same issue. Awaiting for the new release. |
Hi, Thanks. |
@samoilovich, this ticket isn't showing code from the latest Location Layer Plugin, can you elaborate a bit more on the issue you are having and how I can reproduce it. Perhaps even opening a new ticket for easier tracking would be best. |
@cammace Thanks :) |
Hi everyone, I have followed the exact instructions from Location Layer Plugin page as well as the code from the demo app and I get an error from the following:
I have two fragments
Crashes when I do this:
-From Home fragment -> load Map fragment
-From Map Fragment -> load Home fragment
-From Home fragment -> load Map fragment (CRASH)
I have debugged everywhere in my code and I have found out that the culprit is only coming from these two lines
locationPlugin = new LocationLayerPlugin(mapView, mapboxMap, locationEngine); locationPlugin.setLocationLayerEnabled(LocationLayerMode.TRACKING);
If I comment out these two I can switch back and forth between my fragments just fine without crashing.
GRADLE
Thanks
The text was updated successfully, but these errors were encountered: