Google maps blank in production

Please provide the following:

  1. SDK Version:39.0.2
  2. Platforms(Android/iOS/web/all):Android

Maps work fine in development but after building apk it just shows the default map and ignores all the attributes passed to mapview

<MapView style={styles.mapStyle} 



          latitude: 37.78825,

          longitude: -122.4324,

          latitudeDelta: 0.0922,

          longitudeDelta: 0.0421,




          coordinate={{latitude: 37.78825,

          longitude: -122.4324}}







map during production

Hm… that’s odd. You may want to check the android logs and maybe there’s some useful error messages there (run adb logcat)

If you open the published experience in the Expo app (from your profile tab), does it work as expected?

Thanks, after two days of trial and error I found that it was the custom marker causing the issue, saw this error msg “uncaught error: error while updating property icon of a view managed by airmapmaker” in published experience, but there was no error of any kind in standalone apk, after removing, it worked fine again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.