-
-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] [3.0.0-rc.10] requestSubscription() error DF-DFERH-01 #530
Comments
I was having similar issue. Doc says you should call "requestSubscription" which was failing for me so just give requestPurchase a try with subscription SKU and it worked like a treat. Hope this help. Thanks |
@SameerJain This isn’t a good idea since billingFlow will distinguish the sub or inapp. DF-DFERH-01 error is matter of cache in android device. Please figure this out by solution and try again. |
@hyochan Well, In that case I think there is a bug in the library itself. I tried all the solutions. I am working on this from last 3 days, well almost. At the end this is the only thing worked. I am really not sure how it works internally but if I look at the logcat it seems the flow is correct and I get correct json. Google billing also show this is a subscription with all correct info like billing period, trial period with localized price and warning that it will be recurring. As soon I use requestSubscription it show me that error again. I am attaching images for both api method Hope this help in. |
I'm concerned that this may happen due to the migration of |
Another question, have you guys fetched product by |
@hyochan @SameerJain I didn't solve the DF-DFERH-01 error sadly 😔 I just solved the |
@hyochan I think @SameerJain is right, it works with |
Ok. Let me go over this issue on the weekend. |
For me both work fine and responses I am getting from both are correct. I get consumable in getProduct and subscription in getSubscription.
…Sent from my iPhone
On 17-Jun-2019, at 11:11 PM, Hyo Chan Jang ***@***.***> wrote:
Another question have you guys fetched product by getSubscriptions(skus) instead getProducts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@hyochan just one more thing - for me |
Confirm the problem with 3.0.0.rc-10 on real device.
Works perfect (except getAvailablePurchases freeze). While
returns Error DF-DFERH-01. However, getSubscriptions returns an array of correct subscriptions (including static test subscriptions and subscriptions really existing in Play Console). But none of them work when calling requestSubscription. RNIap.getAvailablePurchases() doesn't return anything at all (not even empty array, just freezes) in both cases. |
Sorry for this. This is resolved in Let's focus on |
Please try |
@hyochan I will test in ~1h and report back ❤️ |
@hyochan did you upgrade to android X ? I have this now (just installed rc14)
|
Ok, updated to RNIap to rc 14, updated RN to 0.59.9, some other module and managed to get over the androidX issue. However there are 2 problems, is not compiling (I'll make a PR for that ) and then the How can I get more logs for you? (I don't see anything in logcat) |
PR: #535 |
Sorry guys 😥I was rushing late at night so I couldn't be better. I've just released |
Please confirm this since I'm planning to release |
@hyochan no need to be sorry, you are doing a great job ❤️ |
Great job @hyochan |
Version of react-native-iap
3.0.0-rc.10
Version of react-native
0.59.9
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
Buy subscription
Actual behavior
Play Store error: DF-DFERH-01
Tested environment (Emulator? Real Device?)
Nexus 5X Android 8.1.0
Emulator x86 Android 9
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: