Skip to content

Commit

Permalink
rename attribute of linkFivePurchase. bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderThiele committed Jun 11, 2021
1 parent 3895c80 commit 8c48a03
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions LFPurchases/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
defaultConfig {
minSdk 21
targetSdk 30
versionCode 2
versionName "0.0.2"
versionCode 3
versionName "0.0.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -45,7 +45,7 @@ afterEvaluate {
// You can then customize attributes of the publication as shown below.
groupId = 'io.linkfive.purchases'
artifactId = 'android-purchases'
version = '0.0.2'
version = '0.0.3'
}
// Creates a Maven publication called “debug”.
debug(MavenPublication) {
Expand All @@ -54,7 +54,7 @@ afterEvaluate {

groupId = 'io.linkfive.purchases'
artifactId = 'android-purchases-debug'
version = '0.0.2'
version = '0.0.3'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package io.linkfive.purchases.models
import com.android.billingclient.api.Purchase

data class LinkFiveActiveSubscriptionData(
val linkFiveSkuData: List<LinkFivePurchaseDetail>? = null,
val linkFivePurchaseData: List<LinkFivePurchaseDetail>? = null,
)

data class LinkFivePurchaseDetail(
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/io/linkfive/purchases/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class MainActivity : AppCompatActivity() {
fun handleActiveSubscription(data: LinkFiveActiveSubscriptionData) {

binding.activeSubscription.text =
data.linkFiveSkuData?.mapIndexed { index, linkFivePurchaseDetail ->
data.linkFivePurchaseData?.mapIndexed { index, linkFivePurchaseDetail ->
"$index: ${linkFivePurchaseDetail.purchase.orderId} \n" +
" family: ${linkFivePurchaseDetail.familyName} \n" +
" attri butes: ${linkFivePurchaseDetail.attributes} \n" +
Expand Down

0 comments on commit 8c48a03

Please sign in to comment.