extractAssets

fun extractAssets(applicationContext: Context, assetDir: String, destinationDir: String): Boolean

This function extracts assets from the APK into the app's files directory so that they can be more easily used e.g. we can pass a file: URI to maplibre pointing at the files directory but not into the APK assets directly. There's obviously a storage cost associated with this, so it should only be used when absolutely necessary.