homeeondemand / react-native-mapbox-navigation

A navigation UI ready to drop into your React Native application
MIT License
162 stars 123 forks source link

Licensing issue due to upstream mapbox dependency #31

Closed karussell closed 3 years ago

karussell commented 3 years ago

Thanks for providing this interesting project!

From my understanding it should be mentioned in the licensing file that the usage of this project falls under the Mapbox terms. See the license file of the upstream dependency (com.mapbox.navigation:core) version 1.3.0:

This SDK uses Mapbox Navigator, a private binary, as a dependency. The Mapbox Navigator binary may be used with a Mapbox account and under the Mapbox TOS. If you do not wish to use this binary, make sure you swap out this dependency in libandroid-navigation/build.gradle.

Please note that it is not trivial to "swap out" this dependency. Additionally Mapbox sends home information from which they say is anonymous (probably to create their traffic data).

And this license becomes effective even if you do not use their services and use some self-hosted map tiles.

And in the latest version of this upstream dependencies it get's fully closed source:

Mapbox Navigation for Android version 2.0 (“Mapbox Navigation Android SDK“) or higher must be used according to the Mapbox Terms of Service

I highlight this as I was hoping you found a solution for the problem we faced when we (GraphHopper) forked their navigation SDK before they went closed source a few years ago. This fork is now available under the MapLibre umrella - see a blog post of maptiler - one of the initiator about the reasoning of this org.

rossmartin commented 3 years ago

Hey thank you for all of these details. In the next release I'll include this info about the usage of this project falling under Mapbox terms (when this library downloads their SDKs and uses that closed source in conjunction with the open source code here).

I haven't worked on a solution to get around their terms of service but I appreciate you bringing this up and sharing that blog post.