Poolakey icon indicating copy to clipboard operation
Poolakey copied to clipboard

We have taken a strange exception in the connection of the payment

Open majid-khosravi opened this issue 4 years ago • 2 comments

Hey guys, We're using the 1.2.3 version of the Poolakey, and sometimes we took an exception in the Payment.connect() function. It appears as a kind of the BazaarNotFoundException and already we did changes that related to PackageManager.

majid-khosravi avatar Nov 29 '21 17:11 majid-khosravi

Hi @majid-khosravi , This library needs to connect to the Cafe Bazaar App Store, and if it cant for any reason, BazaarNotFoundException will be thrown.

Reasons might this happen :

  • No official version of Cafe Bazaar on the user's phone ( version downloaded from the official site )

  • https://help.cafebazaar.ir/categories/72/articles/431 on older Cafe bazaar versions

Please check the above and let us know in more detail if there is still a problem.

msmoradi avatar Jan 04 '22 12:01 msmoradi

Hey @msmoradi, thanks for your response. Honestly, after much investigating about this exception, I've found a reason for that. I think it happens when the Power Saving mode is ON at that device and then I made OFF this mode, I haven't taken that. For more detail, I could say that the phone was the Samsung Note11 with the Android SDK31. Given the fact that I've implemented the Android official approach to resolving the Packages Manager permission and set the , but we have this issue in that special device in the specific situation.

majid-khosravi avatar Jan 04 '22 13:01 majid-khosravi

Closed as it seams that it's some devices problem. But feel free to add more information to fix this. This will help us a lot. For example stack trace of problem.

DHosseiny avatar Feb 26 '23 12:02 DHosseiny