admin管理员组文章数量:1335861
I am new to react-native, and I'm attempting to follow this tutorial /invertase/react-native-google-mobile-ads. However, I cannot resolve this error. I have found 'fixes' for this and many similar errors, but none have been successful for me. I have been on this issue for days.
I am using the latest of everything.
import { check, request, PERMISSIONS, RESULTS } from 'react-native-permissions';
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNPermissions' could not be found. Verify that a module by this name is registered in the native binary. [Component Stack]
EDIT: I'm trying to run on an Android Emulator. I've tried running the command npm start, and I've tried running 'npx expo run:android'
I am new to react-native, and I'm attempting to follow this tutorial https://docs.page/invertase/react-native-google-mobile-ads. However, I cannot resolve this error. I have found 'fixes' for this and many similar errors, but none have been successful for me. I have been on this issue for days.
I am using the latest of everything.
import { check, request, PERMISSIONS, RESULTS } from 'react-native-permissions';
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNPermissions' could not be found. Verify that a module by this name is registered in the native binary. [Component Stack]
EDIT: I'm trying to run on an Android Emulator. I've tried running the command npm start, and I've tried running 'npx expo run:android'
Share Improve this question edited Nov 19, 2024 at 22:55 Danny Ellis Jr. asked Nov 19, 2024 at 21:24 Danny Ellis Jr.Danny Ellis Jr. 1,7082 gold badges25 silver badges46 bronze badges1 Answer
Reset to default 1You'll need to create a new development build after setting up react-native-google-mobile-ads
. This module contains native code so it will not run on Expo Go.
- https://docs.expo.dev/develop/development-builds/create-a-build/
本文标签: react nativeRNPermissions could not be foundStack Overflow
版权声明:本文标题:react native - RNPermissions could not be found - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742397553a2467230.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论