BlogWork
About
moon indicating dark mode
sun indicating light mode

How to enable background Audio Play in iOS React Native

May 27, 2021


  1. Open ios/{APP_NAME}/Info.plist.

  2. Add

<plist>
<dict>
...
...
...
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
</dict>
</plist>
  1. Press r on the metro terminal

Voila!

Edit on githubTweet

With 💗 by Aleem Isiaka.
Software Engineer >>> Computer && Machines | Learner && Writer