Cannot interact with the map on Android (v2.2.9 - ionicv1)
See original GitHub issueI’m submitting a … (check one with “x”)
- question
- [X ] any problem or bug report
- feature request
If you choose ‘problem or bug report’, please select OS: (check one with “x”)
- [ X] Android
- iOS
cordova information: (run $> cordova plugin list
)
com.googlemaps.ios 2.6.0 “Google Maps SDK for iOS”
com.telerik.plugins.nativepagetransitions 0.6.5 “Native Page Transitions”
cordova-plugin-camera 2.2.0 “Camera”
cordova-plugin-crosswalk-webview 1.7.2 “Crosswalk WebView Engine”
cordova-plugin-device 1.1.2 “Device”
cordova-plugin-googlemaps 2.2.9 “cordova-plugin-googlemaps”
cordova-plugin-inappbrowser 1.6.1 “InAppBrowser”
cordova-plugin-statusbar 2.4.1 “StatusBar”
ionic-plugin-keyboard 2.2.0 “Keyboard”
Current behavior: I’m using ionic v1. After “plugin.google.maps.Map.getMap(div)” call, map is frozen (i cannot touch neither interact with it). It happens only on android. Map div has a data-tap-disabled=“true” attribute (even I’ve not set it). If I try to call map.setClickable(true) or any other method on plugin, i got the error log below (see attached screenshot)
Expected behavior: On IOS everything is fine, I can interact with the map normally. It should be ok even in Android (it was before last update from previous version)
Related code, data or error log (please format your code or data):
Issue Analytics
- State:
- Created 5 years ago
- Comments:25 (13 by maintainers)
Top GitHub Comments
Hi unfortunately I cannot update right now gradle. I think this is due to old version of Ionic CLI (1.7.16) and cordova-android 5.1.1. I know this is a old environment, but I cannot update it so simply. I should find a way to update them without loosing any functionality as this is a two-years old project based on a lot of other plugins and features which needs this environment.
I’ll do my best to update everything and give you the update. In the meanwhile if you can try this again anyway, I’ll appreciate it.
@wf9a5m75 @eleva I have the same issue and there is no crosswalk in my app. However the maps becomes unresponsive in android version 7.0, maps version 2.2.9 and 2.3.6. It works fine on all other devices. Please help