INNER CODE UNIT · JavaScript
mayLaunchUrl
proyecto26/react-native-inappbrowser · index.js:105
function mayLaunchUrl(
mostLikelyUrl: string,
otherUrls: Array<string> = []
): void {
if (isAndroid) {
RNInAppBrowser.mayLaunchUrl(mostLikelyUrl, otherUrls);
}
}
/**
* Dismisses the current authentication session
*/
function closeAuth(): void {
closeAuthSessionPolyfillAsync();
if (authSessionIsNativelySupported()) {
RNInAppBrowser.closeAuth();
} else {
close();