i made android app uses google maps api display map.
when run android studio works fine. after publish on play store , download there maps show grey screens.
i registered key on google development console both debug sha-1 key, got through command:
keytool -list -v -keystore "%userprofile%.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
and release sha-1 key got command:
keytool -list -v -keystore [my\keystore\path] -alias [releasealias] -storepass [storepass] -keypass [keypass]
i've unzipped release apk , checked command:
keytool -printcert -file cert.rsa
and shows same sha-1 key release key above.
am still getting sha-1 key release incorrectly? there way , verify it?
edit: found problem. top reply in android sha1 release keystore not working google maps said. there 2 google_maps_api.xml files, 1 in debug , 1 in release , android studio showed debug one. manually editing release xml add key fixe it.