EddyVerbruggen / cordova-plugin-safariviewcontroller

:tiger: :elephant: :crocodile: Forget InAppBrowser for iOS - this is way better for displaying read-only web content in your PhoneGap app
MIT License
281 stars 143 forks source link

Use SafariViewController instead of WKWebView (iOS) #156

Closed abardik closed 4 years ago

abardik commented 4 years ago

Hello. Is it possible to use SafariViewController instead of main WKWebView in iOS? I need to use WebRTC in my app, but it's unavailable in WKWebView, so I have to use iosrtc plugin now. So, I tried this:

<plugin name="cordova-plugin-safariviewcontroller"/>
<preference name="CordovaWebViewEngine" value="SafariViewController"/>

but after splash screen is faded away there is nothing left (or maybe transparent, because I see my running app in task manager, can switch to it, but again - nothing or transparent).

Any advice?

Thanks.

EddyVerbruggen commented 4 years ago

No. That's not possible.