I was trying to implement the Places API. My code looked like this:
val builder = PlacePicker.IntentBuilder()
startActivityForResult(builder.build(mActivity), PLACE_PICKER_REQUEST)
My maps credentials were correct, but for this call I got
Places API for Android does not seem to be enabled for your app. See https://developers.google.com/places/android/signup for more details.
However, when I tried to enable the "Places API for Android", I got this error.
You do not have sufficient permissions to view this page.
I tried logging out of my accounts, logging in again, incognito mode, Safari & Chrome. Nothing worked so I contacted support, which were extremely fast (thanks guys!)
The reason you are receiving an error when trying to enable the Places for Android API is that it has been deprecated. Places functionality for android will now be covered by having the Places API enabled.
I asked about my implementation and got this reply.
The place picker has also been deprecated. You can install the compatibility library to continue using the Place Picker until the deprecation period ends on July 29th. More about this can be red here: https://developers.google.com/places/android-sdk/client-migration#place_picker
The docs I find online now are a bit confusing, what is deprecated and what isn't? Can anyone point me in the right direction for this kind of functionality?