Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27395] iOS: Support new devices in os.cpus()

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-09-12T17:30:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.2.0
ComponentsiOS
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2019-09-11T23:26:54.000+0000
Updated2019-09-16T09:44:32.000+0000

Description

- os.cpus() will fail for newer devices **TEST CASE**
const os = require('os');
console.log(JSON.stringify(os.cpus(), 1));

Comments

  1. Gary Mathews 2019-09-11

    master: https://github.com/appcelerator/titanium_mobile/pull/11212
  2. Christopher Williams 2019-09-12

    I've merged this to master and also cherry picked it to 8_2_X since it's relevant to iOS 13 and the new phone models (and I considered it extremely low risk, and it fixed our failing test!)
  3. Samir Mohammed 2019-09-16

    *Closing ticket*. Fix verified in SDK version 8.2.0.v20190912104344 and SDK version 8.3.0.v20190913104800. Test and other information can be found at: Master: https://github.com/appcelerator/titanium_mobile/pull/11212

JSON Source