-
ArcGISMapView on Android: jank (frame drops) when scrolling a Flutter list over the map, 3-4x lower frame rate on a mid-range phone (Hybrid Composition). Can the composition mode be chosen?
Summary On Android, scrolling a plain Flutter ListView that sits on top of an ArcGISMapView (for example in a bottom sheet) runs at a much lower frame rate (visible jank) than the identical screen with the map removed. The map is idle while the list scrolls. In a minimal project the Flutter frame rate during the scroll…
-
Which classes in com.arcgismaps must R8 keep? Can the SDK's -keep class com.arcgismaps.** { *; } be narrowed safely?
We use ArcGIS Maps SDK for Kotlin 300.1.0 with AGP 9.4.0 and R8 full mode. The SDK's consumer rule -keep class com.arcgismaps.** { *; } keeps the whole SDK. In our release build, the R8 Configuration Analyzer shows that it blocks about 40% of all app code from shrinking, optimization and obfuscation. Google Play's DEX…
-
Kotlin Maps SDK: replace -keep class com.arcgismaps.** { *; } with targeted R8 keep rules
The ArcGIS Maps SDK for Kotlin AAR ships this consumer keep rule (line 1 of proguard.txt, version 300.1.0): -keep class com.arcgismaps.** { *; } The rule keeps every class, field and method in the SDK. R8 can't shrink, optimize or obfuscate any of it, even the parts of the API that the app never uses. Why this matters now:…
-
Android app crashes with SIGSEGV when using formatting tags in TextSymbol.Text
I am developing an Android application using ArcGIS Maps SDK for .NET 300.1.0. I have isolated a native crash that occurs when formatting tags are used in TextSymbol.Text. The crash is a native crash inside ArcGIS Runtime: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) fault addr 0x400019198 backtrace: #00 ...…
-
React Native / Expo Support for ArcGIS Maps SDKs
Hi, Esri currently provides ArcGIS Maps SDKs for Swift, Kotlin and Flutter, but there is no official React Native SDK. As an experienced React Native developer with a geospatial background, I’ve been exploring this gap by building a community-maintained project called <strong>expo-arcgis-maps-sdk</strong> using Expo…
-
Esri.ArcGISRuntime version 300.0.0 - SceneView renders XYZ tiles very small
Seeing this on WinUI and on .NET MAUI Android: map tiles rendered with SceneView are displayed a lot smaller than the same map tiles rendered with MapView, at approximately the same resolution. Smaller to the point of being unreadable in some cases. See the attached screenshots for an example. Same location, same…
-
Esri.ArcGISRuntime.Maui version 300.0.0 - SceneView fails to display 3D terrain after first use
This one is really easy to reproduce, in an emulator and on a real device. .NET MAUI app, .NET 10, latest runtime with SceneView, loading an ArcGISTiledElevationSource terrain source from https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer - first SceneView works fine, shows 3D…
-
Esri.ArcGISRuntime.Maui version 300.0.0 hangs when used in .NET MAUI Android app
I recently began using MapView inside my .NET MAUI Android app on .NET 10. The functionality I use is fairly straightforward: 1. A base map using a custom ImageTiledLayer implementation 2. Icons and polylines using various symbols and graphics In the hang scenario, my phone is offline and the screen is turned off. I am…
-
[Android] ObjectDisposedException in AndroidCompassProvider tearing down MAUI app
EDIT: not all Android users experience it, and it doesn't happen on every startup, it occurs once in a while Hi, this exception is from a MAUI 10.0.70 app using ArcGIS Maps SDK 300.0.0. Many of our Android users experience this one, and it happens at app startup. Well before any IWindowManagerInvoker is expected to be…
-
Rotating API Keys
Hello: Wondering if folks out there have switched over to "rotating API keys" for their MAUI/iOS/Android applications, especially for any public-facing applications? Are you asking users to sign in to AGOL (for public-facing applications, I couldn't imagine this being likely)? Or perhaps, you have a 'subscription service'…
-
IOAuthAuthorizeHandler Throws "Invalid PKCE exception" even though the token request succeeds
Hi, I'm calling OAuthUserCredential.CreateAsync() in a try / catch block. This call gets routed to my own implementation of OAuthAuthorizeHandler.AuthorizeAsync(). From the authorizeUri parameter of AuthorizeAsync(), I can see the SDK passed in a "code_challenge" hash string. But since I don't know the verifier, I have to…
-
Arabic App Name Issue
I'm having a problem when the app name contains Arabic letters, and I can't change it to just English letters; it has to contain both Arabic and English letters. Is there a solution to this problem? [log] ArcGISException: code=22; FormatException: Invalid HTTP header field value: "ArcGISMaps-Flutter/200.8 (ios 26.2:…
-
background maps not showing on older android systems.
as the subject suggests i have a problem on the app i have made with the backgroundmaps not showing on older models. The background maps comes from a group on an agol organisation https://danmarksdata.maps.arcgis.com/home/group.html?sortField=modified&sortOrder=desc&id=1a2896d741ac4fc19da7f1b13aa5f82d#content. i use http…
-
Distribution with Lite license
In the developer documentation, it says that … Your free Lite level license string is obtained from the ArcGIS Location Platform site (sign in required). … and that A Lite license string includes unlimited production deployments. (https://developers.arcgis.com/flutter/license-and-deployment/use-a-license-in-your-app/) Does…
-
Issue with Styling Vector Basemaps for offline use
I used the ExportVectorTiles method to create an offline vector tile package. I'm having an issue with a few of the styles and certain fonts. Despite my machine having the corresponding font (as verified manually from the style json), no text is displayed unless I manually modify the font to something generic like Arial…
-
Map Freeze after MAUI ShareFileRequest on Samsung
Minimum reproducible repo: https://gitlab.com/pclark3/arcgisruntime-maui-freeze Device Model: SM-T738U (Galaxy Tab S7 FE 5G) Device Android Version: 14 Samsung One UI Version: 6.1 After using Share.Default.RequestAsync on a Samsung tablet, the MapView becomes frozen. There is a similar post to this issue but the workaround…
-
Ownership Based Access control check fails for admins and layer owners
Editing/deleting features as an admin or layer owner on layers with OBAC fails when using the 200.5/6/7 .NET SDK. I have tested with the JS API and it works fine there. When trying to delete the feature an error is thrown. Here is a screenshot of the issue recreated in the sample app:
-
ArcGISCredential.fromJson() throws exception "Null check operator used on a null value"
Hi All, I am trying to add the credentials via ArcGISEnvironment.authenticationManager.arcGISCredentialStore.addForUri() I have logged into the AGOL via WebView and after successful login. I am trying to add the credentials. I tried following, final credentialMap = { "token": token, "userId": username, "expiration":…
-
Cannot add integer attribute to a feature
When I try to add feature with integer attribute that is not null I get following error [ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: ArcGISException: code=3002; Geodatabase data type mismatch.; restriction_permanent has an incorrect value. Encountered on feature with ID of -9223372036854775808.…
-
Issue with IdentifyGraphicsOverlayAsync and FeatureReduction on Unclustered Graphics
Hi, I've encountered an issue when using IdentifyGraphicsOverlayAsync on a GraphicsOverlay with FeatureReduction enabled. When tapping on a clustered item, the method correctly returns an AggregateGeoElement, which I can then use with GetGeoElementsAsync to retrieve the individual graphics. However, when tapping on a…
-
Take a Screenshot of the map LARGER than what's rendered
Hello, I'm currently working with the Esri ArcGIS Maps SDK for .NET in a .NET MAUI application. I need to export an image of the map, and ideally, this image should not be limited to just the visible area on the screen. At the moment, I'm using the following code: await _mapView.ExportImageAsync(); However, this approach…
-
Feature layers are missing visualization attributes when stored and loaded from a geodatabase
We are using Geodatabase and GeodatabaseSyncTask classes from the SDK to download and synchronize feature layers. In the ArcGIS Online portal, we have defined the visualization of the feature layers we use (color, for instance). When the app is started with no internet connectivity, we load the feature layers from the…
-
Android NDK version to use
Installation instructions in pub.dev says setting Android NDK to 25.2.9519653, and in turn sample app uses 27.0.12077973. What version is preferable? Any essential difference?
-
Invalid argument: UTF8 contains invalid characters
I developed an application using Maui. When opening a shapefile, it prompts with the error "Invalid argument: UTF8 contains invalid characters". After research, I found that there are field names in the shapefile that are in Chinese. How can I solve this problem? Is there a setting for encoding in ArcGIS Runtime? Another…
-
MapView control on Android takes all tapings including from controls above MapView
Hi, I have noticed that sometimes on Android MAUI MapView control takes all tapings including from controls above MapView. I have tried to play with InputTransparent property (which is by default is False), and no matter what value I set, behavior is the same. It is easy to test on community sample "Create mobile…