funding_choices 0.5.1 copy "funding_choices: ^0.5.1" to clipboard
funding_choices: ^0.5.1 copied to clipboard

outdated

A flutter library to unofficially support Google Funging Choices, a google service to handle GDPR and CCPA Consent

Funding Choices #

A wrapper for Google's Mobile Ads Consent SDK, i.e. used as GDPR dialog on Android and iOS. The IOS version is still under development.

Usage #

First of all set up your account at Google Funding Choices and activate SDK for your App.

To use this plugin, add funding_choices as a dependency in your pubspec.yaml file.

Example #

import 'package:funding_choices/funding_choices.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
      FundingChoices();
      ...

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
    funding_choices: ^0.5.0

Install the packages

flutter pub get

Edit your app/build.gradle

android {
    compileSdkVersion 28
    ...
    defaultConfig {
        ...
        minSdkVersion 28
        targetSdkVersion 28
        ...

Edit you AndroidManifeft.xml

   <application
       ...
       >
       <meta-data
           android:name="com.google.android.gms.ads.APPLICATION_ID"
           android:value="Publisher-ID"/>
       <activity android:name=".MainActivity"
       ...

Publisher ID #

Your publisher ID is the unique identifier for your AdMob account. Find your publisher ID. It should look like this ca-app-pub-XXXXXXXXXXXXXXXX~XXXXXXXXXX.

6
likes
0
pub points
0%
popularity

Publisher

verified publishermicropp.net

A flutter library to unofficially support Google Funging Choices, a google service to handle GDPR and CCPA Consent

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on funding_choices