Select to view content in your preferred language

Experience Builder Crashing with iOS Devices

1573
7
02-23-2024 11:18 AM
Labels (2)
TravisColeHC
Occasional Contributor

Has anyone been having issues with iOS devices and Experience Builder? We transitioned our main County map to Experience Builder last October and quickly received a bunch of complaints that it was buggy and crashing. Trying with my available devices of an Android Phone and Windows Desktop we had/have no issues. We finally had an internal user contact us and figured out it was specific to iOS devices. We did more testing with old and new devices with old iOS versions and the newest and experienced issues with our application crashing. Sometimes it would crash every single time the application was accessed. Sometimes it took a bit of clicking on different features or turning widgets off and on. However, it was persistent and would eventually crash and reload.

We have been working with ESRI on a solution. They have mostly pointed to some old bugs about iOS memory limitations. We were using AGOL for this, but recently upgraded our Enterprise to 11.2 and tried some new Experience Builder applications on there and have had the same crashing issues. When testing I have noticed the applications load very slowly on iOS. I can access it multiple times and zoom in, click on a feature, reload, and do it again before the iOS device even loads the first time.

The error we usually get if we can capture it says "This webpage reloaded because a problem occurred". We have had times where the app just didn't load and it says "Load Failed". A lot of times the map just crashes and reloads back to the splash screen.

I have found a number of other posts, but no real solutions if anything has fixed the issues or helped. We did eventually simplify our mobile version of the application and use hosted feature services in AGOL. This mostly mitigated the issues, but it is still present and will crash when taxed with several layers on and selecting a feature.

7 Replies
AlejandroMari1
Frequent Contributor

Hello, we are experiencing the exact same problem. The application randomly reloads. Only happens on iOS devices, other devices are fine. Seems behavior you described and showed in your video. Seems to happen particularly when zooming to features.

Have you found a solution? Did Esri support say anything else? We had a case open with Esri support last year but they were not able to reproduce the problem on their end.

Our environment:

ExB Developer Edition 1.14

JS API: 4.29

ArcGIS Enterprise: 10.9.1

JacquesBrodard
Occasional Contributor

Hello!  Is there a solution for this problem ?

we don't know what to do with all the bugs

We use ExB 1.14

0 Kudos
AlejandroMari1
Frequent Contributor

No solution afaik. We have an open case with Esri and they are looking into it, but no workarounds so far.

0 Kudos
GetThereMapping
Emerging Contributor

Having similar experience...  

0 Kudos
AlejandroMari1
Frequent Contributor

Esri support said that this is bug. This is the information they provided. No ETA for resolution yet:

Defect Type: Bug
Defect Number: BUG-000169078
Synopsis: When opening maps and apps in a mobile browser on iOS devices, the browser randomly refreshes after interacting with the map.
Explanation: iOS is very sensitive to memory and CPU usage, these are constantly being measured by the operating system. When the operating system determines too much pressure on the device's resources, it can trigger a browser tab to restart. Each release we try to identify and improve specific areas of the API that improve efficiency and reduce the chances of this happening.
Reproducible environments: JavaScript API 4.30 (ArcGIS Dashboards and Experience Builder) iOS (various versions and device models)
Reproducible Device Models and iOS Versions:
iPhone 13 Pro - iOS 17.4.1
iPhone 13 Pro - iOS 17.5.1
iPhone 12 mini - iOS 17.4.1
iPhone 12 mini - iOS 17.5.1
iPhone 13 Pro Max - iOS 17.5.1
iPhone 14 - iOS 16.0.1
Workaround: Limit the number of layers. Where possible, slow down the pace of panning and zooming when doing it over extended periods of time. Be aware and shutdown backgrounded apps, they are a hidden consumer of memory and CPU.

 

Alejandro

 

0 Kudos
TravisColeHC
Occasional Contributor

We have had to implement a bunch of workarounds to fix this issue. We are currently using mostly hosted features in the mobile version. This seems to have helped with the issue. It can still be crashed if a lot of layers are turned on and interacting with many different things, but not like it originally did. We have a separate mobile version web map that has to be maintained along with the desktop version.

 

However we have since had similar things happen in other applications like dashboards. There doesn't seem to be a rhyme or reason that we can pinpoint. We have another more simple application that works just fine on all mobile devices. We tested down to only having a single layer and almost no widgets and the application I originally posted about would crash.

 

It does seem to be memory related, but I don't know how to justify some of the suggestions we got like basically use small data sets and don't really put much on the application, which isn't a solution we could live with.

0 Kudos
SATrafficGIS
New Contributor

I have experienced this as well.  I added a web scene as a map in Experience Builder and noticed that Iphones would fail when zooming in or selecting a feature on the map (low resolution - setting).  I disabled the 3d portion for smaller screens and tablets on Experience Builder.  Taking away the web scene has made the Experience Builder App stable for me.  I kept the 3d tools and web scene enabled on desktop as a work around.    

0 Kudos