Ionic google maps crashes on android


#1

Hi,

I’m facing some weird issues again.

My app integrating google maps worked fine. But now opening the map make the app crash without any logs.

What is really peculiar is that if in ionic cordova platform rm android then cordova platform add android it will work any numbers of time as long as i don’t recompile le app.

Here is my set up: ionic --version : 4.3.1

cordova platforms : ios : 4.4.0 / android 7.0.1

codova plugin ls :
cordova-custom-config 5.0.2 “cordova-custom-config”
cordova-open-native-settings 1.5.1 “Native settings”
cordova-plugin-actionsheet 2.3.3 “ActionSheet”
cordova-plugin-add-swift-support 1.7.1 “AddSwiftSupport”
cordova-plugin-app-version 0.1.9 “AppVersion”
cordova-plugin-appavailability 0.4.2 “AppAvailability”
cordova-plugin-appcenter-crashes 0.2.0 “App Center Crashes for Cordova”
cordova-plugin-appcenter-shared 0.2.0 “App Center shared code for Cordova”
cordova-plugin-brightness 0.1.5 “Brightness”
cordova-plugin-calendar 5.1.2 “Calendar”
cordova-plugin-camera 4.0.3 “Camera”
cordova-plugin-datepicker 0.9.3 “DatePicker”
cordova-plugin-device 2.0.2 “Device”
cordova-plugin-dialogs 2.0.1 “Notification”
cordova-plugin-file 6.0.1 “File”
cordova-plugin-file-opener2 2.0.19 “File Opener2”
cordova-plugin-geolocation 4.0.1 “Geolocation”
cordova-plugin-googlemaps 2.4.6 “cordova-plugin-googlemaps”
cordova-plugin-http 1.2.0 “SSL Pinning”
cordova-plugin-inappbrowser 3.0.0 “InAppBrowser”
cordova-plugin-ionic-webview 2.2.0 “cordova-plugin-ionic-webview”
cordova-plugin-nativegeocoder 3.1.2 “NativeGeocoder”
cordova-plugin-network-information 2.0.1 “Network Information”
cordova-plugin-splashscreen 5.0.2 “Splashscreen”
cordova-plugin-statusbar 2.4.2 “StatusBar”
cordova-plugin-whitelist 1.3.3 “Whitelist”
cordova-plugin-x-socialsharing 5.4.1 “SocialSharing”
cordova-sqlite-storage 2.5.1 “Cordova sqlite storage plugin”
cordova-support-google-services 1.1.0 “cordova-support-google-services”
cordova.plugins.diagnostic 4.0.10 “Diagnostic”
es6-promise-plugin 4.2.2 “Promise”
ionic-plugin-keyboard 2.2.1 “Keyboard”
phonegap-plugin-multidex 1.0.0 “Multidex”
phonegap-plugin-push 2.2.3 “PushPlugin”
uk.co.workingedge.phonegap.plugin.launchnavigator 4.1.3 “Launch Navigator”

thanks


#2

Did you manage to get this fixed? I’m having a similar issue at the moment…


#3

Hey. I did, thought I can’t remember how to be honest.
I think it was linked to some extend to version compatibility between the plugin, it’s Android dependencies and ionic depencies versions.

It might also have been linked to the fact that the plugin was written in Japanese and their is a weird interaction between your app name and the plugin. Try to change use the short attribute for you app name in config.xml