enviroCar / enviroCar-app

enviroCar Android Application
https://envirocar.org
GNU General Public License v3.0
87 stars 153 forks source link

Unable to register in mapbox #998

Open sandy99405 opened 5 months ago

sandy99405 commented 5 months ago

Hello @SebaDro @matthesrieke @dewall , I have been trying to run the enviroCar android application lately. But it's showing errors while building the app. When I checked the Read.me file of this repository , I found that I need an account in Mapbox to download the mapbox sdk and the secret key.

While registering my details and card in Mapbox it is showing "Failed to add the card" error.

Is there any alternative way you can tell to get that Mapbox SDK or any otheer solution entirely ? So that it will be helpful for me to build the app in the android studio.

SebaDro commented 5 months ago

Hi @sandy99405 . Thanks for your interest in contributing to enviroCar.

Unfortunately, there is no other possibility to get all required dependencies of Mapbox SDK than registering your application on the Mapbox websites. You will find some reasons for it here and here.

However, I don't fully understand the problem. With "card" you mean your "credit card", which can't be added to your Mapbox account? Well, enviroCar doesn't use any paid features of Mapbox. So it should not be necessary to add some payment information to your account.

sandy99405 commented 5 months ago

@SebaDro Although it doesn't use any paid features of Mapbox, I have to give my card details (I am using Debit card) to create an account. That is the problem.....btw, will they accept only credit card for that ?

SebaDro commented 5 months ago

Actually, it is mandatory to give your credit card details for creating an account (Mapbox justify it with account verification safety). Unfortunately, I don't see any other option.

If you really don't want to give your credit card details you could try to downgrade the Mapbox dependencies to a version that is still available on public Maven repository. This should fix building the app but may cause instabilities. Just give it a try...

sandy99405 commented 5 months ago

I don't have a credit card with me that is the problem. Anyway ,I will try the old version as you mentioned. Thank you for the help :)

SebaDro commented 5 months ago

Great to hear. Let me know, if it works or if you need more guidance.

HrxSrv commented 4 months ago

@sandy99405 has the issue been solved by downgrading the Mapbox ?