Hello All,
I am trying to implement a Geo fence to control the execution of some checklists and I am using the exemple in the Forum.
https://www.b4x.com/android/forum/t...ing-a-region-in-the-background.84767/#content
I have copied the GeoFenceService and used all the subs as stated in the example. I alwys get a message in the log saying "Geofence added:false"
IF I run the example all goes well and I get : Geofence added: true
I am guessing it has something to do with permissions as Android asks me if I want to allow the App to access locations and with the example I get three options :
Always
Only when the App is running
Never
With my App, I never ger the Always option.
And another thing, if I uninstall the example, change the Application Label and the the name in the package, i get the "Geofence added:false"
even when allowing the permisisons.
Can someone help, please !?
Thanks
I am trying to implement a Geo fence to control the execution of some checklists and I am using the exemple in the Forum.
https://www.b4x.com/android/forum/t...ing-a-region-in-the-background.84767/#content
I have copied the GeoFenceService and used all the subs as stated in the example. I alwys get a message in the log saying "Geofence added:false"
IF I run the example all goes well and I get : Geofence added: true
I am guessing it has something to do with permissions as Android asks me if I want to allow the App to access locations and with the example I get three options :
Always
Only when the App is running
Never
With my App, I never ger the Always option.
And another thing, if I uninstall the example, change the Application Label and the the name in the package, i get the "Geofence added:false"
even when allowing the permisisons.
Can someone help, please !?
Thanks