Context: We are downloading basemaps using the ‘GenerateOfflineMapJob’ class from the flutter SDK. Later, while offline, we are loading the maps by setting the loaded map to the mapViewController.arcGISMap setter. It works great with most of the basemaps.
Problem: When trying to load the downloaded Outdoor base map (https://www.arcgis.com/home/item.html?id=2e8a3ccdfd6d42a995b79812b3b0ebc6), it completes download successfully with all package files in the valid state. However, on loading the map, it fails with an exception thrown. The exception is: “ArcGISException: code=18; Internal error.; Not all sources were loaded”. On the error documentation page, it is stated that it is an ArcGIS internal error https://developers.arcgis.com/net/reference/platform-error-codes/.
Once again, the exception is thrown on this one specific (mentioned) basemap. Other basemaps we are downloading and loading are loaded with no problem. Loading the basemap directly, online, is working great.
Can this map be used offline? What is the reason of the SDK failing to load the resources of the map?