[TIMOB-26229] Android: Property "intent-filter-new-task" does not offer similar behaviour to "singleTask" launchMode
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-10-17T16:29:47.000+0000 |
Affected Version/s | Release 7.0.2, Release 7.2.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Shuo Liang |
Assignee | Joshua Quick |
Created | 2018-07-23T07:13:49.000+0000 |
Updated | 2018-10-17T16:29:47.000+0000 |
Description
Reproduce
1. Run MPOSTestOne in device (configured intent filter and property "intent-filter-new-task")
2. Tap "HOME" button to quit app to background.
3. Run MPOSTestTwo in device.
4. MPOSTestTwo has a button in the index.js page. Click on that.
5. The base activity of MPOSTestOne will open within the task of MPOSTestTwo.
6. Then there will be two instances in background. Which is not similar behaviour to android:launchMode= "singleTask".
Note
If in step 2, Tap "BACK" button instead of "HOME" button, then you can see there will be one instance only. This is expected like using launchMode: singleTask.
This customer was using SDK 6.0.0, which contains launchMode supporting. But with latest SDK, they can not achieve "singleTask" launchMode even using property "intent-filter-new-task" like the reproduce steps.
Customer need to know ETA for the fix of this issue and if there is any workaround.
Attachments
The customer has some questions. Check the folllows:
Any update?
Update please.
[~amukherjee] [~emerriman] ^^
[~gmathews] Can you look at this one?
Fixed in 7.3. Customer case closed. Therefore, closing the ticket.