decord/source/lib/native/Linking.tsx
2026-08-06 08:05:19 +00:00

26 lines
648 B
TypeScript

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