Failed to resolve plugin for module "react-native-fbads"

“expo”: “~46.0.17”,
“expo-ads-facebook”: “~11.2.0”,
“expo-dev-client”: “~1.3.1”,
“expo-splash-screen”: “~0.16.2”,
“expo-status-bar”: “~1.4.0”,
“expo-updates”: “~0.14.7”,
“firebase”: “^8.2.3”,
“moment”: “^2.29.1”,
“native-base”: “^2.15.2”,
“react”: “18.0.0”,
“react-dom”: “18.0.0”,
“react-native”: “0.69.6”,
“react-native-animatable”: “^1.3.3”,
“react-native-dropdown-picker”: “^4.0.2”,
“react-native-fbads”: “^7.1.0”,
“react-native-fbsdk-next”: “^11.1.0”,

Hi @loapps

Please show the "plugins" section from app.json too?

Hi @wodin

{
“expo”: {
“name”: “Benefício”,
“slug”: “beneficio”,
“version”: “2.9”,
“orientation”: “portrait”,
“icon”: “./assets/icon.png”,
“splash”: {
“image”: “./assets/splash.png”,
“resizeMode”: “contain”,
“backgroundColor”: “#ffde59
},
“platforms”: [
“android”
],
“android”: {
“googleServicesFile”: “./google-services.json”,
“package”: “beneficio”,
“versionCode”: 27,
“permissions”: [
“INTERNET”
]
},
“plugins”: [
[
“react-native-fbsdk-next”,
{
“appID”: “2023”,
“clientToken”: “fb2023”,
“displayName”: “Beneficio”,
“advertiserIDCollectionEnabled”: false,
“autoLogAppEventsEnabled”: false,
“isAutoInitEnabled”: true
}
],
“react-native-fbads”
],
“assetBundlePatterns”: [
“**/*”
]
}
}

Thanks…

I created the file “app.config.json”. Fixed the previous error.

Now, new error below.

Unable to resolve “react-native-fbads”

Invariant Violation: requireNativeComponent: “CTKBannerView” was not found in the UIManager