iosfluttersdkhere-apiheremaps-android-sdk

How to set external storage or set a custom path to download maps in OS 10 and OS 11 on Android?


How to set external storage or set a custom path to download maps in OS 10 and OS 11 on Android?

I'm using this function with Flutter

SDKOptions sdkOptions = SDKOptions .withAccessKeySecretAndCachePathCacheSizeAndPersistentMapPath( sKey, sSecret, externalPath, ConfigurationSingleton.instance.cacheSizeBytes, externalPath);

where "externalPath" is the custom path external or internal


Solution

  • I could found the problem, I need to declare or create the SDKOptions and set it before to use the mapview, I mean at the startup