proyecto26 / react-native-inappbrowser

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

Blank SFSafariViewController content #222

Open SudoPlz opened 3 years ago

SudoPlz commented 3 years 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.

Not entirely sure WHEN that happens but there's a thread about it here https://stackoverflow.com/questions/46439142/sfsafariviewcontroller-blank-in-ios-11-xcode-9-0

For me this happened whenever I tried to open (not openAuth) a url that looked like https://subdomain.domain.com/path/path2?queryParam=true

SudoPlz commented 3 years ago

just pushed a fix for that ^

gbalduzzi commented 3 years ago

I can confirm the issue: on iOS <= 12.5, the first presentation works fine but the second time you try to open the inappbrowser you get a blank page/interface, as you can see here:

Schermata 2021-02-24 alle 12 21 12

After I clear all Safari cache/cookies, the page renderes properly for one time before getting stuck again.

Note: using openAuth and setting ephemeralWebSession: true prevents the problem. I don't need an auth flow though, so it is not a valid solution