21 lines
1.7 KiB
TypeScript
21 lines
1.7 KiB
TypeScript
/* Metro module 16143; source: modules/notifications/native/ClearChannelNotificationsOnAppForegroundExperiment.tsx; dependencies: [1854, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ApexModule from '../../experiments/apex/index.tsx'; /* Metro dependency 1854 */
|
|
|
|
function _fun124722(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#124722, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16351:6, offset: 0x025c1b2d, size: 158 bytes, params: 8, frame: 21
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = (ApexModule).createApexExperiment({'name': '2025-10-clear-channel-notifications-on-app-foreground-ios',
|
|
'kind': 'user', defaultConfig: {enabled: false}, variations: {[1]: {enabled: true}}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/notifications/native/ClearChannelNotificationsOnAppForegroundExperiment.tsx');
|
|
exports.shouldClearChannelNotificationsOnAppForeground = shouldClearChannelNotificationsOnAppForeground;
|
|
function shouldClearChannelNotificationsOnAppForeground({location}) { // fn#124723, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16351:428, offset: 0x01195c54, size: 39 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const getConfig = binding.getConfig;
|
|
return Reflect.apply(getConfig, binding, [{location: location}]).enabled;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun124722, 16143, [1854, 2]) /* metro module 16143, dependencies: [1854, 2] */;
|