I am following PlacePickerAPI
The issue is to place picker opens and closes suddenly. I have found one of the answers on StackOverflow and also done as below :
Enabled Places API in Google console.
I have added API key in AndroidManifest file as below :
Is PlacePicker is deprecated? If yes, What might be the solution for this issue? Is there any support provided for Google Place Picker in Kotlin?
What might be the issue? Thanks.
The Place Picker is deprecated as of January 2019, This feature is turned of on July 2019 and will no longer be available after this date for Android and iOS. The main reason was due the new pricing model of the Places API.
For more information check this: https://developers.google.com/android/reference/com/google/android/gms/location/places/ui/PlacePicker
You can check alternative here: https://developers.google.com/places/android-sdk/client-migration
You can get demo for New Places SDK from here: https://github.com/nihas/NewGooglePlacesAutocomplete