invertase / react-native-google-mobile-ads

React Native Google Mobile Ads enables you to monetize your app with AdMob.
https://docs.page/invertase/react-native-google-mobile-ads
Other
625 stars 121 forks source link

fix(consent): wrong value of user's consent to 'Create a personalized content profile' purpose #548

Closed arnie1947 closed 4 months ago

arnie1947 commented 4 months ago

Description

This PR fixes the wrong value returned by AdsConsent.getUserChoices() for the createAPersonalisedContentProfile variable. The createAPersonalisedContentProfile is compared to AdsConsentPurposes.CREATE_A_PERSONALISED_ADS_PROFILE while it should be compared to AdsConsentPurposes.CREATE_A_PERSONALISED_CONTENT_PROFILE.

Related issues

Release Summary

Checklist

Test Plan


Think react-native-google-mobile-ads is great? Please consider supporting the project with any of the below:

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

dylancom commented 4 months ago

Thanks, good catch!

mikehardy commented 4 months ago

:tada: This PR is included in version 12.11.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: