Pana-g / real_volume

MIT License
3 stars 6 forks source link

iOS bug #10

Open heshesh2010 opened 9 months ago

heshesh2010 commented 9 months ago

I got app crash on iPhone 14 Pro Max when test on real device

Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <real_volume.VolumeListener 0x282dd85c0> for the key path "outputVolume" from <AVAudioSession 0x283a4d290> because it is not registered as an observer.' First throw call stack: (0x1983cc870 0x1906cbc00 0x19736eba8 0x19736e8e8 0x10ba02a24 0x10ba02338 0x10ba023e4 0x110af4e98 0x110558e08 0x10dd84f50 0x10dd86b34 0x10dd96fec 0x10dd96ba0 0x19831720c 0x198313f18 0x198313668 0x1db6de5ec 0x19a7302b4 0x19a72f8f0 0x1042b0f78 0x1bad66dcc) libc++abi: terminating due to uncaught exception of type NSException

flutter doctor

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.9, on macOS 14.1.1 23B81 darwin-x64, locale en-EG) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.0.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] VS Code (version 1.84.2) [✓] Connected device (3 available) [✓] Network resources

• No issues found!

Pana-g commented 9 months ago

@heshesh2010 Thanks for the feedback I'll have a look at it asap.

Pana-g commented 9 months ago

@heshesh2010 Unfortunately I wasn't able to reproduce this error. Can you please provide a code example on how you use the library?

Pana-g commented 7 months ago

Closing due to inactivity

Roee-Tsur commented 2 months ago

Any updates? I started getting this error. Using 1.0.8

shaharhn commented 1 month ago

Any updates ?

Pana-g commented 2 weeks ago

@Roee-Tsur @shaharhn Can you test with the latest version 1.0.9?