apache / apache/cordova-plugin-dialogs

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

Open
#147 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
294
Forks
352
PR merge metrics
No merged PRs in 30d

Description

# 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.