- Use Android Studio Arctic Fox or higher
- Target Android API level 24 or higher
- Support Android X
- Use Rakuten IDSDK or Use built-in Login
Version | Minimum SDK | Compile SDK |
---|---|---|
7.0.0 | API24 (7.0) | API 35 |
6.2.0 | API24 (7.0) | API 34 |
6.1.0 | API24 (7.0) | API 34 |
6.0.0 | API24 (7.0) | API 34 |
5.4.1 | API24 (7.0) | API 34 |
5.4.0 | API24 (7.0) | API 34 |
5.3.0 | API24 (7.0) | API 34 |
5.2.1 | API24 (7.0) | API 34 |
5.2.0 | API24 (7.0) | API 34 |
5.1.0 | API24 (7.0) | API 34 |
5.0.0 | API24 (7.0) | API 34 |
4.1.0 | API24 (7.0) | API 33 |
4.0.0 | API21 (5.0) | API 33 |
Older Versions
Version | Minimum SDK | Compile SDK |
---|---|---|
3.7.0 | API21 (5.0) | API 33 |
3.6.0 | API21 (5.0) | API 33 |
3.5.1 | API21 (5.0) | API 33 |
3.5.0 | API21 (5.0) | API 33 |
3.4.2 | API21 (5.0) | API 33 |
3.4.1 | API21 (5.0) | API 33 |
3.4.0 | API21 (5.0) | API 31 |
3.3.0 | API21 (5.0) | API 30 |
3.2.2 | API21 (5.0) | API 30 |
3.2.1 | API21 (5.0) | API 30 |
3.2.0 | API21 (5.0) | API 30 |
3.1.2 | API21 (5.0) | API 30 |
3.1.1 | API21 (5.0) | API 30 |
3.1.0 | API21 (5.0) | API 30 |
3.0.0 | API21 (5.0) | API 30 |
1.1.4 | API16 (4.1) | API 30 |
2.4.1 | API16 (4.1) | API 30 |
2.4.0 | API16 (4.1) | API 30 |
2.3.3 | API16 (4.1) | API 29 |
2.3.2 | API16 (4.1) | API 29 |
2.3.1 | API16 (4.1) | API 29 |
2.3.0 | API16 (4.1) | API 29 |
2.2.2 | API16 (4.1) | API 29 |
2.2.1 | API16 (4.1) | API 29 |
2.2.0 | API16 (4.1) | API 29 |
2.1.0 | API16 (4.1) | API 29 |
2.0.0 | API16 (4.1) | API 29 |
1.1.3 | API16 (4.1) | API 29 |
1.1.2 | API16 (4.1) | API 29 |
1.1.1 | API16 (4.1) | API 29 |
1.1.0 | API16 (4.1) | API 29 |
1.0.0 | API16 (4.1) | API 29 |
Apps can import Reward SDK modules with a Gradle dependency. In order to use that repository, you need to reference it int the app's project-level build.gradle
file. Open yours and look for an allprojects section:
Example project-level build.gradle
allprojects {
repositories {
mavenCentral()
maven {
url "https://raw.github.com/rakuten-ads/Rakuten-Reward-Native-Android/master/maven"
}
}
}
Next, open the app-level build.gradle
file for your app, and look for a "dependencies" section.
The Reward Native Android BoM (Bill of Materials) enables you to manage all the library versions by specifying only one version - the BoM's version.
When you use the Reward Native BoM in your app, the BoM automatically pulls the individual library versions mapped to BoM's version. When you update the BoM's version in your app, all the libraries that you use in your app will update to the versions mapped to that BoM version.
Here's how to use Reward Native Android BoM to declare dependencies. When using the BoM, you don't specify individual library versions in the dependency lines.
dependencies {
// Import the BoM for the Reward Native platform
implementation platform('com.rakuten.android:rewardsdknative-bom:7.0.0')
// Declare the dependency for the core library
implementation 'com.rakuten.android:rewardsdknative-core'
// Declare the dependency for the built-in UI
implementation 'com.rakuten.android:rewardsdknative-ui'
}
Refer here for FAQ about BOM.
Pre-6.0.0
If you want to use SDK version before 6.0.0, please follow the following:
implementation 'com.rakuten.android:rewardsdknative-ui:5.4.1'
If you don't use our built-in ui, you can skip "rewardsdknative-ui"
implementation 'com.rakuten.android:rewardsdknative-core:5.4.1'
※ rewardsdknative-ui module uses viewbinding and databinding.
If your app does not use both, please add following to build.gradle
buildFeatures {
viewBinding true
dataBinding true
}
Since version 3.6.0, Reward SDK modules has upgrade Android Gradle Plugin (AGP) to version 7.1.
Please upgrade your application's AGP to version 7.0 or later.
dependencies {
classpath "com.android.tools.build:gradle:7.0.3"
}
Since version 4.0.0, end users have to provide consent for Reward terms of use and privacy policy before they can access any Reward SDK features.
Follow the guide below on how to request user consent.
Basic Guide
SPS Feature
Core API
API Data
User Consent
Migration Guide
Event Analytics
For Java Developers
KDoc
FAQ
LANGUAGE :