Ads Mediation Setup Plugin (Flutter)
Performs all ad mediation setup and provide all necessary code to integrate ads in the app
What It does?
x
Update AndroidManifest.xml files for release, debug & profilex
Update build.gradle filex
Update Info.plist filex
Update Podfile filex
Update main.dart filex
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
}
}
Libraries
- ad_unit_ids/ad_unit_id
- ads_providers/interstitial_ads_provider
- ads_providers/rewarded_ads_provider
- ads_providers/test_ad_ids
- global/data/code_strings
- global/data/file_paths
- global/data/regex_strings
- global/utils/file_utils
- models/ad_colony_model
- models/app_lovin_model
- models/facebook_model
- models/google_model
- models/tag_model
- setup_files/ads_mediation_setup
- setup_files/android_rename_step
- setup_files/android_setup