Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20137] iOS: app.js is executed more than once

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2019-11-13T21:52:42.000+0000
Affected Version/sRelease 5.1.1
Fix Version/sn/a
ComponentsiOS
LabelssupportTeam
Reporter商汝麒
AssigneeUnknown
Created2015-11-17T04:04:53.000+0000
Updated2019-11-13T21:52:42.000+0000

Description

please read attachment js file, it's simple. on ios simulator, after double click home button, kill the app and reluanch it, log "[INFO] Application started" may appear more than once, when ios tool menu is toggle from top or bottom of the screen. As I observed, the app.js is called more than once, and user can't feel this change in js code, as the js context seems a brand new one. I only tested this on iphone6plus simulator, but not device or env. thank you.

Attachments

FileDateSize
tiapp_state_bug.js2015-11-17T03:57:12.000+0000908

Comments

  1. Alan Hutton 2019-11-13

    Cannot reproduce. Operating System Name = Mac OS X Version = 10.15.1 Architecture = 64bit # CPUs = 12 Memory = 17179869184 Node.js Node.js Version = 8.16.0 npm Version = 6.4.1 Titanium CLI CLI Version = 5.2.1 Titanium SDK SDK Version = 8.2.1.GA

JSON Source