-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix issue (#359) #363
fix issue (#359) #363
Conversation
}; | ||
|
||
if ([[config allKeys] containsObject:@"tagForUnderAgeConsent"]) { | ||
NSNumber *tagC = [config valueForKey:@"tagForUnderAgeConsent"]; | ||
[[[GADMobileAds sharedInstance] requestConfiguration] tagForUnderAgeOfConsent:tagC.boolValue]; | ||
[[[GADMobileAds sharedInstance] requestConfiguration] setTagForChildDirectedTreatment:[NSNumber numberWithBool:tagC.boolValue]]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there not a tagForUnderAgeConsent
alternative, as well? Or does both have to be setTagForChildDirectedTreatment
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This did fix it though after running a build for iOS using Expo EAS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested by doing an expo prebuild with no errors and an EAS build with no errors. Good to go 🚀
Hi, @ammarahm-ed Please review this. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed Expo Build Error, react-native-admob-native-ads 0.6.6. PLEASE MERGE
fix issue (#359)