Skip to content

AyanTech/WhyGoogleAdvertisement

Repository files navigation

WhyGoogle Advertisement

Here You Can Find Some Useful Information About How :

  1. Add This Library To Your Project
  2. This Library Works

Add Library To Your Project (Kotlin DSL)

  1. build.gradle.kts

Refer to the following page for the latest version : Jitpack Page

dependencies {

    implementation(com.github.alitafreshi:why-google-advertisement:$advertisementVersion)

}

In projects that we have admob advertisement we should add the admob dependency individualy like below :

dependencies {

   "playstoreImplementation"(com.google.android.gms:play-services-ads:$admobAdVersion)

}

Important Note: Don't Forget To Init AdvertisementCore,AdiveryAdvertisementKey,AdmobAdvertisementKey and ApplicationAdvertisementType Like Below In Application Class :

override fun attachBaseContext(base: Context) {
        super.attachBaseContext(base)
        AdvertisementCore.init(application = this)
        AdiveryAdvertisementKey.init(this)
        AdmobAdvertisementKey.init(this)
        ApplicationAdvertisementType.init(this)
    }
  1. Adding Your Project To Firebase And Admob

goole play json file

Library Working Progress Diagram

library wrking progress diagram

About

A SDK for handling and showing advertisements

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages