googleads-mobile-flutter
googleads-mobile-flutter copied to clipboard
Added UMP SDK integration to Interstitial sample
Description
Added UMP SDK integration to Interstitial sample
- Created
consent_manager.dart
class to handle all the consent work - Calling
requestConsentInfoUpdate
on every app launch. - Pause/Resume timer when consent form is on screen
- Added a privacy settings button which shown/hidden based on
privacyOptionsRequirementStatus
- Not initializing the Mobile SDK until
canRequestAds
returnstrue
Related Issues
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]
).
This will ensure a smooth and quick review process. Updating the pubspec.yaml
and changelogs is not required.
- [x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
- [ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
- [x] All existing and new tests are passing.
- [x] I updated/added relevant documentation (doc comments with
///
). - [x] The analyzer (
flutter analyze
) does not report any problems on my PR. - [x] I read and followed the Flutter Style Guide.
- [x] I signed the CLA.
- [x] I am willing to follow-up on review comments in a timely manner.
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
- [ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
- [X] No, this is not a breaking change.