You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an alarm app. On ios sound will not start playing when the app is in background and some other app has sound on.
When the app is in background and there is no other app playing sound the sound in my alarm app will start fine.
Works fine on Andrid.
What is expected to happen?
The other app sound should stop and my alarm app sound should start playing.
What does actually happen?
The other app sound continues playing but my alarm app only shows alarm notification.
Information
This is an alarm app. The alarm sound starts fine and sound is working fine all the other time, even when the app is in background and phone is in sleep. But the sound does not start when the app is in backround and some other app is playing some other sound. For example if ios Music app is playing music.
Command or Code
It is difficult to reproduce this as you need to have notification plugin wake up the app at some point in time and then play some audio file in form of alarm sound at the same time as some other app is playing music for example.
Environment, Platform, Device
The issue is only seen on ios, on android it works fine.
Version information
I have tested this on several ios versions and it is same on all of them. Cordova-plugin-media version i am using is 6.1.0 and cordova-ios is 6.2.0
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
The text was updated successfully, but these errors were encountered:
orhan-swe
pushed a commit
to orhan-swe/cordova-plugin-media
that referenced
this issue
Apr 27, 2023
Bug Report
Problem
I have an alarm app. On ios sound will not start playing when the app is in background and some other app has sound on.
When the app is in background and there is no other app playing sound the sound in my alarm app will start fine.
Works fine on Andrid.
What is expected to happen?
The other app sound should stop and my alarm app sound should start playing.
What does actually happen?
The other app sound continues playing but my alarm app only shows alarm notification.
Information
This is an alarm app. The alarm sound starts fine and sound is working fine all the other time, even when the app is in background and phone is in sleep. But the sound does not start when the app is in backround and some other app is playing some other sound. For example if ios Music app is playing music.
Command or Code
It is difficult to reproduce this as you need to have notification plugin wake up the app at some point in time and then play some audio file in form of alarm sound at the same time as some other app is playing music for example.
Environment, Platform, Device
The issue is only seen on ios, on android it works fine.
Version information
I have tested this on several ios versions and it is same on all of them. Cordova-plugin-media version i am using is 6.1.0 and cordova-ios is 6.2.0
Checklist
The text was updated successfully, but these errors were encountered: