Skip to content

Commit

Permalink
Fixed an important issue
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaaatt committed Apr 18, 2021
1 parent 3ba27a0 commit 03ac6d1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.alphelios.richierich"
minSdkVersion 21
targetSdkVersion 30
versionCode 12
versionName "1.1.1"
versionCode 14
versionName "1.1.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Binary file modified app/release/app-release.aab
Binary file not shown.
2 changes: 1 addition & 1 deletion app/src/main/java/com/alphelios/richierich/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MainActivity : AppCompatActivity(R.layout.activity_main) {
nonConsumableKeys = nonConsumablesList,
consumableKeys = consumablesList,
subscriptionKeys = subsList,
key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAh09sfdDzMhCh3AG9mq2EsyFUN72FBKabPpMsJyUUwXVsVJRLDWQYKmWnr0bVGsdVHwQtEDi//EY1NubXjCmViAxFnnfbdUrAk9PbRRTaMQ4taifn9fCaQ6XAW70ju3/mXuL+1xX+r8B0O9B373sP0YqiUs0b8HTtTjQoOGtcGb2KlYpQlJjjtISfVpsSk2RdKatkDyeesv+6568O7xgb5zp/KNJk8d1fMqKGWJiveFkZvedDh1ECdi3rSz1aQB+z/aEf6AIiuLzu0V8NNKjvZnxUjVJgL+lcLDrL1YZuKx9h5BX7k8lPZI7fLIVE6b6iNx3msfVdiqPkZ3s49JxA1QIDAQAB",
key = "LICENSE KEY",
enableLogging = true
)

Expand Down
20 changes: 8 additions & 12 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
## For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
#Sun Apr 18 16:32:37 IST 2021
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
android.useAndroidX=true
kotlin.code.style=official
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
4 changes: 2 additions & 2 deletions iap/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 17
targetSdkVersion 30
versionCode 13
versionName "1.1.2"
versionCode 14
versionName "1.1.3"
}

buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion iap/src/main/java/com/alphelios/iap/BillingService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class BillingService(private val context: Context,
) { billingResult, _ ->
when (billingResult.responseCode) {
BillingClient.BillingResponseCode.OK -> {
productOwned(purchase.sku, !isRestore)
productOwned(purchase.sku, false)
}
else -> {
Log.d(TAG, "Handling consumables : Error during consumption attempt -> ${billingResult.debugMessage}")
Expand Down

0 comments on commit 03ac6d1

Please sign in to comment.