expo-web-browser
Version:
Provides access to the system's web browser and supports handling redirects. On iOS, it uses SFSafariViewController or ASWebAuthenticationSession, depending on the method you call, and on Android it uses ChromeCustomTabs. As of iOS 11, SFSafariViewControl
16 lines • 800 B
TypeScript
import { WebBrowserAuthSessionResult, WebBrowserOpenOptions, WebBrowserResult } from './WebBrowser.types';
export declare function normalizeUrl(url: URL | Location): string;
declare const _default: {
openBrowserAsync(url: string, browserParams?: WebBrowserOpenOptions): Promise<WebBrowserResult>;
dismissAuthSession(): void;
maybeCompleteAuthSession({ skipRedirectCheck }: {
skipRedirectCheck?: boolean;
}): {
type: "success" | "failed";
message: string;
};
openAuthSessionAsync(url: string, redirectUrl?: string, openOptions?: WebBrowserOpenOptions): Promise<WebBrowserAuthSessionResult>;
};
export default _default;
export declare function featureObjectToString(features: Record<string, any>): string;
//# sourceMappingURL=ExpoWebBrowser.web.d.ts.map