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

This plugin does not handling AppNotFoundException #5

Closed
subair-zufi opened this issue Aug 23, 2022 · 2 comments
Closed

This plugin does not handling AppNotFoundException #5

subair-zufi opened this issue Aug 23, 2022 · 2 comments

Comments

@subair-zufi
Copy link

When no upi app is installed, the app got crashed.

Error report:

E/AndroidRuntime(24000): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sirajulhuda.app/dev.shreyaspatil.easyupipayment.ui.PaymentUiActivity}: dev.shreyaspatil.easyupipayment.exception.AppNotFoundException: No UPI app exists on this device to perform this transaction.
E/AndroidRuntime(24000): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4035)
E/AndroidRuntime(24000): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4201)
E/AndroidRuntime(24000): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
E/AndroidRuntime(24000): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(24000): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(24000): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2438)
E/AndroidRuntime(24000): 	at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(24000): 	at android.os.Looper.loopOnce(Looper.java:226)
E/AndroidRuntime(24000): 	at android.os.Looper.loop(Looper.java:313)
E/AndroidRuntime(24000): 	at android.app.ActivityThread.main(ActivityThread.java:8669)
E/AndroidRuntime(24000): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(24000): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
E/AndroidRuntime(24000): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
E/AndroidRuntime(24000): Caused by: dev.shreyaspatil.easyupipayment.exception.AppNotFoundException: No UPI app exists on this device to perform this transaction.
E/AndroidRuntime(24000): 	at dev.shreyaspatil.easyupipayment.ui.PaymentUiActivity.throwOnAppNotFound$EasyUpiPayment_release(PaymentUiActivity.kt:128)
E/AndroidRuntime(24000): 	at dev.shreyaspatil.easyupipayment.ui.PaymentUiActivity.onCreate(PaymentUiActivity.kt:62)
E/AndroidRuntime(24000): 	at android.app.Activity.performCreate(Activity.java:8290)
E/AndroidRuntime(24000): 	at android.app.Activity.performCreate(Activity.java:8270)
E/AndroidRuntime(24000): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
E/AndroidRuntime(24000): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4009)
E/AndroidRuntime(24000): 	... 12 more
@GJJ2019
Copy link
Owner

GJJ2019 commented Aug 23, 2022

I cant do much in this I'll try to implementing something to catch this
PatilShreyas/EasyUpiPayment-Android#157

@GJJ2019 GJJ2019 pinned this issue Sep 1, 2022
@GJJ2019 GJJ2019 unpinned this issue Sep 1, 2022
@GJJ2019 GJJ2019 mentioned this issue Sep 13, 2022
@Rohitbagul003
Copy link

Am also facing this issue

@GJJ2019 GJJ2019 closed this as completed Apr 26, 2024
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

3 participants