RxIAPv3
RxIAPv3 copied to clipboard
getSubscriptionListingDetails always return null
Hello,, i have problem that getSubscriptionListingDetails always return null however its works fine with anjlab/android-inapp-billing-v3 ... why??
ok i debug the code and i founded billingService = null in
private List<SkuDetails> getSkuDetails(ArrayList<String> productIdList, String purchaseType) {
if (billingService != null && productIdList != null && productIdList.size() > 0) {
try {......
so why null i already called BillingProcessor.init(this); in OnCreate -> MyApplication
is there event called when billingService ready before getSubscriptionListingDetails?
I just wanted to let you know that I'm having this same issue.
i revert back to original library https://github.com/anjlab/android-inapp-billing-v3
If billingService is null, then something else might have happened. I am not quite sure about that, because I would need to debug it under the same conditions !
Steps to reproduce:
- Create billingprocessor in main activity.
- Immediately query subscription details.
- Done.
I guess the billingprocessor is stoll initializing. Maybe put all rx queries in some kind of queue when that's happening?
is there event called when billingService ready before getSubscriptionListingDetails?