generated from capacitor-community/.github
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
Describe the bug
on iPad, no sound when calling play(). same code works on web: chrome, safari
To Reproduce
Steps to reproduce the behavior:
- install the plugin according to the doc
- put the audio file to assets/sounds and ios/App/App/sounds
- call NativeAudio.preload() in component init method
- call NativeAudio.play() in a button click event
- ng b and npx cap sync
- run on iPad in the xcode
Expected behavior
play the audio and hear the sound. but no sound, the following log print in the xcode console log:
To Native -> NativeAudio play 55630075
music or other software play audio has sound on this iPad
Screenshots
no
Desktop (please complete the following information):
- OS: Mac os
- chrome, safari
- Version 14.0 (23A344)
Smartphone (please complete the following information):
- Device: iPad air 5th gen
- OS: iPad OS 17.0.3
- capacitorjs build to app
- Version 5.0
Additional context
same code works on Mac, chrome and safari
Metadata
Metadata
Assignees
Labels
No labels