After I submitted my app to play store I noticed that map is not shown, I also noticed this problem is some how common; I tried all possible solutions but none of them have worked for me, the blank map is always displayed after I install/update my app, in some cases I managed to display map in release-apk, I still face the same proplem after I download my app from play store, notice that when map is displayed in release version, it does not display in debug version; some of these solutions are
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="@string/google_maps_key"/>
and
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key" />
I placed both tags inside application tag and outside application tag in manifest file, still not working.
I used SHA1 key that was generated by android studio and the another one generated me using file.keystore
, still not working, I tired different api keys for debug and release apk in google_map_api.xml
still not working; I don't know what else I should try.
thanks in advance