-
Notifications
You must be signed in to change notification settings - Fork 44
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
rive-react-native + Expo Go #163
Comments
Hi @lisherwin, we're definitely considering adding better expo support, though no timeline for that as of now. The line in the docs about the RN runtime not having support in Expo was added at a time when it did not work, and Expo did not allow you to add Native modules easily. There are community docs in this issue that mentions some considerations for adding Rive to an Expo app, that you may want to take a look at: #123 Expo allows you to add libraries with custom native code: https://docs.expo.dev/workflow/customizing/#generate-native-projects-with-prebuild Here is an example Rive expo app: https://github.com/lklima/rive-animated-app |
I don't think it's realistic to expect that Rive ever works with Expo Go since it depends on their native SDKs which wouldn't really make sense to have included in Expo Go. It should be possible within the managed workflow (and currently is for iOS, I don't think it works on android though) |
@iway1 It is possible take example of notifee. It depends on native SDKs. So expo has a "config-plugin" for notifee to make it work in managed expo dev env |
@ashuvssut config plugins can allow it to work with expo's managed workflow, but not Expo Go which is what this issue is. A config plugin for the managed workflow doesn't seem to be necessary at the moment on iOS (it already works in the managed workflow for iOS), but maybe it would be helpful for Android? |
Expo Go + Web support with metro would be the premium animation experience really in cross-platform development :D |
I just create an issue, almost a doc on how to make Rive works on web and ios/Android. Also in that example, expo go still works, but the animation won't (Will display a placeholder image) |
Description
I am building an app with Expo Go and I am wondering if
rive-react-native
currently works in an Expo Go app. I've thoroughly read the documentation and I am still unsure. I see that installation steps include updating pods manually, which would not work in Expo Go. Additionally I see a line "The Rive React Native runtime does not have support for Expo at this time" indicating similarly that rive-react-native would not work in an Expo Go app.If this is not yet supported, are there plans to have Rive supported in Expo Go apps? Is there a timeline for this?
TYIA
Provide a Repro
Not Available. Just that I am unable to
pod install
for an Expo Go app.Expected behavior
Would love for rive-react-native to work in Expo Go!
Screenshots
Device & Versions (please complete the following information)
Additional context
The text was updated successfully, but these errors were encountered: