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

Android Bug: App pausing/minimizes (not crashing) when Razorpay.open() is called. #168

Open
teentechies opened this issue Aug 5, 2023 · 1 comment

Comments

@teentechies
Copy link

teentechies commented Aug 5, 2023

I have integrated the plugin as mentioned and was able to run it successfully. However, I stumbled upon a bug. I have observed that the app minimizes when razorpay.open() method is called. When I open the app again, the razorpay payment window will be loaded and I can make the payment. It looks like the app is only minimized and rest all works fine when resumed. I did observe the android logcat and couldn't find any error or warning logs while the sdk is triggered.

image

image

Above i have attached my code screens for reference.

Note: I have tried everything I could to make sure its the rzp sdk that's causing this issue. Also note, I am using cordova background mode + cordova bg geolocation plugin along with razorpay sdk within my app. Mine is a delivery rider application for a food delivery business. Combination of these two plugins have given me issues in past but now i have upgraded to cordova android v12.0.0 and the crash issue were resolved.

@teentechies
Copy link
Author

Logcat Screen for reference.

image

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