How to add Geo-fence-plugin?


#1

Hi IONIC users,

I am unable to add Geofence plugin. How to use that functionality?

Thanks.


Is it possible to create geofencing in ionic app
#2

You can try by it:



#3

Hmm.just now I found it. Anyways Thank you. Started working on that :smile:


#4

@mhartington @nicraboy @brandyshea I installed Corodva-Geofence-plugin.Can you tell me How to write code for that? Iam not able to find proper links. Please help me.

Thanks.


#5

@motiurion attached two links with code examples. The first link he posted has an example project on github at the end of it: https://github.com/cowbell/ionic-geofence

Try to implement it based on these examples and if you can’t get it to work then post your code for help.


#6

Hi @brandyshea

The link you provided is related to Leaflet-Map. But Whatever the methods available in plugin I am not able to bind to Google Map. Can you Provide sample example using Google Maps and Methods(IONIC Geo-fence Plugin).Please Help me.

I implemented using Google API code. for ex: when user in particular region or circle it is showing alert(Your in search Area),When user getting away from circle it is showing alert(Your not in search area).

Thanks.