Comments (4)
Thank's for your report!
Does this happen every time or only sometimes?
We will have a look at in the near future.
from maplibre-navigation-android.
I just reduced the complexity of the notification with a custom implementation. It helped a lot, but didn't prevent the crashes.
My latest attempt is to wrap it with a try-catch for now, until we find a solution.
try {
notificationManager.notify(NavigationConstants.NAVIGATION_NOTIFICATION_ID, notificationBuilder!!.build())
} catch (e: RuntimeException) {
// to catch two different exceptions, TransactionTooLargeException and
// DeadSystemException (API 24+) re-thrown as Runtime exception
Timber.e(e)
}
from maplibre-navigation-android.
Only sometimes for now (a few dozens). Because we just release the new version widely this number will increase.
It did not occur while testing internally, only now with our customers
from maplibre-navigation-android.
I see this same error on our app too. There exists a lot of Mapbox issues about this topic. The most mentioned cause is that the navigation view is growing with every update. So long time navigations are crashing with this error, while the notification is too big after (for example) 100 updates.
But I'm still working on a solution on this. But it's very hard to test and reproduce. Feel free to provide a solution to everyone.
from maplibre-navigation-android.
Related Issues (20)
- Update for MapLibre Native Android 11.0.0 HOT 7
- Implementation Issues
- Current location heading resets when speed=0 HOT 7
- Enable integration with multiple routing services HOT 6
- DirectionsResponse.fromJson(String json, RouteOptions routeOptions) does not exist in Maplibre? HOT 1
- Documentation HOT 1
- Wrong off route state for route snapping HOT 4
- [No issue] Info about how to check if arrived or passed the destination HOT 6
- [No issue] Info about show Instructions and Maneuvers HOT 3
- symbol ficker when navagation
- The sdk is triggering the reroute process when speed = 0
- Route Snapping: Zero bearing between legs/waypoints HOT 1
- Question about route progress updates HOT 6
- Support for Ocean Navigation HOT 4
- Sample app map is not rendered HOT 4
- [Question] Disabling / intercepting off route recalculation
- Compile Error with Mapbox Maps v10 HOT 4
- Unable to run gradle build or gradle check HOT 4
- Permissions by default HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maplibre-navigation-android.