-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Describe the bug
I've got:
WARN Possible Unhandled Promise Rejection (id: 1):
Error: Another InAppBrowser is already being presented.
To Reproduce
<ReactNativeKeycloakProvider
authClient={keycloak}
autoRefreshToken
onTokens={handleTokens}
onEvent={handleEvent}
isLoadingCheck={() => isLoadingCheck}
LoadingComponent={
<View style={styles.loader}>
<SpinnerLoader />
</View>
}
initOptions={{
redirectUri: "my-redirect-uri",
onLoad: "check-sso",
enableLogging: ENV.BUILD === BUILDS.development || __DEV__,
...tokens,
inAppBrowserOptions: {
enableDefaultShare: false,
showTitle: false,
hasBackButton: true,
// https://github.com/proyecto26/react-native-inappbrowser/issues/153
forceCloseOnRedirection: false,
showInRecents: true,
},
}}
>
<App />
</ReactNativeKeycloakProvider>
Expected behavior
No warning or possibility to handle
Smartphone
- Device: iPhone 12
- OS: iOS 14.5
Metadata
Metadata
Assignees
Labels
No labels