Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

@mauron85/cordova-plugin-background-geolocation

$
0
0

@TomasMoskala wrote:

Hi,
I installed background-geolocation and cannot build the app in Android studio anymore

npm install @mauron85/cordova-plugin-background-geolocation
npm install @ionic-native/background-geolocation
ionic cap sync

Android studio
\android\capacitor-cordova-android-plugins\src\main\java\com\evgenii\jsevaluator\JsEvaluator.java:4: error: package android.support.annotation does not exist
\android\capacitor-cordova-android-plugins\src\main\java\com\marianhello\bgloc\BackgroundGeolocationFacade.java:17: error: package android.support.v4.content does not exist
and many more.

I also installed
npm install cordova-plugin-geolocation
npm install @ionic-native/geolocation
beofre that and it worked fine but not in the background.
What did I forget about?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



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