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
I read the Contributor Guide
and followed the process outlined there for submitting PRs.
[x] Yes
My change supports the following platforms;
[x] Android
[x] iOS
My change includes tests;
[ ] e2e tests added or updated in __tests__e2e__
[ ] jest tests added or updated in __tests__
[x] I have updated TypeScript types that are affected by my change.
This is a breaking change;
[ ] Yes
[x] No
Test Plan
Think react-native-google-mobile-ads is great? Please consider supporting the project with any of the below:
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
Android
iOS
e2e
tests added or updated in__tests__e2e__
jest
tests added or updated in__tests__
Test Plan
Think
react-native-google-mobile-ads
is great? Please consider supporting the project with any of the below:Invertase
on Twitter :fire: