decord/alpha/source/lib/native/Linking.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

30 lines
720 B
TypeScript

// Module ID: 4520
// Function ID: 4521
// Name: Linking
// Dependencies: [17, 4515, 2]
// Module 4520 (Linking)
import _mod17 from "module_17" /* 17 */;
import handleURL from "handleURL" /* 4515 */;
import size from "module_2" /* 2 */;
const Linking = _mod17.Linking;
const result = size.fileFinishedImporting("lib/native/Linking.tsx");
export default {
openURL(arg0, arg1) {
let flag = arg2;
if (arg2 === undefined) {
flag = true;
}
handleURL.default(arg0, arg1, { allowExternal: flag });
},
openURLExternally(href, SAFARI) {
handleURL.default(href, SAFARI, { forceExternalBrowser: true });
},
performURLNavigation(href) {
Linking.openURL(href).catch(() => {
});
}
};