Select to view content in your preferred language

Arabic App Name Issue

353
2
Jump to solution
01-21-2026 10:09 AM
YazeezNasrullah
New Contributor

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: iPhone18,2; devmode) تطبيقي | MyApp/2.3.3" (at character 58)
ArcGISMaps-Flutter/200.8 (ios 26.2: iPhone18,2; devmode) مدينتي | MyCity/2.3.3
^

#0 _extension#21.result.<anonymous closure> (package:arcgis_maps/src/core_interoperability/future_conversion.dart:58:9)
#1 new Result (package:async/src/result/result.dart:65:40)
#2 _extension#21.result (package:arcgis_maps/src/core_interoperability/future_conversion.dart:52:12)
#3 _FutureManager.registerArcGISFuture.<anonymous closure> (package:arcgis_maps/src/core_interoperability/future_conversion.dart:105:35)
<asynchronous suspension>
#4 _PickLocationPageState._initMap (package:my_app_app/Features/mapPage/pick_location_page.dart:29:20)
<asynchronous suspension>
flutter: [E] 20:11:24.231319 Unhandled Loadable ArcGISMap load error: ArcGISException: code=22; FormatException: Invalid HTTP header field value: "ArcGISMaps-Flutter/200.8 (ios 26.2: iPhone18,2; devmode) تطبيقي | MyApp/2.3.3" (at character 58)
ArcGISMaps-Flutter/200.8 (ios 26.2: iPhone18,2; devmode) تطبيقي | MyApp/2.3.3


This is package:my_app_app/Features/mapPage/pick_location_page.dart:29:20

final auth = await TokenCredential.create(
   uri: Uri.parse(MAP_URL),
   username: USERNAME,
   password: PASSWORD,
   tokenExpirationInterval: 60,
);

Dart version: 3.10.7
Flutter version: 3.38.7

0 Kudos
1 Solution
2 Replies
JenMerritt
Esri Contributor

The above is the only real solution at this time. It may be feasible to offer a means to only customize the app name - rather than needing to set/override the entire user-agent, if this is something that may be useful. We'd also be interested for any other users to comment on this thread if this is a limitation you face.

0 Kudos