Select to view content in your preferred language

Maps not working in release App

747
2
09-19-2022 03:47 AM
NishchithSP
New Contributor

I am developing Flutter app which requires usage of ESRI maps. Since ESRI don't provide and in house package support to Flutter apps I have created new Flutter package using existing native SDK of esri (Android/iOS). 

When I run the app in debug mode I can see esri maps. But wen I make a release build the maps disappear. I am even settings licenseKey for the maps. Still no luck.

Please point out where I am doing mistake. 

0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor

If it's a difference between debug and release, I recommend comparing all the project settings (e.g. optimization, http, capabilities) as all these can impact how apps built in release mode run. Often there are settings which are enabled by default in debug but that you explicitly need to opt into in release mode. 

The following may be useful:

Configure build variants  |  Android Developers

 

0 Kudos
snlasystem
Occasional Contributor

Hello

We have made this plugin for use is originally our app. (also used in other app...)

https://github.com/valentingrigorean/arcgis_maps_flutter

Maybe this do the same same as yours?
Take a look.

regards Jørgen Storlie 

 

0 Kudos