^I’m using this package in my expo app. However, I’m finding it very difficult to configure the api keys.
In order to restrict the usage with the api key, I added the “Applications restrictions” for my Android app. I added the app signing certificate (SHA1) from my google play console and the package name (“com.xxx.xxx”) from my app.json. When I did this, the direction on the map stopped showing up. When I decided to display the error in an alert, it said “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.xx, with empty referer”.
As observed in this question above, I’m sure I’m not the only one who faced or has been facing this issue, and if Expo team could clarify how we should configure the api key for both Android and iOS, that would be really great.