[TIMOB-27395] iOS: Support new devices in os.cpus()
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-09-12T17:30:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.2.0 |
Components | iOS |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2019-09-11T23:26:54.000+0000 |
Updated | 2019-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));
master: https://github.com/appcelerator/titanium_mobile/pull/11212
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!)
*Closing ticket*. Fix verified in SDK version
8.2.0.v20190912104344
and SDK version8.3.0.v20190913104800
. Test and other information can be found at: Master: https://github.com/appcelerator/titanium_mobile/pull/11212