Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The following requirements must be set up before installing Chargebee’s Androi
The `Chargebee-Android` SDK can be installed by adding below dependency to the `build.gradle` file:

```kotlin
implementation 'com.chargebee:chargebee-android:1.2.2'
implementation 'com.chargebee:chargebee-android:1.2.3'
```

## Example project
Expand Down
2 changes: 1 addition & 1 deletion chargebee/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 21
targetSdkVersion 31
versionCode 1
versionName "1.2.2"
versionName "1.2.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down
14 changes: 13 additions & 1 deletion chargebee/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# keep the classes when optimizing the code
-keep class com.chargebee.android.** { *;}
-keep class com.chargebee.android.** { *;}

# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

# R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>

# With R8 full mode generic signatures are stripped for classes that are not kept.
-keep,allowobfuscation,allowshrinking class retrofit2.Response
2 changes: 1 addition & 1 deletion chargebee/src/main/java/com/chargebee/android/Chargebee.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object Chargebee {
var appName: String = "Chargebee"
var environment: String = "cb_android_sdk"
const val platform: String = "Android"
const val sdkVersion: String = "1.2.2"
const val sdkVersion: String = "1.2.3"
const val limit: String = "100"
private const val PLAY_STORE_SUBSCRIPTION_URL =
"https://play.google.com/store/account/subscriptions"
Expand Down