react-native-google-places-autocomplete
react-native-google-places-autocomplete copied to clipboard
How to limit access to API key
How can I limit the access to the API key to only be used from my app? Is it even possible?
If I understand it correctly, the key used is for the JavaScript SDK so the native fingerprint / bundleId of the app is not used. But the app is neither hosted on a server with a fixed referrer. Is it possible to limit access to the api key?
This library does not support restricted API keys from Google
Would have to switch to using the native iOS and Android SDK's which would open up the ability to limit to bundle ID & SHA-1 cert