Restoring State after Background expo-av

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): all
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I have an application that is utilizing react navigation and expo-av. It allows user to go to a page and choose and audio file that they wish to play. When the background the app the audio file continues to play (as intended). However when I make the app “inactive” react navigation un-mounts the scree behind the scenes which also unomounts the Audio Player Component. Because this component and screen are unloaded when I re-open the app their state is lost. I save and store the state of what was opened and where without issue. The problem is I don’t see a way to reconnect to the now orphaned audio instance.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.