Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaaatt authored Apr 17, 2021
1 parent 1d43099 commit 2696e0f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ allprojects {

```
dependencies {
implementation 'com.github.akshaaatt:Google-IAP:1.1.0'
implementation 'com.github.akshaaatt:Google-IAP:1.1.2'
}
```

Expand All @@ -38,11 +38,12 @@ dependencies {

```kotlin
val iapConnector = IapConnector(
this,
skuList, // pass the list of in-app products
subsList, // pass the list of subscriptions
"LICENSE KEY", // pass your app's license key
true // to enable/disable logging
context = this, // activity / context
nonConsumableKeys = nonConsumablesList, // pass the list of non-consumables
consumableKeys = consumablesList, // pass the list of consumables
subscriptionKeys = subsList, // pass the list of subscriptions
key = "LICENSE KEY" // pass your app's license key
enableLogging = true // to enable / disable logging
)
```

Expand All @@ -59,7 +60,7 @@ dependencies {
}

override fun onProductRestored(sku: String?) {
// will be triggered fetching owned products using IAPManager.init();
// will be triggered fetching owned products using IapConnector
}
})

Expand Down

0 comments on commit 2696e0f

Please sign in to comment.