cordova-plugin-dialogs icon indicating copy to clipboard operation
cordova-plugin-dialogs copied to clipboard

All audio comes out of the earpiece instead when notifications are used

Open aspdev91 opened this issue 5 years ago • 0 comments

Bug Report

Problem

When I use javascript code from this package, all the audio including music in the WKWebView outputs audio through the earpiece. The volume is really low. I tried setting all audio to come out of the main speaker using this audio plugin, but the notification beeps no longer are outputted.

https://github.com/neohelden/cordova-plugin-audiotoggle

What is expected to happen?

Notification beeps come out from the speaker.

What does actually happen?

Low volume sounds and audio coming out from the earpiece.

Information

Using latest release

Command or Code

navigator.notification.beep(2);

Environment, Platform, Device

iOS 13.7 WKWebView

Version information

What are relevant versions you are using? Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins: 10.0.0 , iOS platform 6.1.1 Other Frameworks: Ionic Framework and CLI version: No Framework

Checklist

  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

aspdev91 avatar Sep 24 '20 02:09 aspdev91