-
Notifications
You must be signed in to change notification settings - Fork 919
Description
I'm submitting a ...
- question
- any problem or bug report
- feature request
If you choose 'problem or bug report', please select OS:
- Android
- iOS
cordova information: (run $> cordova plugin list)
com.googlemaps.ios 3.8.0 "Google Maps SDK for iOS"
cordova-androidx-build 1.0.4 "cordova-androidx-build"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-googlemaps 2.8.0-20200701-2202 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.2.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"
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": "^5.27.0",
"@ionic-native/google-maps": "^5.5.0",Current behavior:
If you hide the map with the map.setDiv() method through the Ionic lifecycle methods ionViewWillLeave it works the first time. But the second time it can't hide the map.
To reproduce in the repository you need to go to "Next page" and back two times. The second time the error occurs. In the browser platform the error occurs on the first call.
Expected behavior:
Should hide the map without errors.
Screen capture or video record:
Related code, data or error log (please format your code or data):
Repository: https://github.com/longinius/ionic-native-maps-error
The person who share your project files on Github (or other git repository) is in faster lane than other people.
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.
Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.
Giving much information, you are waiting time is less.
Thank you for your cooperation.
