You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @rtchagas I follow the steps in kotlin. But don´t work.
I have config the API for Android with package name app and SHA-1 debug.
Also so i have Apis key for maps, for only the 3 apis: Static, Geocoding, Places.
So in your manifest sample you don´t have permision list like:
"uses-permission android:name="android.permission.INTERNET"
"uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
"uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
"uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"
"uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"
In yor meta tag, the value "key_google_apis_android" is for API key Android. NO FOR API MAPS, like key_google_apis_maps.
//meta-data//
android:name="com.google.android.geo.API_KEY"
android:value="@string/key_google_apis_android"/>
i suppost here should be "key_google_apis_maps" no android API.
/////////////////////////////////////////////////////////////////////////////////////////
And in the grade build of your sample. Yo don't put the the dependency
// PING Place Picker
implementation 'com.github.rtchagas:pingplacepicker:2.0.+'
there is dependencies {
// Places library
implementation 'com.google.android.libraries.places:places:2.0.0'
but no // PING Place Picker dependency.
And when start the project, This close when i make click in the button Ping!
The text was updated successfully, but these errors were encountered:
I should disagree with you. The steps are working fine.
I actually run the sample project before each release.
We don't need to manually add the permissions to the sample manifest. The permissions are added automatically by the dependencies that PING currently depends on.
If you check the merged manifest file at sample/build/intermediates/merged_manifests/debug/AndroidManifest.xml
you can see the permissions there.
The sample is refering to the Android API key in the metadata.
Ok thanks @rtchagas for explain it. But now I continue trying for days and now get numbers like: 3° 45' 54" S, 73° 15' 20" E. and NO GET the Address Name when select the location.
But jut one time appeared the nearby places and so i select any Nearby place like location , show the name address of nearby place. Just appeared nearby place, one time.
My API ANDROID is good, restricted with my app (package name, and sha-1 debug)
and the API MAPS is good (geocodng, place, maps static) you can check in the screenshot bellow.
Also I put config.xml in values folder like that:
<bool name="enable_nearby_search">true</bool>
<!-- 0.002 USD per each (2.00 USD per 1000) -->
<bool name="show_confirmation_photo">true</bool>
<!-- 0.007 USD per each (7.00 USD per 1000) -->
<bool name="show_confirmation_map">true</bool>
<!-- If true, the map will automatically center (pan) to
the selected marker -->
<bool name="auto_center_on_marker_click">false</bool>
but How enable it? or this enable automatically?
which is the problem? Help me friend I need ping place picker. Thanks in advanced
Hello @rtchagas I follow the steps in kotlin. But don´t work.
I have config the API for Android with package name app and SHA-1 debug.
Also so i have Apis key for maps, for only the 3 apis: Static, Geocoding, Places.
So in your manifest sample you don´t have permision list like:
"uses-permission android:name="android.permission.INTERNET"
"uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
"uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
"uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"
"uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"
In yor meta tag, the value "key_google_apis_android" is for API key Android. NO FOR API MAPS, like key_google_apis_maps.
//meta-data//
android:name="com.google.android.geo.API_KEY"
android:value="@string/key_google_apis_android"/>
i suppost here should be "key_google_apis_maps" no android API.
/////////////////////////////////////////////////////////////////////////////////////////
And in the grade build of your sample. Yo don't put the the dependency
there is dependencies {
// Places library
implementation 'com.google.android.libraries.places:places:2.0.0'
but no // PING Place Picker dependency.
And when start the project, This close when i make click in the button Ping!
The text was updated successfully, but these errors were encountered: