Skip to content

Clean project cordova 11, only gray background no map loaded inside div #2917

Open

Description

@DirkTeulings

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

  • question
  • any problem or bug report

OS: (check one with "x")

  • Android
  • iOS
  • Browser

cordova information: (run $> cordova plugin list)
cordova version 11.0.0
android platform 10.1.2

cordova-androidx-build 1.0.4 "cordova-androidx-build"
cordova-plugin-googlemaps 2.8.0-20200709-2008 "cordova-plugin-googlemaps"

Current behavior:
When new project is created via the hello world page:
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.6.0/hello-world/README.md
You get initially:
image

Then when i found out that you need to install plugin via:
cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps/tree/multiple_maps

And follow the hello world page you get and nothing more.
image

Expected behavior:
a functional map when following the hello world page and no error's in a clean project

Related code, data or error log (please format your code or data):
No related code, data or logging to be found:
image

Activity

  1. fradali commented on Feb 14, 2023

    @fradali

    I'm trying to run the plugin with Android@11 but i couldn't do it , i tested many branches without any luck ..

  2. mcastets commented on Feb 15, 2023

    @mcastets

    Hi @fradali, we use this plugin in production in our app and we are maintaining it (only bug fixes though).

    You can try it out by adding it (current tag is 2.7.1.4):

    cordova plugin add git+https://github.com/4sh/squashed-cordova-plugin-googlemaps.git#2.7.1.4
    

    We have tested it against iOS and several Android devices. In addition, we squashed all history to a single commit to improve download time (divided by 30) when installing the plugin.

  3. fradali commented on Feb 15, 2023

    @fradali

    @mcastets Thanks a lot
    The map is working fine without any issues with cordova 11 , tested on Android device (android 13).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions