Skip to content
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

React Native Example Part 1 (ios) #100

Merged
merged 27 commits into from
Nov 22, 2024
Merged

Conversation

twitchard
Copy link
Contributor

@twitchard twitchard commented Oct 25, 2024

This initial PR includes a working ios app in React Native.

I couldn't find a suitable React Native library to do audio recording or playback, for instance expo-av doesn't support streaming (or echo cancellation). So the idea is to include audio handling Swift code in the example that gets the job done (via an expo module). The Swift code isn't comprehensive and doesn't handle e.g. audio device selection, or rarer cases like "the user connects a new audio device halfway through", but the idea is for the Swift code to be simple and readable enough for it to be a good starting place for users on React Native.

Inspired by the code in the (private) swift SDK and our own consumer app module.

I think this is the first public example code we have in Swift, too, so until there's another example (probably around the time we make the Swift SDK public?) this will be the best reference for anybody integrating EVI on ios.

https://www.loom.com/share/a4fbafc33e174cef845c7b1d46c630ed?sid=405503a2-f879-445d-919e-f0c29cbe18e0

@twitchard twitchard changed the title [WIP] React Native example React Native Example Part 1 (ios) Nov 18, 2024
@twitchard twitchard marked this pull request as ready for review November 18, 2024 18:02
@twitchard twitchard merged commit 8b8490b into main Nov 22, 2024
1 check passed
@twitchard twitchard deleted the richard/react-native-example branch November 22, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants