{"id":18909875,"url":"https://github.com/map-ir/mapir-react-native-example","last_synced_at":"2025-07-09T18:32:45.557Z","repository":{"id":44143231,"uuid":"166974350","full_name":"map-ir/Mapir-react-native-example","owner":"map-ir","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-03T09:10:59.000Z","size":212962,"stargazers_count":4,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T06:36:17.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/map-ir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-22T10:25:41.000Z","updated_at":"2021-09-12T13:30:59.000Z","dependencies_parsed_at":"2023-01-23T10:30:08.201Z","dependency_job_id":null,"html_url":"https://github.com/map-ir/Mapir-react-native-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/map-ir/Mapir-react-native-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/map-ir%2FMapir-react-native-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/map-ir%2FMapir-react-native-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/map-ir%2FMapir-react-native-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/map-ir%2FMapir-react-native-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/map-ir","download_url":"https://codeload.github.com/map-ir/Mapir-react-native-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/map-ir%2FMapir-react-native-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502387,"owners_count":23618587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-08T09:35:28.009Z","updated_at":"2025-07-09T18:32:45.490Z","avatar_url":"https://github.com/map-ir.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MapirReatNativeSDK\n[![npm version](https://badge.fury.io/js/mapir-react-native-sdk.svg)](https://www.npmjs.com/package/mapir-react-native-sdk)\n\n\n![Map.ir](https://map.ir/css/images/mapir-logo.png) React Native wrapper for mapbox-gl-js. Expose a bunch of component meant to be simple to use for React Native.\n\n## Get API Key\n🔑 You should first get api key from [Map.ir](https://corp.map.ir/registration/)\n\n## Installation\n\n```\ngit clone https://github.com/map-ir/Mapir-react-native-example.git\ncd Mapir-react-native-example\n```\n\n* Install our dependencies using `npm i`.\n\n## Start React Native Packager\n\nOpen up another tab in your Terminal and run\n```\nnpm start\n```\n\n## Run Android Simulator\n\n* Open up Android Studio and build with gradle\n* Start Android emulator\n* Run `adb reverse tcp:8081 tcp:8081` to foward port to packager(needed for hot reloading, if you're not developing you can skip this step).\n* Run `react-native run-android` from `Mapir-react-native-example` directory\n\n\n**NOTE**\n\nIf the build fails make sure gradle has permission to build from cli\n```\ncd android\nchmod +x gradlew\n```\n\n## Run iOS Simulator\n\nYou can run this with the react-native cli or Xcode\n\n```\nreact-native run-ios\n```\n\n**NOTE**\n\nIf you run into\n\n```\nCommand failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/RNMapboxGLExample.app/Info.plist\nPrint: Entry, \":CFBundleIdentifier\", Does Not Exist\n```\n\nJust run the example from Xcode, it seems to be an [issue](https://github.com/facebook/react-native/issues/14423) with RN.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmap-ir%2Fmapir-react-native-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmap-ir%2Fmapir-react-native-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmap-ir%2Fmapir-react-native-example/lists"}