인 앱 결제
- 서버 호출 후 충전이 완료되면 충전완료 페이지로 이동하도록 수정
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package kr.co.vividnext.sodalive.mypage.can.charge.iap
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.content.Context
|
||||
import android.graphics.Rect
|
||||
import android.os.Bundle
|
||||
import android.os.Handler
|
||||
@@ -245,7 +244,6 @@ class CanChargeIapFragment : BaseFragment<FragmentCanChargeIapBinding>(
|
||||
selectedProductDetails = selectedProductDetails!!,
|
||||
purchase = purchase
|
||||
) { chargeCan ->
|
||||
consumePurchase(purchase) {
|
||||
handler.post {
|
||||
viewModel.showToast("캔이 충전되었습니다")
|
||||
SharedPreferenceManager.can += chargeCan
|
||||
@@ -261,7 +259,6 @@ class CanChargeIapFragment : BaseFragment<FragmentCanChargeIapBinding>(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun launchPurchaseFlow(productDetails: ProductDetails) {
|
||||
val billingFlowParams = BillingFlowParams.newBuilder()
|
||||
|
Reference in New Issue
Block a user