decord/source/lib/native/Linking.tsx
2026-09-01 10:26:29 +00:00

29 lines
752 B
TypeScript

// Module ID: 4190
// Function ID: 4191
// Dependencies: [17, 4185, 2]
// Module 4190
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import sanitizeURLPart from "sanitizeURLPart" /* 4185 */;
const Linking = get_ActivityIndicator.Linking;
const result = set.fileFinishedImporting("lib/native/Linking.tsx");
export default {
openURL(arg0, arg1) {
let flag = arg2;
if (arg2 === undefined) {
flag = true;
}
sanitizeURLPart.default(arg0, arg1, { allowExternal: flag });
},
openURLExternally(href, SAFARI) {
sanitizeURLPart.default(href, SAFARI, { forceExternalBrowser: true });
},
performURLNavigation(href) {
Linking.openURL(href).catch(() => {
});
}
};