cordova-plugin-background-geolocation-example icon indicating copy to clipboard operation
cordova-plugin-background-geolocation-example copied to clipboard

App crashes on Android after installing the apk

Open japasanto opened this issue 8 years ago • 0 comments

I had the same issue referred on this link. So to resolve the issue i did what klaus-donnert did,and also went here to download the latest plugin.... below is my xml file:

<preference name="phonegap-version" value="cli-6.4.0" /> 
<plugin name="cordova-plugin-mauron85-background-geolocation" spec="^2.2.5">
        <variable name="ALWAYS_USAGE_DESCRIPTION" value="This app requires background tracking enabled to calculate the distance between you and Ecocompub partners" /> 
</plugin>

Next step was to test the app on my android, so after uploading the zip on phonegap.build, i read the qr code as usual, and .... the app crashed! it opens for a few seconds, but then closes...if i simply don´t use the plugin, the app runs well...does anybody experienced this problem?, i´m completely stuck.

Regards

japasanto avatar Jan 25 '17 16:01 japasanto