Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS : Conflict with SystemSound.play(SystemSoundType.click) #76

Open
john990 opened this issue Sep 9, 2022 · 0 comments
Open

iOS : Conflict with SystemSound.play(SystemSoundType.click) #76

john990 opened this issue Sep 9, 2022 · 0 comments

Comments

@john990
Copy link

john990 commented Sep 9, 2022

Hi, Vibration doesn't work when used with SystemSound, works fine when used alone.

Not Work:

SystemSound.play(SystemSoundType.click);
Vibration.vibrate(pattern: [10, 12, 10, 12], intensities: [1, 100]);

Work fine:

Vibration.vibrate(pattern: [10, 12, 10, 12], intensities: [1, 100]);

flutter doctor:

[✓] Flutter (Channel stable, 3.0.0, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
[✓] VS Code (version 1.66.0)
[✓] Connected device (4 available)
@john990 john990 changed the title iOS : Conflict with notebook iOS : Conflict with SystemSound.play(SystemSoundType.click) Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant