{"id":19522536,"url":"https://github.com/lintangwisesa/react_native_mapbox","last_synced_at":"2026-03-03T23:32:38.795Z","repository":{"id":121864136,"uuid":"170617186","full_name":"LintangWisesa/React_Native_Mapbox","owner":"LintangWisesa","description":"⚛️ React Native 0.58.4 \u0026 🌏 Mapbox 6.1.3","archived":false,"fork":false,"pushed_at":"2019-02-14T04:55:34.000Z","size":352,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-26T09:35:18.817Z","etag":null,"topics":["mapbox","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LintangWisesa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-14T02:56:53.000Z","updated_at":"2019-06-13T06:16:34.000Z","dependencies_parsed_at":"2023-04-13T08:17:39.354Z","dependency_job_id":null,"html_url":"https://github.com/LintangWisesa/React_Native_Mapbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LintangWisesa/React_Native_Mapbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FReact_Native_Mapbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FReact_Native_Mapbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FReact_Native_Mapbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FReact_Native_Mapbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LintangWisesa","download_url":"https://codeload.github.com/LintangWisesa/React_Native_Mapbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FReact_Native_Mapbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30065823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mapbox","react-native"],"created_at":"2024-11-11T00:39:30.080Z","updated_at":"2026-03-03T23:32:38.778Z","avatar_url":"https://github.com/LintangWisesa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"1. Install Mapbox package for React Native\n    ```bash\n        $ npm i @mapbox/react-native-mapbox-gl\n    ```\n\n2. Go to __*yourProject/android/build.gradle*__\n    ```java\n    allprojects {\n        repositories {\n            jcenter()\n            maven { url \"$rootDir/../node_modules/react-native/android\" }\n            maven { url \"https://jitpack.io\" }\n            maven { url \"https://maven.google.com\" }\n        }\n    }\n    ```\n\n3. Go to __*yourProject/android/app/build.gradle*__\n    ```java\n    dependencies {\n        compile (project(':mapbox-react-native-mapbox-gl')) {\n            compile ('com.squareup.okhttp3:okhttp:3.6.0') {\n                force = true\n            }\n        }\n    }\n    ```\n\n4. Go to __*yourProject/android/settings.gradle*__\n    ```java\n    include ':mapbox-react-native-mapbox-gl'\n    project(':mapbox-react-native-mapbox-gl').projectDir = new File(rootProject.projectDir, '../node_modules/@mapbox/react-native-mapbox-gl/android/rctmgl')\n    ```\n\n5. Go to __*yourProject/android/app/src/main/java/com/yourProject/MainApplication.java*__\n\n    insert after ```import com.facebook.soloader.SoLoader```:\n    ```java\n    import com.mapbox.rctmgl.RCTMGLPackage;\n    ```\n\n    insert inside ```getPackages()``` after ```new MainReactPackage(),```\n    ```java\n    new RCTMGLPackage()\n    ```\n\n6. Sign up to [mapbox.com](https://www.mapbox.com/) \u0026 get your access token!\n    \n    ![token](./token.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flintangwisesa%2Freact_native_mapbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flintangwisesa%2Freact_native_mapbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flintangwisesa%2Freact_native_mapbox/lists"}