bramus / bramus/react-native-maps-directions

Api key restricted to android apps with enabled directions api does not work.

Open
#158 6 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

I have api key restricted to android apps, and enabled maps and directions api, and maps are working but directions not with "ReactNativeJS: MapViewDirections Error: Error on GMAPS route request: This IP, site or mobile application is not authorized to use this API key. Request received from IP address xx.xxx.xxx.xxx, with empty referer" error. I tried with key that does not have restrictions and it works. So if someone knows how to get it work but with restrictions it would be great. Thank you.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the route request with an Android-restricted key and the enabled Maps and Directions APIs, comparing it with the unrestricted-key behavior described in the issue. Investigate how the React Native directions request is authorized; done when directions work with Android application restrictions while maps continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
api, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.