fix(ios): restore ios support
This commit is contained in:
parent
063722a707
commit
2268a92ba1
1 changed files with 12 additions and 12 deletions
|
|
@ -21,10 +21,10 @@ export interface RNConstants extends PlatformConstants {
|
|||
ServerHost?: string;
|
||||
|
||||
// iOS
|
||||
// forceTouchAvailable: boolean;
|
||||
// interfaceIdiom: string;
|
||||
// osVersion: string;
|
||||
// systemName: string;
|
||||
forceTouchAvailable: boolean;
|
||||
interfaceIdiom: string;
|
||||
osVersion: string;
|
||||
systemName: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -152,14 +152,14 @@ export function getDebugInfo() {
|
|||
codename: NativeDeviceModule.device
|
||||
}
|
||||
},
|
||||
// ios: {
|
||||
// device: {
|
||||
// manufacturer: NativeDeviceModule.deviceManufacturer,
|
||||
// brand: NativeDeviceModule.deviceBrand,
|
||||
// model: NativeDeviceModule.deviceModel,
|
||||
// codename: NativeDeviceModule.device
|
||||
// }
|
||||
// }
|
||||
ios: {
|
||||
device: {
|
||||
manufacturer: NativeDeviceModule.deviceManufacturer,
|
||||
brand: NativeDeviceModule.deviceBrand,
|
||||
model: NativeDeviceModule.deviceModel,
|
||||
codename: NativeDeviceModule.device
|
||||
}
|
||||
}
|
||||
}
|
||||
)!
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue