Files
discord-decomp/sources/by-id/module-09071-getInstallationErrorMessage.js
T
2026-07-28 01:06:53 +03:00

56 lines
3.1 KiB
JavaScript

/* Metro module 9071; source: unknown; dependencies: [] */
function _fun70878(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#70878, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9256:6, offset: 0x01d0bcfc, size: 211 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(dependencyMap[0]);
require(dependencyMap[1]).Platform;
const getMessage_708792 = getMessage_70879;
object = {};
object.ios = {expo: getMessage_708792(["1. Have rebuilt your app (with for instance 'npx expo run:ios')",
'2. Are not using Expo Go (Expo Go is unsupported). See README for more info: ',
'https://github.com/henninghall/react-native-date-picker']),
nonExpo: getMessage_708792(["1. Installed pods (by for instance running 'cd ios && pod install')",
"2. Rebuilt the app (by for instance 'npx react-native run-ios')"])};
object.android = {expo: getMessage_708792(["1. Have rebuilt your app (with for instance 'npx expo run:android')",
'2. Are not using Expo Go (Expo Go is unsupported). See README for more info: ',
'https://github.com/henninghall/react-native-date-picker']),
nonExpo: getMessage_708792(["1. Rebuilt the app (by for instance 'npx react-native run-ios')"])};
exports.getInstallationErrorMessage = getInstallationErrorMessage;
function getMessage_70879(a0) { // fn#70879, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9256:128, offset: 0x01d0bdcf, size: 64 bytes, params: 2, frame: 14
const items2 = ['react-native-date-picker is not installed correctly. Make sure you: ', ''];
const concat = items2.concat;
let value = env0_2(a0);
value = Reflect.apply(concat, items2, [value, ['', 'Please reply in this thread if this solved your issue or not: ',
'https://github.com/henninghall/react-native-date-picker/issues/404', '',
"To ignore this warning, add 'global.ignoreDatePickerWarning = true' to the top of your index file."]]);
return value.join('\n');
}
function getInstallationErrorMessage() { // fn#70880, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9256:1213, offset: 0x01d0be0f, size: 71 bytes, params: 1, frame: 12
var value;
var property;
var moduleValue;
var binding;
var android;
var expo;
var error;
try {
value = environment;
property = dependencyMap[2];
moduleValue = require(property);
moduleValue.default;
binding = env0_3;
android = binding.android;
expo = android.expo;
} catch (error) {
android = env0_3.android;
return android.nonExpo;
}
return expo;
}
}
global.__d(_fun70878, 9071, [65, 27, null]) /* metro module 9071 */;