INNER CODE UNIT · JavaScript
close
proyecto26/react-native-inappbrowser · index.js:74
function close(): void {
RNInAppBrowser.close();
}
/**
* Warm up the browser process.
* Allows the browser application to pre-initialize itself in the background.
* Significantly speeds up URL opening in the browser.
* This is asynchronous and can be called several times.
*
* @platform android
*/
function warmup(): Promise<boolean> {
if (isAndroid) {
return RNInAppBrowser.warmup();
}
return Promise.resolve(false);
}