decord/source/lib/native/Linking.tsx
2026-08-07 06:50:47 +00:00

26 lines
648 B
TypeScript

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