decord/beta/source/lib/native/Linking.tsx
github-actions 9b6fea255e chore: update source for beta 346.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-18 19:45:33 +00:00

30 lines
720 B
TypeScript

// Module ID: 4331
// Function ID: 4332
// Name: Linking
// Dependencies: [17, 4326, 2]
// Module 4331 (Linking)
import _mod17 from "module_17" /* 17 */;
import handleURL from "handleURL" /* 4326 */;
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(() => {
});
}
};