Skip to content
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

Instamojo.java (InstamojoPaymentCallback mCallback) #109

Open
kmvora13990 opened this issue Feb 13, 2023 · 0 comments
Open

Instamojo.java (InstamojoPaymentCallback mCallback) #109

kmvora13990 opened this issue Feb 13, 2023 · 0 comments

Comments

@kmvora13990
Copy link

Can you please add null-check before invoke callback's methods (in broadcast receiver's onReceive method)? Because time to time we have app crash (with NullPointerException) when receiver tries to call InstamojoPaymentCallback's methods (in our case mCallback.onPaymentCancelled()). Seems it could happens (by some timeout) if user initiate payment and then put app in background, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant