callstack / callstack/react-native-fbads

Failed to resolve plugin for module "react-native-fbads" relative to [project dir]

Open
#333 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
451
Forks
147
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

**Before opening**

- [ X] Did you try the latest release?
- [ X] Did you look for existing issues?

**Ad Modules**

Have this activated in my facebook app

**Platforms**

Developing for both android and ios

**Versions**

- react-native-fbads: 7.1.0
- react-native: 0.68.2

I am using an eas build for a project that is part of a managed expo workflow. I followed the instructions under "expo installation" in the main readme. When I attempt to run `eas build --profile development --platform ios` I get the following cryptic error:

Failed to resolve plugin for module "react-native-fbads" relative to "D:\Projects\pollenbbmap"

My app.json looks like this

```
{
"expo": {
"owner": "gainesvilleboyz",
"name": "pollenbbmap",
"slug": "pollenbbmap",
"version": "0.0.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.arham23.pollenbbmap"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
[
"react-native-fbsdk-next",
{
"appID": "XXXX",
"clientToken": "XXX",
"displayName": "Pollen Map App",
"advertiserIDCollectionEnabled": false,
"autoLogAppEventsEnabled": false,
"isAutoInitEnabled": true,
"iosUserTrackingPermission": "This identifier will be used to deliver personalized ads to you."
}
],
"react-native-fbads"
]
}
}

```

Has anyone else experienced this error? Google shows zero results with this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.