Get sd core to compile on mobile + deps update

This commit is contained in:
Arnab Chakraborty
2024-09-13 14:16:01 -04:00
parent 03e9de497b
commit e0d53c0fe6
3 changed files with 5 additions and 5 deletions

View File

@@ -37,12 +37,12 @@
"class-variance-authority": "^0.7.0",
"dayjs": "^1.11.10",
"event-target-polyfill": "^0.0.4",
"expo": "~51.0.28",
"expo-av": "^14.0.6",
"expo": "~51.0.32",
"expo-av": "^14.0.7",
"expo-blur": "^13.0.2",
"expo-build-properties": "~0.12.5",
"expo-haptics": "~13.0.1",
"expo-image": "^1.12.13",
"expo-image": "^1.12.15",
"expo-linking": "~6.3.1",
"expo-media-library": "~16.0.4",
"expo-splash-screen": "~0.27.5",

View File

@@ -1,5 +1,4 @@
use std::io;
use std::io::Error;
use serde::{Deserialize, Serialize};
use specta::Type;
@@ -129,6 +128,7 @@ impl HardwareModel {
#[cfg(target_os = "ios")]
{
use std::ffi::CString;
use std::io::Error;
use std::ptr;
extern "C" {
@@ -186,7 +186,7 @@ impl HardwareModel {
}
if let Some(device_type) = get_device_type() {
let hardware_model = Self::from_display_name(&device_type.as_str());
let hardware_model = HardwareModel::from(device_type.as_str());
Ok(hardware_model)
} else {

BIN
pnpm-lock.yaml generated
View File

Binary file not shown.