mobile-sdk
mobile-sdk copied to clipboard
[Android] Stuck in com.mservice.SDKActivity when back to app from Momo by Tasks Manager.
- From partner app, start
MoMoActivity
, app redirect to Momo to continue payment. - 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.
Hi @dphans, I got same issue on my side. Did you resolve on your side ?
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.
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.
@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?