Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48989

Ionic5 Google Maps with Capacitor

$
0
0

I am upgrading our app to Ionic5 and Google Maps is a key component.
In Ionic5 manner I tried to stick with Capacitor as it it recommended. However,
running Google Maps in the labs / simulator I get in the browser console:

[GoogleMaps]You need to execute "$> ionic cordova run browser"."$> ionic serve" is not supported.

Dependency as in the package.json

"@ionic-native/google-maps": "^5.0.0-beta.27",

It suggests to fall back to cordova. I thought capacitor was the future and I should stay away from Cordova? Or is a hybrid cordova & capacitor mode possible? If so, how?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 48989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>