-
Notifications
You must be signed in to change notification settings - Fork 94
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
tap on map cause an app crash on android #372
Comments
Any updates on this issue? |
I haven't had a chance to look at it. At my present rate of progress I'll be making another major pass through the plugin in early August. |
@wendt88 I figured out the issue. If you uses setOnMapClickListener or setOnMapLongClickListener function you need to return a boolean. The new Mapbox Native SDK allows for multiple listeners on an event and follows the standard pattern of returning 'true' when a handler has handled the event and others shouldn't. Not returning a boolean from the listener function will cause a crash. https://docs.mapbox.com/android/api/map-sdk/9.2.0/index.html EX: |
@TPham92 good find. |
@TPham92 thx for your feedback! now i found out, that the app crashs on every map (not marker) tap. @Yermo could you fix this ( |
Thank you, It's work very fine in my Nativescript-Vue application.
|
tns info
nativescript-mapbox: 5.0.1
if you tap lightly on the over side of the marker (default marker)
error
The text was updated successfully, but these errors were encountered: