Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26229] Android: Property "intent-filter-new-task" does not offer similar behaviour to "singleTask" launchMode

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2018-10-17T16:29:47.000+0000
Affected Version/sRelease 7.0.2, Release 7.2.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterShuo Liang
AssigneeJoshua Quick
Created2018-07-23T07:13:49.000+0000
Updated2018-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

FileDateSize
MPOSTestOne.zip2018-07-23T07:09:18.000+00009207554
MPOSTestTwo.zip2018-07-23T07:09:29.000+00009207390

Comments

  1. Mostafizur Rahman 2018-07-23

    The customer has some questions. Check the folllows:
       1. Is there an ETA for the fix of this issue since we need to inform our customers on the same. 
       2. Also, please let us know if there is any suggested workaround and/or patch fix of the SDK which we can use to get back the required behaviour.
       
  2. Shuo Liang 2018-07-27

    Any update?
  3. Shuo Liang 2018-07-30

    Update please.
  4. Ingo Muschenetz 2018-07-30

    [~amukherjee] [~emerriman] ^^
  5. Abir Mukherjee 2018-07-30

    [~gmathews] Can you look at this one?
  6. Shak Hossain 2018-10-17

    Fixed in 7.3. Customer case closed. Therefore, closing the ticket.

JSON Source