Custom JSI Module crashes app at runtime when newArchitecture or Hermes are switched on #41
-
When I turn on either Hermes and/or newArchitecture, the app crashed upon launch. When I comment out Does anyone know of any issue with JSI modules/NPM Native Modules with either Hermes or the new architecture switched on? thanks
NPM module
src/index.js
// App.js
JSI async example
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hello @billp72. "JSI Modules" and "NPM Native modules" are not the way to build on RN's new architecture. I'd suggest you check the official docs: |
Beta Was this translation helpful? Give feedback.
-
Ok. Thanks. I'll look more deeply into it. It seems creating custom turbo
modules requires a different approach.
…On Mon, May 30, 2022, 3:20 AM André Fontenele ***@***.***> wrote:
Hello @billp72 <https://github.com/billp72>.
"JSI Modules" and "NPM Native modules" are not the way to build on RN's
new architecture.
I'd suggest you check the official docs
<https://reactnative.dev/architecture/overview>.
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQHNB2SFECE5IETFJCOEZ3VMRT5TANCNFSM5XFXIRHA>
.
You are receiving this because you were mentioned.Message ID:
<reactwg/react-native-new-architecture/repo-discussions/41/comments/2846847
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Thanks. Exactly what I was looking for.
I seem to be getting this error in Windows 11
[image: image.png]
Any thoughts?
Bill
…On Mon, May 30, 2022, 5:28 PM Yotam Ishak ***@***.***> wrote:
@billp72 <https://github.com/billp72>
Check out https://github.com/talknagish/react-native-turbo-starter
—
Reply to this email directly, view it on GitHub
<#41 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQHNBZPD7SAYKJIGFHFJD3VMUXHBANCNFSM5XFXIRHA>
.
You are receiving this because you were mentioned.Message ID:
<reactwg/react-native-new-architecture/repo-discussions/41/comments/2851522
@github.com>
|
Beta Was this translation helpful? Give feedback.
Hello @billp72.
"JSI Modules" and "NPM Native modules" are not the way to build on RN's new architecture.
I'd suggest you check the official docs: