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

Cordova Plugin via Ionic Vue to iOS

$
0
0

I’m an absolute beginner in using Ionic and I am trying to build an app utilizing geofencing.

I used the Capacitor instructions to add cordova-plugin-geofence and @ionic-native/geofence to my projects, successfully built an iOS version, but when I press the button to create a geofence in the running app I get the following console warnings:

[warn] - Native: tried calling Geofence.addOrUpdate, but the Geofence plugin is not installed.
[warn] - Install the Geofence plugin: 'ionic cordova plugin add cordova-plugin-geofence'

Of course running the suggested installation command won’t work, since the project is using Capacitor. Is there something to do to make the app recognize the regular npm installation? Is the Cordova plugin simply outdated (the last commit happened 4 years ago)? Or could it have something to do with Ionic Vue (and maybe Cordova compatibility)?

6 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



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