Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

cere-io/widget-android

Repository files navigation

Rewards Module SDK for Android

Including into project

In build.gradle file for your project add jitpack repo inside allprojects.repositories block:

allprojects {
  repositories {
    ...your repos
    
    // add this
    maven {
      url 'https://jitpack.io'
    }
  }
}

In build.gradle file for your module add new dependency into dependencies block:

dependencies {
  ...your dependencies

  // add this
  implementation 'com.github.cere-io:widget-android:2.1.*'
}

Then rebuild your project.

Usage

Firstly you need init it:

  RewardsModule rewardsModule = new RewardsModule(context);
  rewardsModule.init("YOUR_APP_ID");

Then you can simply call somewhere in your code:

  rewardsModule.show("YOUR_PLACEMENT");

For more info read our JavaDoc

About

Widget SDK for Android

Resources

Stars

Watchers

Forks

Packages

No packages published