mauron85 / cordova-plugin-background-geolocation-example

51 stars 54 forks source link

App crashes on Android after installing the apk #5

Open japasanto opened 7 years ago

japasanto commented 7 years ago

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