decord/source/lib/native/Linking.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

29 lines
752 B
TypeScript

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