Commit 6f21b8a
committed
Fix: Don't mixWithOthers on ios
Unhandled Exception: 'package:audioplayers_platform_interface/src/api/audio_context_config.dart': Failed assertion: line 136 pos 7: '!(respectSilence && focus == AudioContextConfigFocus.mixWithOthers)': Invalid AudioContextConfig: On iOS it is not possible to set `respectSilence` and `mixWithOthers`. Please create a custom [AudioContextIOS] if the generic flags cannot represent your needs.1 parent e130e2e commit 6f21b8a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments