GeoFencing Sample app

995
6
Jump to solution
09-30-2018 10:13 PM
KrishV
by
Occasional Contributor III

Hi,

I tried using GeoFencing app which is available at arcgis-appstudio-samples/Geo-Fencing at v3.1 · Esri/arcgis-appstudio-samples · GitHub and I found that status doesn't change when I move In and Out of the fence. Is there any issue with the sample? Much appreciate your help on this.

Thanks,

Krish

0 Kudos
1 Solution

Accepted Solutions
ErwinSoekianto
Esri Regular Contributor

Krish, 

I just tested the GeoFencing sample and it is working for me, see below images. Is this only happening on certain devices?

Thank you,

Erwin

View solution in original post

6 Replies
ErwinSoekianto
Esri Regular Contributor

Krish, 

I just tested the GeoFencing sample and it is working for me, see below images. Is this only happening on certain devices?

Thank you,

Erwin

KrishV
by
Occasional Contributor III

Hi Erwin Soekianto‌,

Thanks for your response. I'm using App Studio Player in Iphone 7 Plus. Status doesn't change when I move inside the fence or move outside the fence.

I have uploaded the code which I have modified. Can you please let me know where I'm doing wrong.

Thanks,

Krish

0 Kudos
ErwinSoekianto
Esri Regular Contributor

My test was done on iPhone 8 (iOS 12). It's weird that it should work on yours. 

0 Kudos
KrishV
by
Occasional Contributor III

Hi Erwin,

Any suggestions how to proceed.?

Thanks,

Krish

0 Kudos
ErwinSoekianto
Esri Regular Contributor

Did you try going out of the "fence" (polygon) a little bit further out? Maybe its the GPS accuracy.  

0 Kudos
KrishV
by
Occasional Contributor III

Hi Erwin,

I replaced the service and it works perfectly! 

Thanks,

Krish

0 Kudos