You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I successfully build my project up to and including March 15th. Now I get an error that "android_app_id" was not found. There are no changes to app.json and app.config.ts
ERROR: react-native-google-mobile-ads requires an 'android_app_id' property inside a 'react-native-google-mobile-ads' key in your app.json.
No android_app_id property was found in this location. The native Google Mobile Ads SDK will crash on startup without it.
Reproducible demo or steps to reproduce from a blank project
My project has two files app.json { "expo": { "name": "Test app (DEV)", "slug": "test-app-dev" }, "react-native-google-mobile-ads": { "android_app_id": "ca-app-pub-XXXX", "user_tracking_usage_description": "This identifier will be used to deliver personalized ads to you.", "sk_ad_network_items": [...] app.config.ts ... const baseConfig = {...}; const getByAppEnv = () => {...}; export default ({config}: ConfigContext): ExpoConfig => { return merge(config, merge(baseConfig, getByAppEnv() ?? {})); };
Merging two files app.json and app.config.ts used to work fine, now it doesn't.
I tried merging both files and leaving only app.json, but still got the same error.
The text was updated successfully, but these errors were encountered:
Build/Submit details page URL
No response
Summary
I successfully build my project up to and including March 15th. Now I get an error that "android_app_id" was not found. There are no changes to app.json and app.config.ts
Managed or bare?
Managed
Environment
expo-env-info 1.2.0 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 20.11.0 - C:\Program Files\nodejs\node.EXE
npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: AI-223.8836.35.2231.11090377
npmPackages:
expo: ~50.0.14 => 50.0.14
react: 18.2.0 => 18.2.0
react-native: 0.73.6 => 0.73.6
Expo Workflow: managed
Error output
ERROR: react-native-google-mobile-ads requires an 'android_app_id' property inside a 'react-native-google-mobile-ads' key in your app.json.
No android_app_id property was found in this location. The native Google Mobile Ads SDK will crash on startup without it.
Reproducible demo or steps to reproduce from a blank project
My project has two files
app.json
{ "expo": { "name": "Test app (DEV)", "slug": "test-app-dev" }, "react-native-google-mobile-ads": { "android_app_id": "ca-app-pub-XXXX", "user_tracking_usage_description": "This identifier will be used to deliver personalized ads to you.", "sk_ad_network_items": [...]
app.config.ts
... const baseConfig = {...}; const getByAppEnv = () => {...}; export default ({config}: ConfigContext): ExpoConfig => { return merge(config, merge(baseConfig, getByAppEnv() ?? {})); };
Merging two files app.json and app.config.ts used to work fine, now it doesn't.
I tried merging both files and leaving only app.json, but still got the same error.
The text was updated successfully, but these errors were encountered: