decord/source/modules/notifications/native/ClearChannelNotificationsOnAppForegroundExperiment.tsx

21 lines
969 B
TypeScript
Raw Normal View History

// Module ID: 17893
// Function ID: 17894
// Name: ClearChannelNotificationsOnAppForegroundExperiment
// Dependencies: [1433, 2]
2026-07-20 16:05:17 +00:00
// Exports: shouldClearChannelNotificationsOnAppForeground
// Module 17893 (ClearChannelNotificationsOnAppForegroundExperiment)
import ApexExperiment from "ApexExperiment" /* 1433 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const obj = { name: "2025-10-clear-channel-notifications-on-app-foreground-ios", kind: "user", defaultConfig: { enabled: false }, variations: null };
const obj2 = { 1: null };
obj2[1] = { enabled: true };
obj.variations = obj2;
const config = ApexExperiment.createApexExperiment(obj);
const result = size.fileFinishedImporting("modules/notifications/native/ClearChannelNotificationsOnAppForegroundExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const shouldClearChannelNotificationsOnAppForeground = function shouldClearChannelNotificationsOnAppForeground(location) {
return config.getConfig({ location: location.location }).enabled;
};