decord/source/lib/native/Linking.tsx
2026-08-05 07:35:12 +00:00

26 lines
648 B
TypeScript

// Module ID: 3952
// Function ID: 3953
// Dependencies: [17, 3947, 2]
// Module 3952
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(3947) /* sanitizeURLPart */.default(arg0, arg1, { allowExternal: flag });
},
openURLExternally(href, SAFARI) {
require(3947) /* sanitizeURLPart */.default(href, SAFARI, { forceExternalBrowser: true });
},
performURLNavigation(href) {
Linking.openURL(href).catch(() => {
});
}
};