react-native-inappbrowser
react-native-inappbrowser copied to clipboard
Blank SFSafariViewController content
Which platform(s) does your issue occur on?
- iOS
- iOS version 12.4
- Both simulator and device
Please, provide the following version numbers that your issue occurs with:
- CLI: 4.13.1
- Plugin(s): "react-native-inappbrowser-reborn": "3.5.1"
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
just pushed a fix for that ^
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:

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