Closed rafakwolf closed 1 year ago
the same problem here
The current package only works with app.json. Would be great if someone can submit a PR to add this functionality.
At the expo doctor step in Expo build, configuring the package in app.json
causes the following issue:
✖ Validating Expo Config failed
Issues:
[stderr]
Error: Problem validating fields in app.json. Learn more: https://docs.expo.dev/workflow/configuration/
[stderr]
• should NOT have additional property 'react-native-google-mobile-ads'.
The app still builds, but Expo doesn't like it
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
same problem, the lib doesn't support app.config.js
@FranciscoOssian
The current package only works with app.json. Would be great if someone can submit a PR to add this functionality.
We accept PRs! Cheers
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
Just FYI, In expo you can have both app.config.js
and app.json
, so you can place the Ad ID in app.json
while using app.config.js
for other things. Of course this means you can't set the values dynamically for different packages like dev vs prod.
https://docs.expo.dev/workflow/configuration/
By default, Expo CLI will read the app.json first and send the normalized results to the app.config.js.
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
What happened?
the title is pretty self explanatory, but, how can I configure the ad ids when my config file is JS, not JSON
Platforms
Android and iOS
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
No response
android/build.gradle
No response
android/app/build.gradle
No response
android/settings.gradle
No response
AndroidManifest.xml
No response