callstack / callstack/react-native-fbads
Failed to resolve plugin for module "react-native-fbads" relative to [project dir]
- Langage dominant
- Java
- Étoiles
- 451
- Forks
- 147
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with the Expo installation instructions in the main README and the plugin configuration in app.json, then reproduce the issue with eas build --profile development --platform ios. Check how react-native-fbsdk-next and react-native-fbads are resolved in the managed Expo workflow. Done means the build resolves the configured plugins without the reported error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, react-native
- Domaine
- build-system, mobile
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100