Select to view content in your preferred language

Possible bug with ArcGIS API for JavaScript Locate Button dijit failing on iOS devices

5262
11
Jump to solution
02-01-2016 11:24 AM
RyanNosek
Frequent Contributor

We are experiencing an issue in our ArcGIS web apps that use the ArcGIS API for JavaScript's Geolocation Widget (esri/dijit/LocateButton) on iOS devices that cause the webpage to crash and force a page refresh with the following error returned (in Safari): "A problem occurred with the webpage causing it to reload." 

To reproduce the error, simply use the Locate Button, after it zooms in your location, zooming out and/or panning will cause the error. At first we thought it was our apps only, but you can test with Esri's sample here:  http://developers.arcgis.com/javascript/samples/widget_locate/

I am planning to submit this as a bug to Esri, but would like to confirm with the larger community that this is indeed what others are experiencing as well.  Can anyone else confirm this behavior with the Geolocation Widget on their iOS devices?

My guess is that the way Esri's dijit/LocateButton module  was written falls into the category of sites/scripts that are affected by this iOS bug, and that Esri may need to update their code in order to resolve or workaround the iOS issue.  Curious to hear back!

Tags (2)
0 Kudos
11 Replies
AprilChipman
Frequent Contributor

Any idea when version 3.16 will be available?

0 Kudos
RyanNosek
Frequent Contributor

Kelly Hutchins‌ Having similar issue again on iOS for web apps using ArcGIS Online‌ web maps (Story Maps, Web AppBuilder, etc) . Seems to be specifically iOS 10.2.1 and the current release of JSAPI. Occurs on any iOS, regardless of browser.  Related, zoom in and zoom out buttons are also not functioning.  Can any one confirm similar behavior?