[MOB-23] Mobile Hardware Information for Overview Page (#2106)

* wip for iDevices

* Working HardwareModel Info for iOS

* wip

* Merge 'main' into 'mob-hw-info-overview'

* Half-Working `get_volume()`

* Objective c bridge to talk to FS

* Working objc bridge

The bridge works now, and we can now access the iOS file system using the native objective-c APIs instead for proper values, including on the simulator.

* Isolate `icrate` for `ios` deployments only

* Working Stats for Android

* Clean Up + `pnpm format`

* Fix to FSInfoResult Type

Due to the RNFS fork change, I had to change the types to make it so it doesn't fail building and CI.

* iOS Device Name Fix
This commit is contained in:
Arnab Chakraborty
2024-03-06 01:46:22 -05:00
committed by GitHub
parent 55d2ec7a6a
commit 3bd1622e93
59 changed files with 450 additions and 254 deletions

View File

@@ -34,8 +34,8 @@ export async function which(progName) {
Array.from(new Set(env.PATH?.split(':'))).map(dir =>
fs.access(path.join(dir, progName), fs.constants.X_OK)
)
).then(
).then(
() => true,
() => false
)
)
}