How to allow WebView QML Type to permit location sharing inside AppStudio?

350
3
Jump to solution
02-28-2018 08:39 AM
MapEnglish
Occasional Contributor

Hi:

We would like to include a Survey123 web page inside a custom AppStudio app using the AppFramework WebView Type. We would like the "Find My Location" button in the survey to work inside the WebView inside the AppStudio app. Is there a way to make this work? Screenshot is below.

Survey is here:

https://survey123.arcgis.com/share/b01556e032704d4a9ed39fbb060fc356

Thanks,

Matt

0 Kudos
1 Solution

Accepted Solutions
ShobanaSuresh
Esri Contributor

Hi Matt,

I am able to reproduce this issue on iOS using AppStudio Player.

The bug occurs only when using the Survey123 Web Form. This could be a limitation in the current implementation of the Survey123 Web Form. I'll log an internal bug report for investigating this further.

Current location is reported correctly in AppFramework WebView on iOS when I test using "https://developers.arcgis.com/javascript/latest/sample-code/widgets-locate/live/index.html"

cc: ZWang-esristaff

Thanks
Shobana

View solution in original post

0 Kudos
3 Replies
ShobanaSuresh
Esri Contributor

Hi Matt,

I am able to reproduce this issue on iOS using AppStudio Player.

The bug occurs only when using the Survey123 Web Form. This could be a limitation in the current implementation of the Survey123 Web Form. I'll log an internal bug report for investigating this further.

Current location is reported correctly in AppFramework WebView on iOS when I test using "https://developers.arcgis.com/javascript/latest/sample-code/widgets-locate/live/index.html"

cc: ZWang-esristaff

Thanks
Shobana

0 Kudos
MapEnglish
Occasional Contributor

Any update on a fix for this?

Thanks,

Matt

0 Kudos
ShobanaSuresh
Esri Contributor

Hi Matt,

Based on the screen shot you provided, I believe you are testing this on iOS.

I tested this again today and could not reproduce the bug in a custom AppStudio app installed on iPhone 8.

Can you please test again by building your app using AppStudio 3.0? If the bug is still reproducible, would you please let us know the OS version and model of the device you're using?

Thanks

Shobana

0 Kudos