react-native-google-places-autocomplete icon indicating copy to clipboard operation
react-native-google-places-autocomplete copied to clipboard

How to use restricted api key?

Open RaviDhakadDoodle opened this issue 3 years ago • 4 comments

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

RaviDhakadDoodle avatar May 31 '22 12:05 RaviDhakadDoodle

I am experiencing the same problem

PaoloSalta avatar Jun 13 '22 12:06 PaoloSalta

you cannot use restricted api key with this library

arcollector avatar Jul 11 '22 20:07 arcollector

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

natalie-zamani avatar Aug 23 '22 17:08 natalie-zamani

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

ARIPRASATH4664 avatar Oct 18 '23 09:10 ARIPRASATH4664