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.
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
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