decord/source/lib/native/Linking.tsx
2026-08-15 05:55:55 +00:00

26 lines
648 B
TypeScript

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