I have created a Beta version as a test of my Demo on google store.
I have generated a signed APK using android-studio. After testing the debugg version seccessfuly, now I am testing the release one from google store.
I have used this way according to this tutorial to use both keys : android-automatically-choose-debug-release-maps-v2-api-key
Manifest :
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="${mapApiKeyValue}" />
In Gradle :
buildTypes {
debug {
manifestPlaceholders = [ mapApiKeyValue:"GHjaSyAjlyp3O831lgaonHMXsd-_DpQ3002xxxxx"]
}
release {
manifestPlaceholders = [ mapApiKeyValue:"AIzaSyAuMGDLr2HeuRed4JA0CrdYYdZRjyyyyy"]
}
}
It works for me but if I use fingerprint / using my package-name and SHA1, so the map can not be displayed on the activity
is there any other configuration ?