"Missing Command Error" for getMap
See original GitHub issueI’ve been looking up and down reading about this problem but none of the fixes seemed to solve my problem even though I’ve went from downgrading the version to upgrading to beta2.
I’m using Ionic2 to build an app that focuses on GoogleMaps functionality and the problem is that the map doesn’t get rendered at all. API_KEY for android and ios is provided, i`ve used their example and it doesn’t work and the error that I get is “Missing Command Error” when googlemaps plugin calls getMap. I ran the app in the browser, ran it in the simulator, even on a real device and the result was the same 😦
The error i am getting is here. As far as I can tell this isn’t a problem with Ionic or Cordova but might be a change in the google maps api.
Sorry if this is a reposting of a problem but I’ve been trying to solve it for the past 2 days with no luck what-so-ever and it’s becoming really annoying.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
I have no idea what those proxies are for.
Managed to fixed it. So while scouring the internet for a solution I came across a stack overflow post that said that running
ionic run browser
instead ofionic server
should load the cordova plugin and everything should work. I guess the emphasis on should was bigger than I thought.I think this should be in the documentation that the plugin will only work on a mobile device simulated (yes it works in the simulator as well) or real and that you have to have API enabled for Android not the Javascript one (that was also a problem).
Thank you so much for the patience and guidance. Much appreciated.
@aszharite were you able to resolve this? I’m having a similar issue.