INNER CODE UNIT · JavaScript
warmup
proyecto26/react-native-inappbrowser · index.js:86
function warmup(): Promise<boolean> {
if (isAndroid) {
return RNInAppBrowser.warmup();
}
return Promise.resolve(false);
}
/**
* Tells the browser of a likely future navigation to a URL.
* The most likely URL has to be specified first.
* Optionally, a list of other likely URLs can be provided.
* They are treated as less likely than the first one, and have to be sorted in decreasing priority order.
* These additional URLs may be ignored.
*
* @param mostLikelyUrl Most likely URL, may be null if otherUrls is provided.
* @param otherUrls Other likely destinations, sorted in decreasing likelihood order.
*
* @platform android