Hey do you have an issue with the react-native-mapbox plugin? if yes, did you have the problem curl: (22) The requested URL returned error: 401 Unauthorized ? if yes again, please follow the steps below, hopefully it can solve your problem :
IOS : https://docs.mapbox.com/ios/maps/guides/install/#configure-credentials
Android : https://docs.mapbox.com/android/maps/guides/install/#configure-credentials
if you have done everything correctly ensure that the download progress runs smoothly, but I have a problem with IOS devices, if you don't know how to save your .netrc follow these steps:
To create .netrc file do next
Fire up Terminal
1. cd ~ (go to the home directory)
2. touch .netrc (create file)
3. open .netrc (open .netrc)
4. Set required data.
5. Save
.netrc file should be like this
scripts:
machine api.mapbox.com
mapbox login
password <secret_key_created_from_your_mapbox_account>
reference : https://stackoverflow.com/questions/66200786/how-do-you-create-a-netrc-file
Tidak ada komentar:
Posting Komentar