-
Notifications
You must be signed in to change notification settings - Fork 359
feat: add support for expo-audio
#3126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
SDK Size
|
khushal87
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving it. Just take care of the expo-audio bug shared on slack
Done, as discussed offline. Thanks for the detailed review ! |
# Conflicts: # package/expo-package/package.json
|
🎉 This PR is included in version 7.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎯 Goal
This PR adds support for the
expo-audiolibrary. The reason why we need to do this now is the fact that inexpo-avis going to be completely removed startingExpo 54and is now not supported at all for more recent versions ofExpo.However, since we support versions
>=51.0.0in the SDK, this made it impossible to:expo-audio(it's unavailable in51and is very early beta in52)expo-av(it's going to be completely gone in the near future and is likely very unstable on53as well)Expoversion to53in V8 because it's too big of a jumpSo, we have to support both for a while.
I played around with this quite a bit today and managed to resolve everything through adapters and interfacing. For now, the APIs we use from
expo-avare deemed the default ones so that I don't have to do a bunch of UI changes too. The imperative approach was also taken forexpo-audio(not using their hooks at all) in order to make this possible. We can ditchexpo-avcompletely onceExpo 53becomes baseline for our SDK.🛠 Implementation details
🎨 UI Changes
iOS
Android
🧪 Testing
☑️ Checklist
developbranch