-
Notifications
You must be signed in to change notification settings - Fork 88
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
Adapt the demo app to run in Expo (instead of requiring native Android/iOS setup) #24
base: master
Are you sure you want to change the base?
Conversation
…ng to CRNA/Expo compatible)
…c ignores required now).
Following the changes in this PR, the application loads successfully in Expo and most features are working correctly. Areas currently not functioning correctly are:
|
@xotahal Thanks for sharing your work on |
Regarding the Fonts: I've been able to load them into an expo project with Material Design by doing something like this for my main render() call:
And the cache loader is simply
(And yes, make sure you initialize the resourcesLoaded sate to false.) This method could be extended to use multiple promises in the _cacheResourceAsync() to grab multiple fonts or other resources. Just an idea. |
Thank you so much! This works!! And it made my life so much easier! Seems pretty broken though, with a lot of the images not showing up and animations not working. |
The README should be updated with instructions on how to run in through Expo. |
No description provided.