ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

White screen on iOS 12.2 #202

Closed fakerLinXiao closed 5 years ago

fakerLinXiao commented 5 years ago

I'm submitting a ... (check one with "x")

If you choose 'problem or bug report', please select OS: (check one with "x")

cordova information: (run $> cordova plugin list)

com.googlemaps.ios 2.7.0 "Google Maps SDK for iOS"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-googlemaps 2.3.8 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 3.1.2 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

"@ionic-native/core": "4.18.0",
"@ionic-native/google-maps": "^4.7.0",

Current behavior:

White screen on iOS 12.2 device.

Screen capture or video record:

iOS iOS 10 3

ios 12 2

wf9a5m75 commented 5 years ago

cordova-plugin-googlemaps 2.3.8 is old. Please use the latest version. I tested on iOS 12.2 yesterday, but no problem.

fakerLinXiao commented 5 years ago

Hi, @wf9a5m75 Thank you for your replay.

I use the latest version cordova-plugin-googlemaps 2.5.3, but occur new issue: camera is a frame, the map outside the camera is not displayed. Like screenshot:

image

fakerLinXiao commented 5 years ago

All right. I try the version cordova-plugin-googlemaps 2.5.2, it's work fine.

dogei48 commented 5 years ago

I have the same problem but i do not resolve yet Simulator Screen Shot - iPhone X - 2019-04-30 at 14 19 14 ios 12.2

no problem in browser: browser

"@ionic-native/core": "^5.0.0", "@ionic-native/google-maps": "^5.0.0-beta.27",

cordova-plugin-device 2.0.2 "Device" cordova-plugin-googlemaps 2.6.2 "cordova-plugin-googlemaps" cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.0.1 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist"

please help me :-)

battika commented 5 years ago

I had the same problem with webview 4.0.1 for some reason it does not work with googlemaps for me, but I am still on Ionic 3.

Can you try with "cordova-plugin-ionic-webview": "^2.4.1" ? It already has the IOS 12.2 bug fix in it...

Itokoyamato commented 5 years ago

For those still having issues with iOS 12.2, the following worked for us:

document.body.style.transform = 'rotateZ(0deg)';

Seems like using transform forces some sort of hardware update