OutSystems / cordova-plugin-geofence

Apache License 2.0
0 stars 10 forks source link

is it possible ? #3

Open bigbossmaher opened 7 years ago

bigbossmaher commented 7 years ago

i made an android application for Parkings in my country. i added this plugin to my app to add a feature that the user can be notified when he is close to the parking and he is asked to tell us how much the parking is full ( 0 % / 25 % / 50 % etccc )

when i tried the plugin with a small raduis ( 50 meters for exemple ) in geofence ,i noticed that it not too relible and no working every time . so i'm trying to make a solution of this please tell me if it is possible or not . i will add geofences with app with 100 meters raduis. and i will modify the TransitionReceiver.java to make some tasks before the sending the notification to the user ==> i will check the distance between the the parking ( Geofence coords ) and the the current position if it is less then 50 meters so send the notification if not make nothing.

with this solution i will be sure that the notifications will appear only when the distance betwen geofences and current position is 50 meters or less . can you please it can work or not ?

Chuckytuh commented 7 years ago

Hi @bigbossmaher the problem of using geofences for that application is that the resolution may not by that high. Please do check the oficial documentation for Android and iOS regarding geofences.

FYI https://stackoverflow.com/a/27132396

bigbossmaher commented 7 years ago

do you have any suggestion to reselve this issue?

bigbossmaher commented 7 years ago

what do you mean by Works with the Application closed; in readme.md