Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25886] Android: Improve Ti.App._restart() performance

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2018-05-24T15:30:24.000+0000
Affected Version/sRelease 7.1.0
Fix Version/sRelease 7.3.0
ComponentsAndroid
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2018-03-19T22:05:34.000+0000
Updated2018-10-08T14:10:06.000+0000

Description

Currently, we use an Intent to re-launch our Titanium application when Ti.App._restart() is invoked. This isn't the best solution as it results in re-launching the application. Instead, we can terminate all existing acivities and restart the KrollRuntime to reset the Javascript context to a clean state.

Comments

  1. Gary Mathews 2018-03-20

    master: https://github.com/appcelerator/titanium_mobile/pull/9946

JSON Source