ionic capacitor google maps code example
Example 1: ionic capacitor platform web
if (Capacitor.platform !== 'web') {
// TODO
}
Example 2: how to add capacitor in ionic
cd myApp
ionic integrations enable capacitor
if (Capacitor.platform !== 'web') {
// TODO
}
cd myApp
ionic integrations enable capacitor