INNER CODE UNIT · JavaScript

closeAuth

proyecto26/react-native-inappbrowser · index.js:117

function closeAuth(): void {
  closeAuthSessionPolyfillAsync();
  if (authSessionIsNativelySupported()) {
    RNInAppBrowser.closeAuth();
  } else {
    close();
  }
}

/**
 * Detect if the device supports this plugin.
 */
async function isAvailable(): Promise<boolean> {
  return RNInAppBrowser.isAvailable();
}

export const InAppBrowser = {
  open,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…