I have Flutter assets downloaded as Deferred Components. How do I access them via the AssetPackManager in Kotlin?
I have assets I'm downloading into my Flutter app. The pubspec.yaml includes:
deferred-components:
- name: arBlock11
assets:
- assets/unity/ch1/1/
- assets/unity/ch1/2/
- assets/unity/ch1/3/
I am trying to get the paths to these files in Kotlin (outside of Flutter) using:
val assetPackPath = assetPackManager!!.getPackLocation("arBlock11")
The assetPackManager exists and I'm 100% sure the Deferred Component has downloaded. But I assetPackPath above is...