react-native-fbads: Error: While trying to resolve module `react-native-fbads` from file
Bug Report
Before opening
- Did you try the latest release?
- Did you look for existing issues?
Ad Modules
Platforms
Versions
- Android: 27
- iOS:
- react-native-fbads:
- react-native:
Ads Environment 27 or 33
i Run fbd React native and found some problem as below, please help me
error: Error: While trying to resolve module react-native-fbads from file E:\Software React\test20230105\BannerAds.js, the package E:\Software React\test20230105\node_modules\react-native-fbads\package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (E:\Software React\test20230105\node_modules\react-native-fbads\dist\lib\index.js. Indeed, none of these files exist:
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 1
- Comments: 16
@zuberqureshi @Roundtree-Larry Please install react-native-fbsdk-next instead of react-native-fbsdk as Facebook dropped support from it
I have resolved this issue by doing some changes. First one as I forget to install react-native-fbsdk-next package which is required for react-native-fbads. make sure configure it properly (follow documentation properly). react-native-fbsdk-next configuration link
The second change that may make resolved the issue by down-grading to react-native-fbads@7.0.5
Not working bro please any one help with this issue configure file issue in app.json file