Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23399] Analytics: Implement nettype property for Windows platform

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2016-06-08T17:37:43.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsWindows
Labelsqe-5.3.0
ReporterHarry Bryant
AssigneeGary Mathews
Created2016-05-17T17:41:26.000+0000
Updated2016-09-05T15:46:42.000+0000

Description

When comparing the payloads for the Windows platform to Android, it was found that nettype was returning as nettype: "UNKNOWN". This also occurs when evaluating the data returned from Ti.Network.networkTypeName.

Steps to Reproduce

1) Install a titanium project on a windows phone device 2) Launch the app 3) Use either - a) point device to staging via DNS setting, check logs. b) Use get last event api c) If you have backend access, check the raw event on AWS. 4) Alternatively, include Ti.Network.networkTypeName in a log statement in the app.js, and build to a Windows phone device. 5) Examine any of the standard event types.

Actual Result

nettype returns as "UNKNOWN" for Windows Device.

Expected Result

nettype should return an appropriate value, consistent with the other platforms.

Comments

  1. Gary Mathews 2016-06-06

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/739
  2. Ewan Harris 2016-09-05

    Verified using: OS: Microsoft Windows 10 Pro 10.0.14393 Appc core: 6.0.0-38 Appc NPM: 4.2.8-6 Ti SDK: 6.0.0.v20160904203840 Ti.Network.networkTypeName now returns the correct value depending on the devices current network Closing ticket

JSON Source