Select to view content in your preferred language

Esri JSAPI 3.x iOS 13 and iPadOS Support

2333
15
10-16-2019 03:51 PM
StefanSchweigert
Emerging Contributor

Hi there,

I was looking for information relating to support for Safari within iOS 13 and iPadOS for the Esri JSAPI 3.30 release but couldn't find any. We've noticed some issues with map interactions around drawing, creating new features, measurements, and others that worked in iOS 12, but no longer in 13.

Thanks, Stefan

Tags (2)
15 Replies
AnneFitz
Esri Regular Contributor

Hi Kenneth,

Could you share the code where you are setting touch/click events on your FeatureLayer?

Thanks,

Anne

0 Kudos
SageVogt
Emerging Contributor

Hi Anne, I work with Kenny. We are still experiencing click issues on iPadOS with 3.32. The issue occurs with any click / touch event on the map itself. Behaviors are that no event is fired from the map. Double clicking does trigger a single-click event. 

0 Kudos
AnneFitz
Esri Regular Contributor

Could you please share the code where you are experiencing these issues? We tested the map.on("click", ... event on this simple app (https://codepen.io/annefitz/pen/eYJgZwg ) using an iPad running iPadOS and could not reproduce the issue.

0 Kudos
SageVogt
Emerging Contributor

Hey again, Anne! So, I don't believe the problem is with our code, but rather with our custom esri build we're loading. Everything works when we load from the CDN, but our custom build seems to be missing some package that enables healthy touch functionality on iPadOS. Can you think of any specific packages we should try including in our build?

0 Kudos
LloydHeberlie
Regular Contributor

Hello Sage,

How are you creating your custom build of 3x? Are you using the Web Optimizer (https://jso.arcgis.com), here's the help https://developers.arcgis.com/javascript/3/jshelp/inside_web_optimizer.html. There's also doc on using Bower https://developers.arcgis.com/javascript/3/jshelp/inside_bower_custom_builds.html.

0 Kudos
SageVogt
Emerging Contributor

I am also having this issue on all iPadOS (iOS 13^) devices with Safari. With 3.32, I can now double click on the map to sort of mimic a single click. The issue is specific to the map.on("click" functionality for me. Suggestions? 

0 Kudos