decord/source/lib/native/Linking.tsx
2026-08-24 06:08:38 +00:00

29 lines
752 B
TypeScript

// Module ID: 4093
// Function ID: 4094
// Dependencies: [17, 4088, 2]
// Module 4093
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import sanitizeURLPart from "sanitizeURLPart" /* 4088 */;
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(() => {
});
}
};