decord/alpha/source/modules/keyboard/native/AnimatedKeyboardExperiment.tsx

24 lines
993 B
TypeScript
Raw Normal View History

// Module ID: 11101
// Function ID: 11102
// Name: AnimatedKeyboardExperiment
// Dependencies: [1435, 1364, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAnimatedAndroidKeyboard
// Module 11101 (AnimatedKeyboardExperiment)
import PlatformUtils from "PlatformUtils" /* 1364 */;
import ApexExperiment from "ApexExperiment" /* 1435 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
let obj = { name: "2025-08-animated-keyboard-android", kind: "user", defaultConfig: { enabled: false }, variations: null };
const obj2 = { 1: null };
obj2[1] = { enabled: true };
obj.variations = obj2;
const apexExperiment = ApexExperiment.createApexExperiment(obj);
2026-07-20 16:05:17 +00:00
const enabled = apexExperiment.getConfig({ location: "isAnimatedKeyboardEnabled" }).enabled;
const result = size.fileFinishedImporting("modules/keyboard/native/AnimatedKeyboardExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const AnimatedKeyboardExperiment = apexExperiment;
export const isAnimatedAndroidKeyboard = function isAnimatedAndroidKeyboard() {
return PlatformUtils.isAndroid() && enabled;
2026-07-20 16:05:17 +00:00
};