LucJosin / on_audio_query

Flutter Plugin used to query audios/songs infos [title, artist, album, etc..] from device storage.
https://pub.dev/packages/on_audio_query
44 stars 35 forks source link

An issue with the on_audio_query plugin #147

Open AbhilashTitus opened 7 months ago

AbhilashTitus commented 7 months ago

Plugin Issue:

The error "java.lang.IllegalStateException: Reply already submitted" suggests the plugin is trying to send a response (success or error) multiple times.

Solutions:

If you authored the plugin: Check the querySongs method in AudioQuery.kt (line 67). Ensure result.success() or result.error() is called only once based on the outcome.

waqadArshad commented 7 months ago

@AbhilashTitus you found a solution?

AbhilashTitus commented 7 months ago

No bro,

AbhilashTitus commented 7 months ago

Also the audio files are not fetching from the local device's storage. I don't know what to do.