flutter_ads_mediation 1.3.1 copy "flutter_ads_mediation: ^1.3.1" to clipboard
flutter_ads_mediation: ^1.3.1 copied to clipboard

A flutter package to setup, integrate and use google ads and other mediations very easily

Ads Mediation Setup Plugin (Flutter) #

Performs all ad mediation setup and provide all necessary code to integrate ads in the app


What It does? #

  • ✅ Update AndroidManifest.xml files for release, debug & profile
  • ✅ Update build.gradle file
  • ✅ Update Info.plist file
  • ✅ Update Podfile file
  • ✅ Update main.dart file
  • ✅ Creates lib/ad_unit_ids/ad_unit_id.dart file

How To Use #

Just run following command on your flutter project

flutter pub run flutter_ads_mediation:main <path/to/setup.json> 

Prerequisit #

min kotlin version required 1.4.32 (if app is using kotlin)
goto your android/build.gradle file, within the buildscript block replace the kotlin version with 1.4.32 at ext.kotlin_version.

file : android/build.gradle

    buildscript {
        ext.kotlin_version = '1.4.32'
    }

multiDexEnabled true and minSdkVersion 19
goto your android/app/build.gradle file within defaultConfig block add/replace these two lines.

file : android/app/build.gradle

    android {
        defaultConfig {   
            minSdkVersion 19   
            multiDexEnabled true
        }
    }

4
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A flutter package to setup, integrate and use google ads and other mediations very easily

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, google_mobile_ads, path, xml

More

Packages that depend on flutter_ads_mediation