Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map does not load on Android : CordovaGoogleMaps.traceDomTree #2920

Open
2 of 5 tasks
JulesLagadic opened this issue Jan 25, 2023 · 0 comments
Open
2 of 5 tasks

Map does not load on Android : CordovaGoogleMaps.traceDomTree #2920

JulesLagadic opened this issue Jan 25, 2023 · 0 comments

Comments

@JulesLagadic
Copy link

I'm submitting a ...

  • question
  • any problem or bug report

OS:

  • Android
  • iOS
  • Browser

cordova information: (run $> cordova plugin list)

com-badrit-base64 0.2.0 "Base64"
com.adjust.sdk 4.32.0 "Adjust"
com.googlemaps.ios 3.9.0 "Google Maps SDK for iOS"
cordova-custom-config 5.1.1 "cordova-custom-config"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-advanced-http 3.3.1 "Advanced HTTP plugin"
cordova-plugin-android-notch 1.0.0 "AndroidNotch"
cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
cordova-plugin-androidx 3.0.0 "cordova-plugin-androidx"
cordova-plugin-app-review 2.1.4 "AppReviewPlugin"
cordova-plugin-app-version 0.1.14 "AppVersion"
cordova-plugin-brightness 0.1.5 "Brightness"
cordova-plugin-buildinfo 4.0.0 "BuildInfo"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-crop 0.3.1 "CropPlugin"
cordova-plugin-customurlscheme 5.0.1 "Custom URL scheme"
cordova-plugin-device 2.1.0 "Device"
cordova-plugin-email-composer 0.10.1 "EmailComposer"
cordova-plugin-facebook-connect 2.3.0 "Facebook Connect"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-firebase-analytics 4.5.0 "FirebaseAnalyticsPlugin"
cordova-plugin-firebase-authentication 3.6.0 "cordova-plugin-firebase-authentication"
cordova-plugin-firebase-messaging 4.6.1 "FirebaseMessagingPlugin"
cordova-plugin-geolocation 4.1.0 "Geolocation"
cordova-plugin-globalization 1.11.0 "Globalization"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-googleplus 8.5. "Google SignIn"
cordova-plugin-idfa 1.2.0 "cordova-plugin-idfa"
cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview"
cordova-plugin-market 1.2.0 "Market"
cordova-plugin-mixpanel 4.7.2 "Mixpanel"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-sign-in-with-apple 0.1.2 "cordova-plugin-sign-in-with-apple"
cordova-plugin-splashscreen 5.0.4 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-stripe-apple-pay 1.0.0 "Apple Pay with Stripe"
cordova-plugin-stripe-google-pay 0.0.1 "cordova-plugin-stripe-google-pay"
cordova-plugin-whitelist 1.3.5 "Whitelist"
cordova-plugin-x-socialsharing 6.0.4 "SocialSharing"
cordova-support-android-plugin 1.0.2 "cordova-support-android-plugin"
cordova-support-google-services 1.4.1 "cordova-support-google-services"
cordova-universal-links-plugin 1.2.1 "Universal Links Plugin"
cordova.plugins.diagnostic 7.1.1 "Diagnostic"
es6-promise-plugin 4.1.0 "Promise"
ionic-plugin-deeplinks 1.0.22 "Ionic Deeplink Plugin"

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.31.1
@ionic-native/google-maps : ^5.5.0

Current behavior:

On Android, the map does not load (page fully blank, not even the Google logo)

Expected behavior:
Should load normally, it works on iOS

I have the following error :

consolelogs.js:50 Unhandled Promise rejection: Cannot read properties of undefined (reading 'children') ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read properties of undefined (reading 'children')
    at functionName (js_CordovaGoogleMaps-for-android_ios.js:205:33)
    at Array.forEach (<anonymous>)
    at CordovaGoogleMaps.traceDomTree (js_CordovaGoogleMaps-for-android_ios.js:197:53)
    at functionName (js_CordovaGoogleMaps-for-android_ios.js:206:25)
    at Array.forEach (<anonymous>)
    at CordovaGoogleMaps.traceDomTree (js_CordovaGoogleMaps-for-android_ios.js:197:53)
    at functionName (js_CordovaGoogleMaps-for-android_ios.js:206:25)
    at Array.forEach (<anonymous>)
    at CordovaGoogleMaps.traceDomTree (js_CordovaGoogleMaps-for-android_ios.js:197:53)
    at functionName (js_CordovaGoogleMaps-for-android_ios.js:206:25) TypeError: Cannot read properties of undefined (reading 'children')
    at functionName (http://localhost:8100/plugins/cordova-plugin-googlemaps/www/js_CordovaGoogleMaps-for-android_ios.js:205:33)
    at Array.forEach (<anonymous>)
    at CordovaGoogleMaps.traceDomTree (http://localhost:8100/plugins/cordova-plugin-googlemaps/www/js_CordovaGoogleMaps-for-android_ios.js:197:53)
    at functionName (http://localhost:8100/plugins/cordova-plugin-googlemaps/www/js_CordovaGoogleMaps-for-android_ios.js:206:25)
    at Array.forEach (<anonymous>)
    at CordovaGoogleMaps.traceDomTree (http://localhost:8100/plugins/cordova-plugin-googlemaps/www/js_CordovaGoogleMaps-for-android_ios.js:197:53)
    at functionName (http://localhost:8100/plugins/cordova-plugin-googlemaps/www/js_CordovaGoogleMaps-for-android_ios.js:206:25)
    at Array.forEach (<anonymous>)
    at CordovaGoogleMaps.traceDomTree (http://localhost:8100/plugins/cordova-plugin-googlemaps/www/js_CordovaGoogleMaps-for-android_ios.js:197:53)
    at functionName (http://localhost:8100/plugins/cordova-plugin-googlemaps/www/js_CordovaGoogleMaps-for-android_ios.js:206:25)

Capture d’écran 2023-01-25 à 21 06 17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant