mapbox / mapbox-navigation-android

Mapbox Navigation SDK for Android
https://docs.mapbox.com/android/navigation/overview/
Other
622 stars 318 forks source link

Licence doubts #3647

Open Azbesciak opened 3 years ago

Azbesciak commented 3 years ago

Hello, I wonder whether I can use your library legally for commercial usage with my own routing service and own tiles? I saw GraphHopper lib and the issue, but still not sure. Thanks

Azbesciak commented 3 years ago

Hello, could you please respond?

asinghal22 commented 3 years ago

@Azbesciak Can you please describe the usage in more detail? How do you anticipate using the SDK with your own routing and engine. That will help us with providing better guidance.

Abhishek (Head of Product - Navigation SDK)

Azbesciak commented 3 years ago

Hello, In general I don't want to use any of your online services - I have my own; the question is whether I can use them and use your SDK without any pricing; I checked you terms of use, but there everything was 'per user' and in terms of service usage.

So far, to replace routing and stay in your framework, I know that I need push my own route to the NavigationMapboxMap, also I replace tiles by building own style with it. I do not know whether you have separate geocode there, but also going to use it.

Azbesciak commented 3 years ago

@asinghal22 Hello, is any response possible?

Asherslab commented 3 years ago

Also have this question as well, same use case.

Want to host my own tile server and navigation server (graphhopper) but do like the SDK

Azbesciak commented 3 years ago

@zugaldia @asinghal22 could you please :)?

asinghal22 commented 3 years ago

@Azbesciak You are free to use Mapbox software that is open source under MIT License. Any binary that is included in the SDK (including dependencies) fall under Mapbox TOS. There will be licensing fee associated with the usage of the binary.

License Terms

cc: @kathleenlu09

Azbesciak commented 3 years ago

@asinghal22 Thank you. So, to sum up, because it is not clear to me -- it is not important whether I use your services or not, it is important what functionality of the SDK I am using?

kathleenlu09 commented 3 years ago

@Azbesciak It depends on what code you copy and the license that code is under. Some code may only be used with Mapbox services. Please see https://github.com/mapbox/mapbox-navigation-android/blob/master/LICENSE.md#license-of-dependencies

Azbesciak commented 3 years ago

Thank you @kathleenlu09 ,

Some code may only be used with Mapbox services.

Does it mean that some code is practically impossible to use with another service, or is not legally permitted to use with them? I execute requests on my own to my own services, SDK is used only to visualize things, and of course - for navigation.

kathleenlu09 commented 3 years ago

@Azbesciak For the code that is not available under an open source license, the only license is through Mapbox's Terms of Service. Therefore it is not legally permitted to use that code outside the Terms of Service.

Azbesciak commented 3 years ago

To sum up, I can use some code, but as I suppose key fragments, for example navigation engine, is in binary form, and therefore I am not able to use it, as same as Graphhopper could not, right?

Azbesciak commented 3 years ago

https://github.com/mapbox/mapbox-navigation-android/blob/master/LICENSE.md As I understand, If I am able to remove mapbox-navigator from the sourcecode and compile it by myself, I am free to use it with my own API services without any payments - based on MIT licence, right? Also, is it possible to extract data classes and interfaces from mapbox-navigation-native? I saw there a lot of classes which previously (before 2019) were in open source (Banner, Tiles...). Of course, I do not expect you to share your internal native code - just to expose API, which would allow to use the code without it.

BTW link to libandroid-navigation/build.gradle. should be updated there

zugaldia commented 3 years ago

/fyi: @jyrigo

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.