Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 856 Bytes

README.md

File metadata and controls

42 lines (25 loc) · 856 Bytes

App Promoters

How to integrate into your app?

Integrating the library into you app is extremely easy. A few changes in the build gradle and your all ready to use the library. Make the following changes.

Step 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    ...
    maven { url "https://jitpack.io" }
  }
}

Step 2. Add the dependency

dependencies {
       compile 'com.github.ervishu83:app_promoters:1.7'
}

How to use the library?

Okay seems like you integrated the library in your project but how do you use it? Well its really easy just follows the steps below. Load native library in your activity :

 new AppPromoters(this,getPackageName(),10);

here, 10 is time interval in seconds for dialog to appear.