laptop and a wrench

Bug

On ArcGIS Runtime SDK for .NET, the Xamarin 100.15 app freezes when multitasking on Samsung's Android 14 physical device.

ArcGIS Runtime SDK for .NET
Bug ID Number BUG-000165254
SubmittedFebruary 21, 2024
Last ModifiedAugust 21, 2024
Applies toArcGIS Runtime SDK for .NET
Version found100.15
Operating SystemAndroid
Operating System VersionN/A
StatusWill Not Be Addressed

Additional Information

Issue will be not be addressed for ArcGIS Runtime SDK for 100.15.x. It is suggested to upgrade to the latest version of ArcGIS Maps SDK for .NET. Use the workaround suggested in this issue to maintain using the 100.15.x version.

Workaround

Suggested workaround is to trigger a redraw of the map. For example following code will trigger a redraw by minimally changing the size of the mapview and then revert it back.

``` protected override void OnResume() { var mv = (MapView)MainPage.FindByName("MyMapView"); mv.Margin = new Thickness(1, 0, 0, 0); EventHandler sizeChanged = null; sizeChanged = (s, e) => { MapView mapView = (MapView)s; mapView.SizeChanged -= sizeChanged; mapView.Margin = new Thickness(); }; mv.SizeChanged += sizeChanged; } ```

Steps to Reproduce

Bug ID: BUG-000165254

Software:

  • ArcGIS Runtime SDK for .NET

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options