Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23977] Windows: Invalid value returned for Ti.App.getSessiondId

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-10-21T00:00:28.000+0000
Affected Version/sRelease 6.0.0, Release 5.5.1
Fix Version/sRelease 6.1.0
ComponentsWindows
Labelsqe-6.0.0
ReporterEwan Harris
AssigneeKota Iguchi
Created2016-10-03T15:59:40.000+0000
Updated2016-12-23T00:38:25.000+0000

Description

Description

Calling Ti.App.getSessionId() or Ti.App.sessionId returns __SESSION_ID__, on Android it returns a UDID like 2e348c7f-d254-4861-9a90-d8c61df26a5a

Steps to reproduce

Add console.log(Ti.App.getSessionId()) to an existing app.js

Build for Windows

Actual result

Check logs, __SESSION_ID__ is logged

Expected result

The current session id should be logged

Comments

  1. Kota Iguchi 2016-10-05

  2. Samir Mohammed 2016-12-23

    Verified fixed, console.log(Ti.App.getSessionId()) now shows a sessions ID. *Environment*
       Nokia Lumia 640 LTE (RM-1073)
       version 1607
       OS Build: 10.0.14393.576
       
       Operating System
       Name                        = Microsoft Windows 10 Pro
       Version                     = 10.0.14393
       Architecture                = 64bit
       

    CPUs = 4

    Memory = 17034395648 Node.js Node.js Version = 4.4.4 npm Version = 2.11.3 Titanium SDK SDK Version =6.1.0.v20161222061413
    Closing ticket.

JSON Source