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

support react-native-web #68

Open
tonytony2020 opened this issue Nov 11, 2023 · 0 comments
Open

support react-native-web #68

tonytony2020 opened this issue Nov 11, 2023 · 0 comments

Comments

@tonytony2020
Copy link

tonytony2020 commented Nov 11, 2023

We build app for native, but debugging and preview on web, it makes things go easier and fastest.

please add support for react-native-web, log warning instead of raise exception on web/react-native-web

TypeError
undefined is not an object (evaluating '_index.TurboModuleRegistry.getEnforcing')
Call Stack
 eval code
  :undefined:undefined
 ./node_modules/react-native-exit-app/NativeRNExitApp.ts
  vendor.c3fb492439d06c32c09e.js:1627:5
 undefined
  main.8c71db7feb61bb2278b2.js:1506:35
 __webpack_require__
  main.8c71db7feb61bb2278b2.js:899:37
 fn
  main.8c71db7feb61bb2278b2.js:1145:28
 eval code
  :undefined:undefined
 ./node_modules/react-native-exit-app/index.js
  vendor.c3fb492439d06c32c09e.js:1637:5
 undefined
  main.8c71db7feb61bb2278b2.js:1506:35
 __webpack_require__
  main.8c71db7feb61bb2278b2.js:899:37
 fn
  main.8c71db7feb61bb2278b2.js:1145:28
× Close

test environment:

"react-native-exit-app": "^2.0.0",
"react-native": "^0.72.6",
"react-native-web": "^0.19.7",

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

No branches or pull requests

1 participant