-
Notifications
You must be signed in to change notification settings - Fork 274
License Validation Failure
Chris Scott edited this page Oct 29, 2018
·
10 revisions
You failed to follow the setup steps in the README precisely.
Edit your config.xml
<plugin name="cordova-background-geolocation-lt">
+ <variable name="LICENSE" value="YOUR_LICENSE_KEY" />
.
.
.
</plugin>
Remove the plugin with --nosave
switch (VERY IMPORTANT)
$ cordova plugin remove --nosave cordova-background-geolocation-lt
Re-add the plugin
$ cordova plugin add cordova-background-geolocation-lt
Verify your license has been correctly configured checking your AndroidManifest.xml
:
// For cordova-android >= 7.0.0:
$ cat platforms/android/app/src/main/AndroidManifest.xml
// For cordova-android < 7.0.0:
$ cat platforms/android/AndroidManifest.xml
<?xml version='1.0' encoding='utf-8'?>
<manifestpackage="com.your.app">
<application>
+ <meta-data android:name="com.transistorsoft.locationmanager.license" android:value="YOUR_LICENSE_KEY" />
</application>
.
.
.
</manifest>