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] Stuck in com.mservice.SDKActivity when back to app from Momo by Tasks Manager. #39

Open
dphans opened this issue Jan 11, 2021 · 4 comments

Comments

@dphans
Copy link

dphans commented Jan 11, 2021

  1. From partner app, start MoMoActivity, app redirect to Momo to continue payment.
  2. In Momo app, open device Tasks Manager, tap on partner app.

Issue: Partner app "freeze" because SDKActivity is overlay on the front.
Expect: SDKActivity must finish and response callback to partner app cancelled status.

@LevisLuong
Copy link

Hi @dphans,
I got same issue on my side.
Did you resolve on your side ?

@dphans
Copy link
Author

dphans commented Jul 19, 2021

Hi @dphans,

I got same issue on my side.

Did you resolve on your side ?

@LevisLuong
Temporarily, I fix by moving sender activity into front by updating flag FLAG_ACTIVITY_REOTHER_TO_FRONT so user able to interact with UI and repay when needed.

@phuongtinhbien
Copy link

phuongtinhbien commented Aug 11, 2021

Hi @dphans,
I got same issue on my side.
Did you resolve on your side ?

@LevisLuong
Temporarily, I fix by moving sender activity into front by updating flag FLAG_ACTIVITY_REOTHER_TO_FRONT so user able to interact with UI and repay when needed.

Could you show your code for reference?
I got this error in Flutter too.

@dphans
Copy link
Author

dphans commented Aug 13, 2021

@phuongtinhbien Sorry, I can't leak company source code because company's policies.
In scenario,
I set the time interval to check foreground activity and momo result.
If foreground activity is SDKActivity (from momo) and callback return empty (momo not yet return any callback), it mean user back from momo app with task manager => We'll cancel the transaction.

But:
Why we try to cover their bugs?
Why they not fix their issues?

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