{"_id":"@abhinavvv13/react-native-mapbox-navigation","_rev":"9-ed90409bc6e0760c2cdeefd4f29c8d52","name":"@abhinavvv13/react-native-mapbox-navigation","dist-tags":{"latest":"1.3.2"},"versions":{"1.1.0":{"name":"@abhinavvv13/react-native-mapbox-navigation","version":"1.1.0","keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"author":{"url":"https://github.com/abhinavvv13","name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca"},"license":"MIT","_id":"@abhinavvv13/react-native-mapbox-navigation@1.1.0","maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"dist":{"shasum":"8a9b8a69af616c24aadf7349d68767552a72a391","tarball":"https://registry.npmjs.org/@abhinavvv13/react-native-mapbox-navigation/-/react-native-mapbox-navigation-1.1.0.tgz","fileCount":64,"integrity":"sha512-lr07A3Js+q7anGvx0z6rkCsoq6vMZNC96veU4LlHyusLj4GQVJHtE1bZAVCsmWjrW2yoX+pSsUfYFRsToyQ7Jw==","signatures":[{"sig":"MEYCIQDRTGYobfzeJieRUdfdO6/iXOUkNHIPjX3c3SGNUKYYSwIhAINiu0NDBl16/A4KJP/sQcAmiK0xo589DH4dBAHz8HpB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138519},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.cjs","types":"./lib/typescript/src/index.d.ts","module":"./lib/module/index.mjs","source":"./src/index.tsx","exports":{".":{"types":"./lib/typescript/src/index.d.ts","import":"./lib/module/index.mjs","require":"./lib/commonjs/index.cjs"}},"gitHead":"49baee509cdbed5619afe77548bde91251583977","private":false,"scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @abhinavvv13/react-native-mapbox-navigation-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinavreddy13","email":"arputta@mun.ca"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.3.0","description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"24.1.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"codegenConfig":{"name":"RNMapboxNavigationViewSpec","type":"components","jsSrcsDir":"src"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.74.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.25.0","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-mapbox-navigation_1.1.0_1749680219681_0.936765588511177","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"view-mixed","version":"0.38.1","languages":"kotlin-objc"}},"1.1.1":{"name":"@abhinavvv13/react-native-mapbox-navigation","version":"1.1.1","keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"author":{"url":"https://github.com/abhinavvv13","name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca"},"license":"MIT","_id":"@abhinavvv13/react-native-mapbox-navigation@1.1.1","maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"dist":{"shasum":"ed270940241fa18a1238ef7314a28b54fc53afd3","tarball":"https://registry.npmjs.org/@abhinavvv13/react-native-mapbox-navigation/-/react-native-mapbox-navigation-1.1.1.tgz","fileCount":65,"integrity":"sha512-PMVLLA6AgfPJZ1I/9Fw/GNIWeQbJWaOFmnN5aHlNryC9yrtzjfa+rvykCyLJqFWbo510JQTHxJXn6isPj6MBaA==","signatures":[{"sig":"MEUCIAK8sl80Sj+k0WsdbUZSCVmiQhqxqnGivbfoL2Y8jVJuAiEAkGoZsDnAc6wET/5A8VW5jVwWLwYlLjjjgCQAOrIevUI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138887},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.cjs","types":"./lib/typescript/src/index.d.ts","module":"./lib/module/index.mjs","source":"./src/index.tsx","exports":{".":{"types":"./lib/typescript/src/index.d.ts","import":"./lib/module/index.mjs","require":"./lib/commonjs/index.cjs"}},"gitHead":"d289c63fff847da192e7211a8762710beceedf04","private":false,"scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @abhinavvv13/react-native-mapbox-navigation-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinavreddy13","email":"arputta@mun.ca"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.3.0","description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"24.1.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"codegenConfig":{"name":"RNMapboxNavigationViewSpec","type":"components","jsSrcsDir":"src"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.74.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.25.0","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-mapbox-navigation_1.1.1_1749702828273_0.6409932189441554","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"view-mixed","version":"0.38.1","languages":"kotlin-objc"}},"1.1.2":{"name":"@abhinavvv13/react-native-mapbox-navigation","version":"1.1.2","keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"author":{"url":"https://github.com/abhinavvv13","name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca"},"license":"MIT","_id":"@abhinavvv13/react-native-mapbox-navigation@1.1.2","maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"dist":{"shasum":"817898ad45043b40b2ea0cb43fc03fb4deacddd2","tarball":"https://registry.npmjs.org/@abhinavvv13/react-native-mapbox-navigation/-/react-native-mapbox-navigation-1.1.2.tgz","fileCount":65,"integrity":"sha512-bDyuax05FGv3X2q+lzol2Ql4FMaOU3kYOLyZ+LjCqLB5gy4IZYYflHugm6X72BZhyEseKaCX11cB7UWlV2p91Q==","signatures":[{"sig":"MEUCIBYLR7kJluiQf4AlWV8pAwo4c3hn38rW+F0y4RAKVf4+AiEAiSFLKR4fOR5vAZE4Pozcipc9nlTWQtJjmHXA/sAN4QQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139778},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.cjs","types":"./lib/typescript/src/index.d.ts","module":"./lib/module/index.mjs","source":"./src/index.tsx","exports":{".":{"types":"./lib/typescript/src/index.d.ts","import":"./lib/module/index.mjs","require":"./lib/commonjs/index.cjs"}},"gitHead":"0ebb22d1510b75ebc624cfc0a1a8556bc5b0504c","private":false,"scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @abhinavvv13/react-native-mapbox-navigation-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinavreddy13","email":"arputta@mun.ca"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.3.0","description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"24.1.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"codegenConfig":{"name":"RNMapboxNavigationViewSpec","type":"components","jsSrcsDir":"src"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.74.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.25.0","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-mapbox-navigation_1.1.2_1749705432586_0.009827161864143674","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"view-mixed","version":"0.38.1","languages":"kotlin-objc"}},"1.1.3":{"name":"@abhinavvv13/react-native-mapbox-navigation","version":"1.1.3","keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"author":{"url":"https://github.com/abhinavvv13","name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca"},"license":"MIT","_id":"@abhinavvv13/react-native-mapbox-navigation@1.1.3","maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"dist":{"shasum":"a94d4fbd9d4756a440e6300ef3a0a729316b60a9","tarball":"https://registry.npmjs.org/@abhinavvv13/react-native-mapbox-navigation/-/react-native-mapbox-navigation-1.1.3.tgz","fileCount":65,"integrity":"sha512-+EaEp141y8Jk1qOC5aBcjFtjaOo/e+uw2b/+iFpwnuifeUx9MuTgQy+xKmEtrn2PiMJUmE+BTkI9uihYsbndXQ==","signatures":[{"sig":"MEUCIQDJ5OWg6TA40Tv2o1n6Y/uyyXGz1h8JjtUgZLaOIq9XNAIgagbkLM4cMvEnBuTLIVzYA8DCi7l8vJfwRzXP3OCXwOI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139778},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.cjs","types":"./lib/typescript/src/index.d.ts","module":"./lib/module/index.mjs","source":"./src/index.tsx","exports":{".":{"types":"./lib/typescript/src/index.d.ts","import":"./lib/module/index.mjs","require":"./lib/commonjs/index.cjs"}},"gitHead":"74c9f19fe35317b116facd92ac9679947beb93a0","private":false,"scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @abhinavvv13/react-native-mapbox-navigation-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinavreddy13","email":"arputta@mun.ca"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.3.0","description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"24.1.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"codegenConfig":{"name":"RNMapboxNavigationViewSpec","type":"components","jsSrcsDir":"src"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.74.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.25.0","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-mapbox-navigation_1.1.3_1749705575178_0.45629761332085383","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"view-mixed","version":"0.38.1","languages":"kotlin-objc"}},"1.2.0":{"name":"@abhinavvv13/react-native-mapbox-navigation","version":"1.2.0","keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"author":{"url":"https://github.com/abhinavvv13","name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca"},"license":"MIT","_id":"@abhinavvv13/react-native-mapbox-navigation@1.2.0","maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"dist":{"shasum":"3dcc7f2f5002e9d27080abf979627269beacc644","tarball":"https://registry.npmjs.org/@abhinavvv13/react-native-mapbox-navigation/-/react-native-mapbox-navigation-1.2.0.tgz","fileCount":65,"integrity":"sha512-cAoiQsqH4zhlaGjHkNifclwBxelfrQvWZB4NlTHPTkw9ERIR92Re8Wa4JWmgdEFC4bPMDwwMaU2IBircROXrSg==","signatures":[{"sig":"MEUCIA2SZ1Dl7xEg1Q9axPGRDoZD7/JPGXCPaQhAAty4ZNC2AiEA1Rh1IKzgSYap06aPaNiE3rKkpWqb37bLqTg6Fc+h33Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145983},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.cjs","types":"./lib/typescript/src/index.d.ts","module":"./lib/module/index.mjs","source":"./src/index.tsx","exports":{".":{"types":"./lib/typescript/src/index.d.ts","import":"./lib/module/index.mjs","require":"./lib/commonjs/index.cjs"}},"gitHead":"3fdb414ba2de5e73c92c69a8b2d9e73f74d0e62a","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @abhinavvv13/react-native-mapbox-navigation-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinavreddy13","email":"arputta@mun.ca"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.3.0","description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"24.1.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"codegenConfig":{"name":"RNMapboxNavigationViewSpec","type":"components","jsSrcsDir":"src"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.74.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.25.0","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-mapbox-navigation_1.2.0_1749797251236_0.8496853044914312","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"view-mixed","version":"0.38.1","languages":"kotlin-objc"}},"1.3.0":{"name":"@abhinavvv13/react-native-mapbox-navigation","version":"1.3.0","keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"author":{"url":"https://github.com/abhinavvv13","name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca"},"license":"MIT","_id":"@abhinavvv13/react-native-mapbox-navigation@1.3.0","maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"dist":{"shasum":"21c753ebbf1a922d943c0414da12215cd880bc54","tarball":"https://registry.npmjs.org/@abhinavvv13/react-native-mapbox-navigation/-/react-native-mapbox-navigation-1.3.0.tgz","fileCount":65,"integrity":"sha512-JkjUP7siFNJsWmbmRDm+sC0InGYHm7Gy5w2yT4uREdn24j8NIOG8EYfW0MJWnBUs98NnNkVc6V3YDZyDt1AO6Q==","signatures":[{"sig":"MEUCIQCIoFw6VrghkwjzCTTk4hR8x9AU53uq5UmFR37Gkn08FgIgaC5Dhk2mJyIcJdJJDoMFCzoMyX7TfIepOpTt3tbjECM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":149252},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.cjs","types":"./lib/typescript/src/index.d.ts","module":"./lib/module/index.mjs","source":"./src/index.tsx","exports":{".":{"types":"./lib/typescript/src/index.d.ts","import":"./lib/module/index.mjs","require":"./lib/commonjs/index.cjs"}},"gitHead":"347afe7dc194d110a9f6242ddcbcddfef4a62c8a","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @abhinavvv13/react-native-mapbox-navigation-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinavreddy13","email":"arputta@mun.ca"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.3.0","description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"24.1.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"codegenConfig":{"name":"RNMapboxNavigationViewSpec","type":"components","jsSrcsDir":"src"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.74.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.25.0","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-mapbox-navigation_1.3.0_1750055628496_0.7471426123744775","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"view-mixed","version":"0.38.1","languages":"kotlin-objc"}},"1.3.1":{"name":"@abhinavvv13/react-native-mapbox-navigation","version":"1.3.1","keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"author":{"url":"https://github.com/abhinavvv13","name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca"},"license":"MIT","_id":"@abhinavvv13/react-native-mapbox-navigation@1.3.1","maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"dist":{"shasum":"698809c7b77217494d267290d5884ccce22daf2d","tarball":"https://registry.npmjs.org/@abhinavvv13/react-native-mapbox-navigation/-/react-native-mapbox-navigation-1.3.1.tgz","fileCount":65,"integrity":"sha512-QKeIyVdAah7lmvE07bc3fglZp5a3hzMq7aoD1anDus41ePBWOR5VqVix3gbIBHA+YhD/WjQREBwvdQh6ApQMEg==","signatures":[{"sig":"MEUCIQCanGnk1YYJkcwyzF3VsSOrXdOS6CraZAZB3g5dukZ7lgIgMxpsKmBk2OUg4fn+p9x+lTiBaGw6zDAqOKM08hlWX4c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":149359},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.cjs","types":"./lib/typescript/src/index.d.ts","module":"./lib/module/index.mjs","source":"./src/index.tsx","exports":{".":{"types":"./lib/typescript/src/index.d.ts","import":"./lib/module/index.mjs","require":"./lib/commonjs/index.cjs"}},"gitHead":"dae3af80d4d7bf764bf1f1874da54e8b96f32197","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace @abhinavvv13/react-native-mapbox-navigation-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinavreddy13","actor":{"name":"abhinavreddy13","type":"user","email":"arputta@mun.ca"},"email":"arputta@mun.ca"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.3.0","description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"24.1.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"codegenConfig":{"name":"RNMapboxNavigationViewSpec","type":"components","jsSrcsDir":"src"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.74.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.25.0","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-mapbox-navigation_1.3.1_1750141847518_0.479646102608863","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"view-mixed","version":"0.38.1","languages":"kotlin-objc"}},"1.3.2":{"name":"@abhinavvv13/react-native-mapbox-navigation","version":"1.3.2","description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","source":"./src/index.tsx","main":"./lib/commonjs/index.cjs","module":"./lib/module/index.mjs","types":"./lib/typescript/src/index.d.ts","exports":{".":{"types":"./lib/typescript/src/index.d.ts","import":"./lib/module/index.mjs","require":"./lib/commonjs/index.cjs"}},"scripts":{"example":"yarn workspace @abhinavvv13/react-native-mapbox-navigation-example","test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","prepare":"bob build","release":"release-it"},"keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"repository":{"type":"git","url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git"},"author":{"name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca","url":"https://github.com/abhinavvv13"},"license":"MIT","bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.5.0","@react-native/eslint-config":"^0.73.1","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^29.5.5","@types/react":"^18.2.44","commitlint":"^17.0.2","del-cli":"^5.1.0","eslint":"^8.51.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest":"^29.7.0","prettier":"^3.0.3","react":"18.2.0","react-native":"0.74.3","react-native-builder-bob":"^0.25.0","release-it":"^15.0.0","turbo":"^1.10.7","typescript":"^5.2.2"},"resolutions":{"@types/react":"^18.2.44"},"peerDependencies":{"react":"*","react-native":"*"},"workspaces":["example"],"packageManager":"yarn@3.6.1","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native","prettier"],"rules":{"react/react-in-jsx-scope":"off","prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json"}]]},"codegenConfig":{"name":"RNMapboxNavigationViewSpec","type":"components","jsSrcsDir":"src"},"create-react-native-library":{"type":"view-mixed","languages":"kotlin-objc","version":"0.38.1"},"_id":"@abhinavvv13/react-native-mapbox-navigation@1.3.2","gitHead":"81763bf538b2edc62ecdf68f3be51ac9496b8bd7","_nodeVersion":"24.1.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-MdlkjES+cSi5R0q6p3plFtpaAwub/UzXZn1yFSEx/llu+xscIQ6gmOBs3kMHLum+aqJshGdAjsrULtmXTQFkSQ==","shasum":"c6cdb10d4e57aef13af9d13fb245c9644a701b98","tarball":"https://registry.npmjs.org/@abhinavvv13/react-native-mapbox-navigation/-/react-native-mapbox-navigation-1.3.2.tgz","fileCount":65,"unpackedSize":149504,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDGrMFAy67l9BtPdTlMD83R9Gz5yQLM+mWfFNz5OnKuhgIhAJ+9BpidCARxtl3Ba1/ewRvvkRcqRbAxuI2iOkj2o/+c"}]},"_npmUser":{"name":"abhinavreddy13","email":"arputta@mun.ca","actor":{"name":"abhinavreddy13","email":"arputta@mun.ca","type":"user"}},"directories":{},"maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-mapbox-navigation_1.3.2_1750323089359_0.31052236485141305"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-11T22:16:59.679Z","modified":"2025-06-19T08:51:29.707Z","1.1.0":"2025-06-11T22:16:59.897Z","1.1.1":"2025-06-12T04:33:48.496Z","1.1.2":"2025-06-12T05:17:12.755Z","1.1.3":"2025-06-12T05:19:35.456Z","1.2.0":"2025-06-13T06:47:31.422Z","1.3.0":"2025-06-16T06:33:48.673Z","1.3.1":"2025-06-17T06:30:47.740Z","1.3.2":"2025-06-19T08:51:29.525Z"},"bugs":{"url":"https://github.com/abhinavvv13/react-native-mapbox-navigation/issues"},"author":{"name":"ABHINAV REDDY PUTTA","email":"arputta@mun.ca","url":"https://github.com/abhinavvv13"},"license":"MIT","homepage":"https://github.com/abhinavvv13/react-native-mapbox-navigation#readme","keywords":["react-native","ios","android","mapbox","carplay","navigation","react-native-mapbox-navigation","carplay-mapbox-navigation"],"repository":{"type":"git","url":"git+https://github.com/abhinavvv13/react-native-mapbox-navigation.git"},"description":"Mapbox React Native SDKs enable interactive maps and real-time, traffic-aware turn-by-turn navigation, dynamically adjusting routes to avoid congestion.","maintainers":[{"name":"abhinavreddy13","email":"arputta@mun.ca"}],"readme":"# @abhinavvv13/react-native-mapbox-navigation\n\nA modified fork of [pawan-pk/react-native-mapbox-navigation](https://github.com/pawan-pk/react-native-mapbox-navigation) with all original features **plus**:\n\n- 🛰️ Customer live location updates  \n- 🔄 Automatic reroute when **destination** or **waypoints** change  \n- 🌐 Dynamic language switching mid-navigation  \n- 🚴 Dynamic travel-mode switching (driving, traffic-aware, walking, cycling)\n- traffic lights display\n\n---\n## Important:\nThe project requires `newArchEnabled=false` on android and `ENV['RCT_NEW_ARCH_ENABLED'] = '0'` on ios. Support for newArch is in-progress\n\n## Installation\n\n### 1. Download package\n\n```sh\n# yarn\nyarn add @abhinavvv13/react-native-mapbox-navigation\n\n# npm\nnpm install @abhinavvv13/react-native-mapbox-navigation\n```\n\n## iOS Specific Instructions\n\n1. Place your secret token in a .netrc file in your OS root directory.\n\n   ```\n   machine api.mapbox.com\n   login mapbox\n   password <INSERT SECRET TOKEN>\n   ```\n\n2. Install pods\n\n   ```\n   cd ios && pod install\n   ```\n\n3. Place your public token in your Xcode project's `Info.plist` and add a `MBXAccessToken` key whose value is your public access token.\n\n4. Add the `UIBackgroundModes` key to `Info.plist` with `audio` and `location` if it is not already present. This will allow your app to deliver audible instructions while it is in the background or the device is locked.\n\n   ```\n   <key>UIBackgroundModes</key>\n   <array>\n     <string>audio</string>\n     <string>location</string>\n   </array>\n   ```\n\n## Android Specific Instructions\n\n1. Place your secret token in your android app's top level `gradle.properties` or `«USER_HOME»/.gradle/gradle.properties` file\n\n   ```\n   MAPBOX_DOWNLOADS_TOKEN=<YOUR_MAPBOX_DOWNLOADS_TOKEN>\n   ```\n\n2. Open up your _project-level_ `build.gradle` file. Declare the Mapbox Downloads API's `releases/maven` endpoint in the _allprojects_ `repositories` block.\n\n   ```gradle\n   allprojects {\n       repositories {\n           maven {\n                 url 'https://api.mapbox.com/downloads/v2/releases/maven'\n                 authentication {\n                     basic(BasicAuthentication)\n                 }\n                 credentials {\n                   // Do not change the username below.\n                   // This should always be `mapbox` (not your username).\n                     username = \"mapbox\"\n                     // Use the secret token you stored in gradle.properties as the password\n                     password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: \"\"\n                 }\n             }\n       }\n   }\n   ```\n\n3. Add Resources<br/>\n   To do so create a new string resource file in your app module `(e.g. app/src/main/res/values/mapbox_access_token.xml)` with your public Mapbox API token:\n\n   ```xml\n   <?xml version=\"1.0\" encoding=\"utf-8\"?>\n    <resources xmlns:tools=\"http://schemas.android.com/tools\">\n        <string name=\"mapbox_access_token\" translatable=\"false\" tools:ignore=\"UnusedResources\">YOUR_MAPBOX_ACCESS_TOKEN</string>\n    </resources>\n   ```\n\n   For more details installation you can read the [Official docs of Mapbox](https://docs.mapbox.com/android/navigation/guides/installation).\n\n## Usage\n\n```js\nimport React, { useState, useEffect } from 'react';\nimport { Button, StyleSheet, Text, View } from 'react-native';\nimport MapboxNavigation from '@abhinavvv13/react-native-mapbox-navigation';\n\nexport default function App(): React.JSX.Element {\n  const [navigating, setNavigating] = useState(false);\n\n  const [waypoints, setWaypoints] = useState([\n    { latitude: 47.541228, longitude: -52.724106 },\n    { latitude: 47.653096, longitude: -52.72541 },\n  ]);\n\n  const [destination, setDestination] = useState({\n    latitude: 47.544934773284886,\n    longitude: -52.71227031729059,\n    title: 'Pickup',\n  });\n\n  const [customerLocation, setCustomerLocation] = useState({\n    latitude: 47.544934773284886,\n    longitude: -52.71227031729059,\n  });\n\n  useEffect(() => {\n    if (!navigating) return;\n    const id = setInterval(() => {\n      setCustomerLocation((prev) => ({\n        latitude: prev.latitude + (Math.random() - 0.5) * 0.0001,\n        longitude: prev.longitude + (Math.random() - 0.5) * 0.0001,\n      }));\n    }, 5000);\n    return () => clearInterval(id);\n  }, [navigating]);\n\n  useEffect(() => {\n    if (!navigating) return;\n    const destTimer = setTimeout(() => {\n      setDestination({\n        latitude: 47.575996906819206,\n        longitude: -52.72219571162997,\n        title: 'New Destination',\n      });\n    }, 20000);\n    return () => clearTimeout(destTimer);\n  }, [navigating]);\n\n  useEffect(() => {\n    if (!navigating) return;\n    const wpTimer = setTimeout(() => {\n      setWaypoints([\n        { latitude: 47.531664, longitude: -52.806148 },\n        { latitude: 47.653096, longitude: -52.72541 },                         \n      ]);\n    }, 30000);\n    return () => clearTimeout(wpTimer);\n  }, [navigating]);\n\n  if (!navigating) {\n    return (\n      <View style={styles.container}>\n        <View style={styles.main}>\n          <Text style={styles.heading}>\n            Hit below button to start navigating\n          </Text>\n          <Button\n            onPress={() => setNavigating(true)}\n            title=\"Start Navigation\"\n          />\n        </View>\n      </View>\n    );\n  }\n\n  return (\n    <View style={styles.container}>\n      <MapboxNavigation\n        startOrigin={{\n          latitude: 47.56433471443351,\n          longitude: -52.72276842173629,\n        }}\n        destination={destination}\n        waypoints={waypoints}\n        customerLocation={customerLocation}\n        travelMode=\"driving-traffic\"\n        style={styles.container}\n        shouldSimulateRoute={true}\n        showCancelButton={true}\n        language=\"en\"\n        distanceUnit=\"metric\"\n        onCancelNavigation={() => setNavigating(false)}\n        onArrive={(pt) => console.log('onArrive', pt)}\n        onError={(err) => console.log('onError', err)}\n      />\n      <View style={styles.coordsOverlay}>\n        <Text>Cust lat: {customerLocation.latitude.toFixed(6)}</Text>\n        <Text>Cust lng: {customerLocation.longitude.toFixed(6)}</Text>\n        <Text>Dest lat: {destination.latitude.toFixed(6)}</Text>\n        <Text>Dest lng: {destination.longitude.toFixed(6)}</Text>\n      </View>\n    </View>\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: { flex: 1 },\n  main: { marginTop: 100 },\n  heading: {\n    fontSize: 24,\n    fontWeight: 'bold',\n    marginBottom: 20,\n    textAlign: 'center',\n  },\n  coordsOverlay: {\n    position: 'absolute',\n    top: 40,\n    left: 20,\n    backgroundColor: 'rgba(255,255,255,0.8)',\n    padding: 8,\n    borderRadius: 4,\n  },\n});\n```\n\n## `MapboxNavigation` Props\n\n- `startOrigin(Required)` (object): The starting point of the navigation. Should contain latitude and longitude keys.\n\n- `destination(Required)` (object): The destination point of the navigation. Should contain latitude and longitude keys. **`Now supports change of coordinates dynamically`**\n\n- `waypoints` (array): The waypoints for navigation points between startOrigin and destination. Should contains array of latitude and longitude keys.\n- `customerLocation` (object): Current customer coordinate to show on the map.\n\n- `style` (StyleObject): Custom styles for the navigation mapview.\n\n- `shouldSimulateRoute` (boolean): [iOS Only] If true, simulates the route for testing purposes. Defaults to `false`.\n\n- `showCancelButton` (boolean): [Android Only] If true, shows a cancel button on the navigation screen. Defaults to `false`.\n\n- `language` (string): The language for the navigation instructions. Defaults to `en`.\n\n- `distanceUnit` ('metric' | 'imperial'): Unit of direction and voice instructions (default is 'imperial')\n\n- `customerLocation` draws a customer annonation at given coordinates. Coordinates can be changed dynamically in JS.\n\n- `onLocationChange`: Function that is called frequently during route navigation. It receives `latitude`, `longitude`, `heading` and `accuracy` as parameters that represent the current location during navigation.\n\n- `onRouteProgressChange`: Function that is called frequently during route navigation. It receives `distanceTraveled`, `durationRemaining`, `fractionTraveled`, and `distanceRemaining` as parameters.\n\n- `onError`: Function that is called whenever an error occurs. It receives a `message` parameter that describes the error that occurred.\n\n- `onCancelNavigation`: Function that is called whenever a user cancels navigation.\n\n- `onArrive`: Function that is called when you arrive at the provided destination.\n\n- `travelMode` ('driving' | 'driving-traffic' | 'walking' | 'cycling'): Specifies the mode of travel to be used for navigation (default is 'driving-traffic'):\n  - 'driving': Standard automobile navigation that does not take live traffic conditions into account.\n  - 'driving-traffic': Automobile navigation that considers current traffic conditions to avoid congestion.\n  - 'walking': Navigation for pedestrians.\n  - 'cycling': Navigation optimized for cyclists.\n\n- `mapStyle`: renders custom mapstyle use mapbox style url generated from mapbox studio\n\n- `onRouteReady`: returns polyline, distance and duriation\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","readmeFilename":"README.md"}