Giter VIP home page Giter VIP logo

Comments (8)

Cirff avatar Cirff commented on June 5, 2024 1

please make sure you added below in AndroidManifest.xml
<meta-data android:name="MAPBOX_ACCESS_TOKEN" android:value="your access key" /> inside below tag
<application android:name=".MainApplication" android:label="@string/app_name"
and not inside <activity android:name=".MainActivity"
`

from react-native-mapbox-navigation.

ahmedelsayed11 avatar ahmedelsayed11 commented on June 5, 2024

Yes I have fixed the problem by check permission in android if simulate is false.

from react-native-mapbox-navigation.

abazudosen avatar abazudosen commented on June 5, 2024

Yes I have fixed the problem by check permission in android if simulate is false.

PLS HELP!!!

i followed the installation instructions but only worked on IOS, how were u able to get it work on Android. PLS HELP!!

from react-native-mapbox-navigation.

ahmedelsayed11 avatar ahmedelsayed11 commented on June 5, 2024

Please provide me with gradle.properties
and Gradle wrapper version.
And Android mainfest.
And react native version.
To help you ?
@abazudosen

from react-native-mapbox-navigation.

abazudosen avatar abazudosen commented on June 5, 2024

Screenshot 2022-07-02 at 07 26 30 AM

Screenshot 2022-07-02 at 07 26 51 AM

Screenshot 2022-07-02 at 07 27 16 AM

React Native version ==> 0.68.2

from react-native-mapbox-navigation.

ahmedelsayed11 avatar ahmedelsayed11 commented on June 5, 2024

First in gradle.wrapper.properties change distributionUrl to https\://services.gradle.org/distributions/gradle-6.9-all.zip
And don't forger to request user permission in App.js or the app entry.
And don't forget to add in android/buid.gradle
maven { url 'https://api.mapbox.com/downloads/v2/releases/maven' authentication { basic(BasicAuthentication) } credentials { username = "mapbox" password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: "" } }

from react-native-mapbox-navigation.

Wilfrid3 avatar Wilfrid3 commented on June 5, 2024

Yes I have fixed the problem by check permission in android if simulate is false.

Where are you check permission? in APP.js? I need help please

from react-native-mapbox-navigation.

SERCHAT avatar SERCHAT commented on June 5, 2024

I have the same issue. I open android studio and check for that error is related with fusion location. I give the required permission ACCESS_FINE_LOCATION and enable it from app settings and then open the app and app crashes. Can anyone help us ? Thank you ....

from react-native-mapbox-navigation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.