Closed ahmadmoussadev closed 1 year ago
Never mind the problem was that I have added the android configuration but not the ios
"plugins": [ "@react-native-firebase/app", "@react-native-firebase/perf", "@react-native-firebase/crashlytics", [ './app.plugin', { android: { CodePushDeploymentKey: 'YOUR_IOS_CODE_PUSH_KEY' }, ios: { CodePushDeploymentKey: 'YOUR_IOS_CODE_PUSH_KEY' } }
],
[
"react-native-admob-native-ads",
{
"androidAppId": "androidAppId",
"iosAppId": "iosAppId"
}
]
],,
Hi, I have copied the files to my main project directory after that I have created the file app.config.js
module.exports = { "expo": { "plugins": [ [ './app.plugin', { android: { CodePushDeploymentKey: 'xxxxxxxxxxxxxxxxxxxxxxx' } } ] ] } }
However I am getting this error ??!!
CommandError: Cannot read properties of undefined (reading 'CodePushDeploymentKey')
Ia m using
expo-cli 6.3.7 react-native : 0.71.8 expo:: 48.0.18
I have also tried app.json with no success ?! can you help please ?