proyecto26 / react-native-inappbrowser

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

InAppBrowser.openAuth stuck in a loop on iOS 16.1 #387

Closed Hellhiem closed 1 year ago

Hellhiem commented 1 year ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Calling the method below causes web view to stuck in infinite loop. It never returns the result

Is there any code involved?

const result = yield InAppBrowser.openAuth(loginUrl, redirectScheme, {
      // iOS Properties
      dismissButtonStyle: 'cancel',
      // Android Properties
      showTitle: false,
      enableUrlBarHiding: true,
      enableDefaultShare: false,
      headers: versionHeaders,
    });
Hellhiem commented 1 year ago

It turns out that Apple changes something in their Safari WebKit and opening the url in Safari also stuck in a loop

nateshmbhat commented 1 year ago

facing the same issue. what is the resolution for this ?

Hellhiem commented 1 year ago

@nateshmbhat it's the general firebase issue.

Check this out: https://github.com/firebase/firebase-js-sdk/issues/6716