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 force-pushed the richard/react-native-example branch from f944e44 to e276081 Compare October 25, 2024 16:13
@twitchard twitchard force-pushed the richard/react-native-example branch from e276081 to cb8d37a Compare October 25, 2024 16:19
@twitchard twitchard force-pushed the richard/react-native-example branch from 40bca60 to 13b250e Compare November 1, 2024 18:26
@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 force-pushed the richard/react-native-example branch from 9b4eb91 to 27d1ce0 Compare November 19, 2024 19:19
@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