proyecto26 / react-native-inappbrowser

📱InAppBrowser for React Native (Android & iOS) 🤘
https://www.npmjs.com/package/react-native-inappbrowser-reborn
MIT License
1.29k stars 218 forks source link

Not able to clear cache of account in android #414

Open akshay3794 opened 1 year ago

akshay3794 commented 1 year ago

When using this with aws cognito for social login with aws cognito, when signing in ,not able to select gmail account again if selected previously. Used ephemeralWebSession in iOS to tackle same problem but not working in android

-Android

Using it with Aws auth for opening browser in app.

async function urlOpener(url, redirectUrl) { await InAppBrowser.isAvailable(); const { type, url: newUrl } = await InAppBrowser.openAuth(url, redirectUrl, { showTitle: true, enableUrlBarHiding: true, enableDefaultShare: false, ephemeralWebSession: true, forceCloseOnRedirection:true, showInRecents:false }) if (type == 'success') { Linking.openURL(newUrl); } }

Amplify.configure({...awsmobile, "oauth" : { ...oauth, urlOpener }})

luisfuertes commented 9 months ago

Same problem here

alexKudryavtsev-web commented 8 months ago

@luisfuertes and where here? help me, please

mrazekrad commented 2 months ago

Same problem. Any solution for Android?