You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, native dependencies aren't going to get loaded into the RN app. This means that only pure JS projects will work.
I think it'd be good to have a CLI flag or something that specifies we need to run react-native link on the module in the rntape repo before running the build.
One problem we'll run into is that globally installed rn-tape will error out if you try to link to different modules. Maybe it shouldn't be allowed unless it's a devDependency?
Not sure how native deps could work outside of using rn link. 🤔 Would appreciate pointers though.
The text was updated successfully, but these errors were encountered:
I wonder why it worked with get-random-values-polypony but it did use native code(?!) but other than that: I think its an important requirement to support native dependencies!
I don't think it's related to #4, but I'm gonna be addressing #4 tonight.
Not sure why it worked with polypony either. 🤔 Maybe I'm misunderstanding something? I'll add tests later (maybe tomorrow?). Agreed that it's important to support. I don't think it'd be supported on expo though. 😅
At the moment, native dependencies aren't going to get loaded into the RN app. This means that only pure JS projects will work.
I think it'd be good to have a CLI flag or something that specifies we need to run
react-native link
on the module in the rntape repo before running the build.One problem we'll run into is that globally installed rn-tape will error out if you try to link to different modules. Maybe it shouldn't be allowed unless it's a devDependency?
Not sure how native deps could work outside of using rn link. 🤔 Would appreciate pointers though.
The text was updated successfully, but these errors were encountered: