Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13686

Doesn't continue playing previous audio

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-media
    • Labels:
      None

      Description

      I'm using the plugin to play an alert sound when something happens in my app.

      If Spotify (or any other music player) is playing in the background it is stopped to play my alert.
      However when my alert has finished I want Spotify to resume playing.

      I've tried using the release() function, but it doesn't hand back to the previous audio.

      Is there a way of telling it to release to the previous app?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              niallel Niall El-Assaad
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: