decord/source/lib/native/Linking.tsx

27 lines
648 B
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 4090
// Function ID: 4091
// Dependencies: [17, 4085, 2]
2026-07-20 16:05:17 +00:00
2026-08-15 05:55:55 +00:00
// Module 4090
2026-07-23 10:11:24 +00:00
import { Linking } from "get ActivityIndicator";
const result = require("set").fileFinishedImporting("lib/native/Linking.tsx");
2026-07-20 16:05:17 +00:00
export default {
2026-07-29 08:29:29 +00:00
openURL(arg0, arg1) {
2026-07-20 16:05:17 +00:00
let flag = arg2;
if (arg2 === undefined) {
flag = true;
}
2026-08-15 05:55:55 +00:00
require(4085) /* sanitizeURLPart */.default(arg0, arg1, { allowExternal: flag });
2026-07-20 16:05:17 +00:00
},
openURLExternally(href, SAFARI) {
2026-08-15 05:55:55 +00:00
require(4085) /* sanitizeURLPart */.default(href, SAFARI, { forceExternalBrowser: true });
2026-07-20 16:05:17 +00:00
},
performURLNavigation(href) {
Linking.openURL(href).catch(() => {
});
}
};