-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
[in_app_purchase_store_kit] 'Null check operator used on a null value' is thrown on calling SKPaymentQueueWrapper.transactions(). #143177
Comments
Thanks for the bug report @agent515 Also, the code sample you provided, does it throw the same exception if you try to run it locally in debug mode on same iOS version ? |
Hi @darshankawar .
I tried both approaches. Indirectly using through just
Yes, facing this locally in debug version. The In App Purchase isn't in the production yet. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Thanks for the update. I tried using the code snippet provided using the plugin example, but I wasn't able to replicate it. |
cc @LouiseHsu |
Tried to repro this bug, but I don't seem to be able to. Going off the stacktrace, I added some extra checks in flutter/packages#6032, so please try upgrading and see if that mitigates the issue! Will leave this issue open for now just in case. |
@LouiseHsu It's resolved. Thanks! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
Not entirely sure how to reproduce the error. As it seemed to work for a brief period of time and then started throwing error. Maybe after some failed or pending transactions. (Sandbox Environment)
buyNonConsumable
.SKPaymentQueueWrapper().transactions()
Expected results
All previous failed or pending transactions are completed or cleared without any error.
Actual results
Error: Null check operator used on a null value
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output
Device: iPhone 14 (iOS 17.2.1)
The text was updated successfully, but these errors were encountered: