Hello,
I'm trying to use this library with Compose Resources. It correctly works on Android. But when I pass the same resource on iOS, I get this error:
[Basic-Sound Audio] ERROR: load:failure: kotlin.IllegalStateException: load:The path provided was invalid
Here is how I'm calling the library:
val resource = Res.getUri("files/$sound.mp3")
Audio(Platform.appContext(), resource, autoPlay = true)
Platform.appContext is just Unit on iOS
Hello,
I'm trying to use this library with Compose Resources. It correctly works on Android. But when I pass the same resource on iOS, I get this error:
[Basic-Sound Audio] ERROR: load:failure: kotlin.IllegalStateException: load:The path provided was invalidHere is how I'm calling the library:
Platform.appContextis justUniton iOS