Hi
I am using flutter_media_metadata: ^1.0.0+1 and i got error like
Error processing file: G:\Music\01 Never Stop.mp3, Error: Bad state: The BackgroundIsolateBinaryMessenger.instance value is invalid until BackgroundIsolateBinaryMessenger.ensureInitialized is executed.
well the matter is when i use package its fine on main thread but when i use it on other thread and Isolate i get this error,
im solving this problem on other thread because the process for loading is too long and if you have a big archive of music like me, its not good experience to wait and freeze music player, so im glad to hear your solution, by the way here is my code:
Hi I am using
flutter_media_metadata: ^1.0.0+1
and i got error likewell the matter is when i use package its fine on main thread but when i use it on other thread and Isolate i get this error, im solving this problem on other thread because the process for loading is too long and if you have a big archive of music like me, its not good experience to wait and freeze music player, so im glad to hear your solution, by the way here is my code:
thank you all.