-
Notifications
You must be signed in to change notification settings - Fork 1.3k
BaseMarkerOptions.java breaks NativeScript compatibility #4761
Comments
@EddyVerbruggen I think this is doable as our primary concern is to be API compatible at the Is there any other API breakages that you know of now or is |
Hey @bleege thanks for taking note! AFAIK |
@EddyVerbruggen I just created some wrappers for this and submitted PR #5367. Can you verify that this is what you'll need for the Cordova plugin? If so @zugaldia can work with you to get this into the next |
@EddyVerbruggen we've now merged @bleege's PR into the release branch. You can expect a release candidate tomorrow or early next week that you can use to test the fix. Thanks again for your feedback. |
Looks good guys, I'll check the RC shortly, thanks! |
@EddyVerbruggen We released |
Awesome! Thanks for making this happen @EddyVerbruggen @zugaldia! I'm excited about getting the Cordova and NativeScript plugins back up to the latest code! 🚀 |
@bleege @zugaldia I waited a bit for 4.1.0 and had a great time implementing some new features for the NativeScript plugin today. Your setters worked perfectly, thanks a LOT! The next thing I'll be adding is offline maps support, and then give the Cordova plugin some love. |
@EddyVerbruggen That's great to hear! Thanks so much for your work keeping the NativeScript and Cordova plugins up to date! 🚀 |
Hi folks,
Since Mapbox for Android 4.0.0 the annotation logic has been partially moved to a new
BaseMarkerOptions
superclass. This class has atitle
property as well as atitle
setter.I understand why it was changed in the way it is, but it breaks using markers for the Mapbox NativeScript plugin as the NativeScript runtime can't distinguish the property from the setter.
Platform: Android (NativeScript)
Mapbox SDK version: 4.0.0
Steps to trigger behavior
Please check my description in the NativeScript issue tracker for a way to reproduce this in a NativeScript app.
Possible solution
We don't need the current setters like
title(..)
removed, but we'd be very much helped if regular Java setters likesetTitle
are added toBaseMarkerOptions.java
. Until that's added I'm afraid we can't update the Android version of our plugin.The text was updated successfully, but these errors were encountered: