Skip to content

Commit

Permalink
Add support for Android 14
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaaatt committed Sep 20, 2023
1 parent 97017be commit d73c52d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align="center">Google-IAP (Play Billing Library Version 6.0.0)</h1>
<h1 align="center">Google-IAP (Play Billing Library Version 6.0.1)</h1>

<p align="center">
<img src="https://jitpack.io/v/akshaaatt/Google-IAP.svg?style=flat-square&logo=github&logoColor=white"
Expand Down Expand Up @@ -61,7 +61,7 @@ allprojects {

```groovy
dependencies {
implementation 'com.github.akshaaatt:Google-IAP:1.4.2'
implementation 'com.github.akshaaatt:Google-IAP:1.5.0'
}
```
Expand Down
5 changes: 2 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ plugins {
}

android {
compileSdk = 33
compileSdk = 34

namespace = "com.limurse.iapsample"
defaultConfig {
applicationId = "com.limurse.iapsample"
minSdk = 21
targetSdk = 33
targetSdk = 34
versionCode = 7
versionName = "1.0.6"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down Expand Up @@ -61,7 +61,6 @@ dependencies {
implementation(project(":iap"))

implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.core:core-ktx:1.10.1")
implementation("androidx.gridlayout:gridlayout:1.0.0")
implementation("com.google.android.material:material:1.9.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ buildscript {
mavenCentral()
}

val kotlinVersion = "1.8.10"
val kotlinVersion = "1.9.10"
dependencies {
classpath("com.android.tools.build:gradle:8.1.0")
classpath("com.android.tools.build:gradle:8.1.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}
Expand Down
6 changes: 3 additions & 3 deletions iap/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

android {
compileSdk = 33
compileSdk = 34

namespace = "com.limurse.iap"
defaultConfig {
Expand Down Expand Up @@ -44,7 +44,7 @@ dependencies {

implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")

testImplementation("junit:junit:4.13.2")
}
Expand All @@ -54,7 +54,7 @@ publishing {
create<MavenPublication>("release") {
groupId = "com.limurse"
artifactId = "Google-IAP"
version = "1.4.2"
version = "1.5.0"

afterEvaluate {
from(components["release"])
Expand Down
2 changes: 0 additions & 2 deletions iap/src/main/java/com/limurse/iap/BillingService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ import android.net.Uri
import android.util.Log
import com.android.billingclient.api.*
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.DelicateCoroutinesApi
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch

@DelicateCoroutinesApi
class BillingService(
private val context: Context,
private val nonConsumableKeys: List<String>,
Expand Down

0 comments on commit d73c52d

Please sign in to comment.