Closed yagizdo closed 6 months ago
Solved.
The problem was in the connectedDevices.contains(AudioDeviceType.builtInEarpiece) control inside the if-else. Although it is not visible in the emulator, I think it is one of the parameters that come by default in the real device. It was fixed when I removed it from the if else statement.
I check the page when it is first opened on Android devices. Even if no device is connected and BT is turned off, the 'connect' section in the if-else section works. I don't know if it's an Android error or if I'm doing something wrong.
It works fine on iOS, only Android has this problem.
Pubspec :
Audio Progress Controls widget :