Open paladinghub opened 1 month ago
when i run the pub.dev-> Example,it has the same issue.Give me your help,thanks
When i used another computer(Windows 11 professional edition) run the demo,bug information changed:【Error:flutter/shell/common/shell.cc(1055) the xyz.luan/audioplayers/events channel sent a message from native..But app has no crash. i guess the bug is related to the version of windows.the previous crash occurred on windows home edition.
Is there anyone who can help me fix the bug? Thank you very much
Checklist
Current bug behaviour
when i used audioplayers 6.1.0 on windows11, some bugs reported and app crashed occured. when DeviceFileSource is loaded, it reported:Unhandled Exception: UnimplementedError: Event Method does not exist audio.onCurrentPosition. when back to last page,it reported:Unhandled Exception: Bad state: No element In addition, the play, pause, and other buttons can work normally. When returning to the previous page, the console repeatedly printed BUG information, which caused the APP crash
Expected behaviour
1:load DeviceFileSource will be ok 2: back to last page will be ok
Steps to reproduce
flutter run
on the code sampleCode sample
Code sample
```dart import 'package:flutter/material.dart'; import 'package:audioplayers/audioplayers.dart'; class AudioPlayersPage extends StatefulWidget { const AudioPlayersPage({super.key}); @override StateAffected platforms
Windows
Platform details
platform2:windows 11 23H2,operation system version:22631.4169
AudioPlayers Version
6.1.0
Build mode
release
Audio Files/URLs/Sources
No response
Screenshots
No response
Logs
Output of: flutter doctor -v