28 lines
1 KiB
JavaScript
28 lines
1 KiB
JavaScript
// Module ID: 13866
|
|
// Function ID: 13867
|
|
// Name: getReactNativePlatformConstants
|
|
// Dependencies: [17]
|
|
// Exports: default
|
|
|
|
// Module 13866 (getReactNativePlatformConstants)
|
|
import closure_0 from "get ActivityIndicator" /* 17 */;
|
|
|
|
|
|
export default function getReactNativePlatformConstants() {
|
|
let obj = { osRelease: "", model: "", serverHost: "", uiMode: "", serial: "", forceTouch: false, interfaceIdiom: "", systemName: "" };
|
|
if ("android" === Platform.Platform.OS) {
|
|
obj = {};
|
|
const merged = Object.assign(obj);
|
|
({ Release: obj3.osRelease, Model: obj3.model, ServerHost: obj3.serverHost, uiMode: obj3.uiMode, Serial: obj3.serial } = tmp.Platform.constants);
|
|
return obj;
|
|
} else if ("ios" === tmp.Platform.OS) {
|
|
const constants = tmp.Platform.constants;
|
|
obj = {};
|
|
const merged1 = Object.assign(obj);
|
|
obj.forceTouch = constants.forceTouchAvailable || false;
|
|
({ interfaceIdiom: obj2.interfaceIdiom, systemName: obj2.systemName } = constants);
|
|
return obj;
|
|
} else {
|
|
return obj;
|
|
}
|
|
};
|