FaridSafi / react-native-google-places-autocomplete

Customizable Google Places autocomplete component for iOS and Android React-Native apps
MIT License
2k stars 853 forks source link

How to use restricted api key? #823

Open RaviDhakadDoodle opened 2 years ago

RaviDhakadDoodle commented 2 years ago

How to use a restricted API key for android and ios.

I have created a restricted API key for both platforms android and iOS but it's not working can you please help me with how to use the restricted API key for both android and iOS. For restriction, I have used the package and SHA1 key for android, and for ios, we have used bundle ID.

Note:- non-restricted API key working fine for both platforms.

Platform

Android iOS

PaoloSalta commented 2 years ago

I am experiencing the same problem

arcollector commented 2 years ago

you cannot use restricted api key with this library

natalie-zamani commented 2 years ago

I was able to get this working using the info in this link: https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/787#issuecomment-1013358580

ARIPRASATH4664 commented 1 year ago

Replied https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/787#issuecomment-1768013200