Skip to content

License Validation Failure

Chris Scott edited this page Oct 6, 2017 · 10 revisions

License Validation Failure

Step 1

Edit your config.xml

<plugin name="cordova-background-geolocation">
+    <variable name="LICENSE" value="YOUR_LICENSE_KEY" />
    .
    .
    .
</plugin>

Step 2

Remove the plugin with --nosave switch (VERY IMPORTANT)

$ cordova plugin remove cordova-background-geolocation-lt

Step 3

Re-add the plugin

$ cordova plugin add cordova-background-geolocation-lt

Verify your license has been correctly configured checking your AndroidManifeset.xml:

$ 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>