Explore WKWebView additions

RSS for tag

Discuss the WWDC21 session Explore WKWebView additions.

Posts under wwdc21-10032 tag

73 Posts

Post

Replies

Boosts

Views

Activity

RTCPeerConnection is undefined on page loaded in Mac WKwebview
Hello I have a webrtc-based web app that is loaded inside a WKWebView. The web app gets loaded just fine in our iOS App running WKWebView on an iPad with iOS 15.1. We are using the exact same app, built for Mac Catalyst. However, on the Mac version, the web app gets loaded but the RTCPeerConnection object is undefined.. Meaning that our web app assumes that WebRTC is not available in that browser. Isn't the native app supposed to work the exact same on iOS and MacOS? Is the Mac version of WKWebView more limited than its iOS counterpart ? Is there any resource that states exactly what is supported in WKWebview in each platform? Thanks
3
0
2.1k
Nov ’24
wkWebView, Trusted Domain, and Autofill/KeyChain Issue
We have been searching for almost one year for answers as to why wkWebView using an Entitled Domain will allow Autofill with KeyChain to fill credentials, but will not trigger Autofill to store/save them. In other words, if users have previously stored credentials in Safari while visiting domain X, subsequent visited to wkWebView with entitled domain X will allow use of those credentials in wkWebView through the Autofill/Keychain dialogue. However, users cannot save/store credentials within wkWebView in Trusted domain X because the save dialogue is never triggered.
3
0
2.4k
Sep ’23
Clear App Cache
I am using WKWebView inside my Swift App for SSO login. Now, SSO session is retained due to cookies saved. In Android there's an option to clear the cache or clear data from their settings Apps. Can I make my iOS App eligible for such a feature? I don't want to give an option inside my Application to clear the cache. is there any external option available which can be used for this inspite of Re-installing the application.
1
0
7.2k
Jun ’23
WKWebView and WebAuthn seems broken in iOS 15.4. Did something change?
WKWebView and WebAuthn seems broken in iOS 15.4. Did something change, are they broken? To explain in more detail, when attempting to use a WebAuthn enabled web application in previous versions of iOS, the browser (WKWebView) reports "Not Supported". Trying the same in iOS 15.4, both simulator and device does not report "Not supported" and attempting a WebAuthn challenge gets stuck. Additionally, it seems not respect timeout times. An easy example is to run a simple test app with a WebView, load "https://webauthn.io/" and see the results. (See attachments). This has been tested in more vendors as well with similar results. I am posting here some results from webauthn.io that clearly demonstrate the behaviour change without any other moving parts. This causes multiple authentication issues on some 3rd party apps, when the authentication journeys include WebAuthn challenges. Is there a bug in WKWebViews, is that intended and if so how is someone supposed to get around that? Please let me know if you need code samples or for me to raise a bug report. Thanks in advance, George Bafaloukas
1
0
4.1k
May ’22
Error Domain=RBSAssertionErrorDomain
Im getting the below error with my webview. WKWebview loads a webpage and goes to payment page but the call back from payment page doesnot work. The app shows a balnk page and gives this error.Any body fixed this error ? [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}> 2022-05-16 22:56:14.883387+0200 Buydeal[56073:4625324] [ProcessSuspension] 0x1150b0de0 - ProcessAssertion: Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=56079, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
0
0
2.1k
May ’22
IOS 15.4 Scorm will stuck when playing video
hi everyone, is there anyone meet same problem with me? if yes please tell me the solution plz is urgent. my situation is project created with webview by swift native Xcode and when i loaded success website that embedded scorm.js it will stuck in the middle of playing full content scorm , this issue happen in IOS 15.4 previous version don have this issue...
0
0
1.3k
May ’22
wasm on iOS app
Hi I would like to ask if the webassembly technology is supported by wkwebview or if there are particular limitations. The second question is once an app has been developed where I have some sections inside that make use of web assembly modules, is it possible to publish them on the appstore or are there limitations? thanks for the replies.
0
0
2.8k
May ’22
WKWebView causes our application to go unresponsive
Our iOS Application goes unResponsive, when loading embedded WebComponent in WKWebView , that renders on its internal HTML5 Canvas. The issues manifests in the following 2 scenarios, in iOS 15 and its subsequent releases ( such as 15.1, 15.4, and also in the latest 15.4.1 ). This issue was not seen in iOS Releases prior to 15 ( such as iOS 14.4 ) The App goes non-responsive, when we load at least 2 WKWebView, which call rendering on its HTML5 Canvas. The App is slow and goes non-responsive, when the orientation changes whilst the WKWebView is in the process of being rendered. When the App goes in this state, we see the following message in the debug console. `2022-04-25 16:43:29.304355+0530 LMAX ALL[32857:7260449] [Process] 0x1522f0600 - [PID=32865] WebProcessProxy::requestTermination: reason=7 2022-04-25 16:43:29.305302+0530 LMAX ALL[32857:7260449] [Process] 0x1522f0600 - [PID=32865] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=7 2022-04-25 16:43:29.310933+0530 LMAX ALL[32857:7260449] [Process] 0x7fcf4b05b220 - [pageProxyID=5, webPageID=6, PID=32865] WebPageProxy::processDidTerminate: (pid 32865), reason 7 2022-04-25 16:43:29.324730+0530 LMAX ALL[32857:7260449] [Loading] 0x7fcf4b05b220 - [pageProxyID=5, webPageID=6, PID=32865] WebPageProxy::dispatchProcessDidTerminate: reason=7 2022-04-25 16:43:29.345071+0530 LMAX ALL[32857:7263902] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}> 2022-04-25 16:43:29.345378+0530 LMAX ALL[32857:7263902] [ProcessSuspension] 0x1522fed20 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=32865, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit} 2022-04-25 16:43:29.375449+0530 LMAX ALL[32857:7263902] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}> 2022-04-25 16:43:29.375583+0530 LMAX ALL[32857:7263902] [ProcessSuspension] 0x1522fede0 - ProcessAssertion: Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=32865, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist} `
1
0
3.0k
May ’22
Save Password dialogue not triggered in wkWebView
The Save Password / KeyChain dialogue is not presented upon entry of credentials in a wkWebView authorization view. While the domain is properly entitled and the KeyChain auto-fill does appear to FILL credentials that may already exist from Safari, the save user/password dialogue never displays on a change or if no prior credentials exist in Safari. Is this expected behavior? Clearly the entitlement of the domain allows the auto-fill to function properly.
0
0
1.4k
May ’22
When will ScrollView for wkWebView for MacOS be implemented?
I submitted a version of this question 3 years ago. There has not been an answer. 662 developers are watching that question. As requested by KMT I submitted a bug report. Others had submitted a similar bug report before me. As far as I can tell, nothing has been done to address this issue. Not addressing this issue amounts to disturbing negligence. This is important! WebView is flakey. It needs to be replaced. Apple Engineering: Please accept responsibility for this issue and respond with a date when we can expect a solution.
0
0
849
Apr ’22
Cookie not loading in WKWebView
I'm currently working on a web view that takes a js plugin via .evaluateJavaScript(). The js script will read a cookie and send it along with requests to a url that is different from the url of the web view. I have this cookie in the URLSession.shared.configuration.httpCookieStorage, and initialized the webView with the default init() without passing any parameters. However, upon injecting the js, the required cookies does not appear in the webpage's storage (using safari inspector). I tried to do an output of the webView.configuration.websiteDataStore.httpCookieStore.getAllCookies(), and the result shows the specific cookie is there. Hence I'm confused about it. Anyone could help me with that would be greatly appreciated.
2
0
977
Apr ’22
Delegate Method on WKUIDelegate
In the session, regarding prompting user for camera or microphone permission, the delegate method shown in the code snippet is the following: func webView(_ webView: WKWebView, decideMediaCapturePermissionFor origin: WKSecurityOrigin, initiatedByFrame frame: WKFrameInfo, type: WKMediaCaptureType) async -> WKPermissionDecision { return type == .microphone ? .prompt : .deny } But, I couldn't find this method in the documentation. Instead, I found this: func webView(_ webView: WKWebView, requestMediaCapturePermissionFor origin: WKSecurityOrigin, initiatedByFrame frame: WKFrameInfo, type: WKMediaCaptureType, decisionHandler: @escaping (WKPermissionDecision) -> Void) Which one is the latest? Thanks!
4
0
2.8k
Mar ’22
can we use Webview in app, with swift language.
Hi Support, We need your Help. For the selected functionality, we want to create Webview in our Mobile App . The rest of the functionality in our mobile app will be in Native swift. We want to know if the above method is acceptable to Apple? ie Will Apple Reject my Mobile APP from app store (either at the time of submission or few weeks/months later) because I used Webview in Mobile App? We tried to look for the answers in Apple ios help docs but we couldn't find any. We must know for sure if our app is following 100% Apple app store rules or not. The business impact of rejection of our app will be disastrous for us - financially and otherwise. Hence we want to get the direct response and confirmation from Apple Please provide a detailed and clear answer. Thanks Helios Advisory Team
0
0
579
Mar ’22
PWA and Hybrid application - iOS Application submission
Hi, We are planning to create a PWA application for iOS and android users for our functionalities. We have few queries, Kindly guide us Does apple support the PWA application submission in App Store ? Any limitation.. If we load the PWA URL in WKWebview in native app and generate native app, does apple allow this build to submit in store.. Any limitation . Thank you
0
0
971
Mar ’22
Issues with embedded website
Hello everyone I hope someone can help with my issue. We have a web application that we are using a ZStack to create a view in order to show the app within a swift application. The issue we are having is that when we interact with our application the bottom safe area expands and my team and I aren't sure how to fix this. This is the image before we interact with the application and this the same screen shot after we interact with one of the shown buttons. Any help will be appreciated.
3
0
667
Mar ’22
WKWebView getUserMedia microphone gets muted in background
First, thank you for adding getUserMedia to WKWebview. Now, I have a webrtc session with audio and video going both directions, problem is that when the app goes to background I can only hear the incoming audio on the iPhone side, but the mic audio is not being sent from the iPhone to the remote side. Using the new iOS 15 API I can see that wkwebview.microphoneCaptureState becomes muted shortly after applicationDidEnterBackground (using wkwebview.setMicrophoneCaptureState to active doesn't help when in the background either). I see this issue in iOS 15 beta 8 and also in iOS 14.7. If using the native mic capture with AVAudioSession then the mic continues to work in the background, so I background modes are good. Is there some config I can set to continue having the mic working in the background? Thank you
8
0
6.6k
Mar ’22
WebRTC audio call on in-App WKWebview not working in device above iOS 14.3.
WebRTC audio call is not working in my in-app WKWebView , its working in safari browser , i am using above iOS 14.3 and Xcode 13 . I saw in one of apple webkit release that they are now supporting WebRTC in WKWebView above iOS 14.3. When I do in app call in WKWebView I gets, "Thank you for calling! unfortunately, Apple only supports calling in safari on iOS, please copy and paste the URL in safari" I checked by downloading one working video streaming sample app which is having Cordova to run HTML for permissions like microphone and camera and using one adapter.js file which I compared with my app implemented adapter.js file ,both was having same code . So the video stream is woking in that downloaded sample code but audio call is not working on my in app browser. requesting to give comments on this ,I have release and I am stuck here .
0
0
978
Feb ’22
Meteor web app not working in WKWebview
I have a swift 5 iOS native app in which I'm trying to add a web view to display another part of our project which is written in Meteor 2.5.3 as a web app. I have the web view up and running but it only shows the loading screen and never moves to the OAuth or the login screen of our Meteor web app. I assume this is because Meteor uses "Data on the wire" (I think this is just a web-socket) to deliver data to be rendered by the client. Is there a way I can listen to the data coming from Meteor to get my web-view to display and function properly?
0
0
1.2k
Feb ’22
RTCPeerConnection is undefined on page loaded in Mac WKwebview
Hello I have a webrtc-based web app that is loaded inside a WKWebView. The web app gets loaded just fine in our iOS App running WKWebView on an iPad with iOS 15.1. We are using the exact same app, built for Mac Catalyst. However, on the Mac version, the web app gets loaded but the RTCPeerConnection object is undefined.. Meaning that our web app assumes that WebRTC is not available in that browser. Isn't the native app supposed to work the exact same on iOS and MacOS? Is the Mac version of WKWebView more limited than its iOS counterpart ? Is there any resource that states exactly what is supported in WKWebview in each platform? Thanks
Replies
3
Boosts
0
Views
2.1k
Activity
Nov ’24
wkWebView, Trusted Domain, and Autofill/KeyChain Issue
We have been searching for almost one year for answers as to why wkWebView using an Entitled Domain will allow Autofill with KeyChain to fill credentials, but will not trigger Autofill to store/save them. In other words, if users have previously stored credentials in Safari while visiting domain X, subsequent visited to wkWebView with entitled domain X will allow use of those credentials in wkWebView through the Autofill/Keychain dialogue. However, users cannot save/store credentials within wkWebView in Trusted domain X because the save dialogue is never triggered.
Replies
3
Boosts
0
Views
2.4k
Activity
Sep ’23
Clear App Cache
I am using WKWebView inside my Swift App for SSO login. Now, SSO session is retained due to cookies saved. In Android there's an option to clear the cache or clear data from their settings Apps. Can I make my iOS App eligible for such a feature? I don't want to give an option inside my Application to clear the cache. is there any external option available which can be used for this inspite of Re-installing the application.
Replies
1
Boosts
0
Views
7.2k
Activity
Jun ’23
WKWebView and WebAuthn seems broken in iOS 15.4. Did something change?
WKWebView and WebAuthn seems broken in iOS 15.4. Did something change, are they broken? To explain in more detail, when attempting to use a WebAuthn enabled web application in previous versions of iOS, the browser (WKWebView) reports "Not Supported". Trying the same in iOS 15.4, both simulator and device does not report "Not supported" and attempting a WebAuthn challenge gets stuck. Additionally, it seems not respect timeout times. An easy example is to run a simple test app with a WebView, load "https://webauthn.io/" and see the results. (See attachments). This has been tested in more vendors as well with similar results. I am posting here some results from webauthn.io that clearly demonstrate the behaviour change without any other moving parts. This causes multiple authentication issues on some 3rd party apps, when the authentication journeys include WebAuthn challenges. Is there a bug in WKWebViews, is that intended and if so how is someone supposed to get around that? Please let me know if you need code samples or for me to raise a bug report. Thanks in advance, George Bafaloukas
Replies
1
Boosts
0
Views
4.1k
Activity
May ’22
Error Domain=RBSAssertionErrorDomain
Im getting the below error with my webview. WKWebview loads a webpage and goes to payment page but the call back from payment page doesnot work. The app shows a balnk page and gives this error.Any body fixed this error ? [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}> 2022-05-16 22:56:14.883387+0200 Buydeal[56073:4625324] [ProcessSuspension] 0x1150b0de0 - ProcessAssertion: Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=56079, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
Replies
0
Boosts
0
Views
2.1k
Activity
May ’22
IOS 15.4 Scorm will stuck when playing video
hi everyone, is there anyone meet same problem with me? if yes please tell me the solution plz is urgent. my situation is project created with webview by swift native Xcode and when i loaded success website that embedded scorm.js it will stuck in the middle of playing full content scorm , this issue happen in IOS 15.4 previous version don have this issue...
Replies
0
Boosts
0
Views
1.3k
Activity
May ’22
wasm on iOS app
Hi I would like to ask if the webassembly technology is supported by wkwebview or if there are particular limitations. The second question is once an app has been developed where I have some sections inside that make use of web assembly modules, is it possible to publish them on the appstore or are there limitations? thanks for the replies.
Replies
0
Boosts
0
Views
2.8k
Activity
May ’22
WKWebView causes our application to go unresponsive
Our iOS Application goes unResponsive, when loading embedded WebComponent in WKWebView , that renders on its internal HTML5 Canvas. The issues manifests in the following 2 scenarios, in iOS 15 and its subsequent releases ( such as 15.1, 15.4, and also in the latest 15.4.1 ). This issue was not seen in iOS Releases prior to 15 ( such as iOS 14.4 ) The App goes non-responsive, when we load at least 2 WKWebView, which call rendering on its HTML5 Canvas. The App is slow and goes non-responsive, when the orientation changes whilst the WKWebView is in the process of being rendered. When the App goes in this state, we see the following message in the debug console. `2022-04-25 16:43:29.304355+0530 LMAX ALL[32857:7260449] [Process] 0x1522f0600 - [PID=32865] WebProcessProxy::requestTermination: reason=7 2022-04-25 16:43:29.305302+0530 LMAX ALL[32857:7260449] [Process] 0x1522f0600 - [PID=32865] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=7 2022-04-25 16:43:29.310933+0530 LMAX ALL[32857:7260449] [Process] 0x7fcf4b05b220 - [pageProxyID=5, webPageID=6, PID=32865] WebPageProxy::processDidTerminate: (pid 32865), reason 7 2022-04-25 16:43:29.324730+0530 LMAX ALL[32857:7260449] [Loading] 0x7fcf4b05b220 - [pageProxyID=5, webPageID=6, PID=32865] WebPageProxy::dispatchProcessDidTerminate: reason=7 2022-04-25 16:43:29.345071+0530 LMAX ALL[32857:7263902] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}> 2022-04-25 16:43:29.345378+0530 LMAX ALL[32857:7263902] [ProcessSuspension] 0x1522fed20 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=32865, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit} 2022-04-25 16:43:29.375449+0530 LMAX ALL[32857:7263902] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}> 2022-04-25 16:43:29.375583+0530 LMAX ALL[32857:7263902] [ProcessSuspension] 0x1522fede0 - ProcessAssertion: Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=32865, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist} `
Replies
1
Boosts
0
Views
3.0k
Activity
May ’22
Save Password dialogue not triggered in wkWebView
The Save Password / KeyChain dialogue is not presented upon entry of credentials in a wkWebView authorization view. While the domain is properly entitled and the KeyChain auto-fill does appear to FILL credentials that may already exist from Safari, the save user/password dialogue never displays on a change or if no prior credentials exist in Safari. Is this expected behavior? Clearly the entitlement of the domain allows the auto-fill to function properly.
Replies
0
Boosts
0
Views
1.4k
Activity
May ’22
how turn off safari experimental features from WKWebView
I am using WKWebView to run a react app inside my IOS app. I managed to turn off the experimental feature (NSURL Session WebSocket) of safari on the device's settings. But how do I do the same on code for WKWebView?
Replies
1
Boosts
0
Views
2.5k
Activity
Apr ’22
When will ScrollView for wkWebView for MacOS be implemented?
I submitted a version of this question 3 years ago. There has not been an answer. 662 developers are watching that question. As requested by KMT I submitted a bug report. Others had submitted a similar bug report before me. As far as I can tell, nothing has been done to address this issue. Not addressing this issue amounts to disturbing negligence. This is important! WebView is flakey. It needs to be replaced. Apple Engineering: Please accept responsibility for this issue and respond with a date when we can expect a solution.
Replies
0
Boosts
0
Views
849
Activity
Apr ’22
Cookie not loading in WKWebView
I'm currently working on a web view that takes a js plugin via .evaluateJavaScript(). The js script will read a cookie and send it along with requests to a url that is different from the url of the web view. I have this cookie in the URLSession.shared.configuration.httpCookieStorage, and initialized the webView with the default init() without passing any parameters. However, upon injecting the js, the required cookies does not appear in the webpage's storage (using safari inspector). I tried to do an output of the webView.configuration.websiteDataStore.httpCookieStore.getAllCookies(), and the result shows the specific cookie is there. Hence I'm confused about it. Anyone could help me with that would be greatly appreciated.
Replies
2
Boosts
0
Views
977
Activity
Apr ’22
Delegate Method on WKUIDelegate
In the session, regarding prompting user for camera or microphone permission, the delegate method shown in the code snippet is the following: func webView(_ webView: WKWebView, decideMediaCapturePermissionFor origin: WKSecurityOrigin, initiatedByFrame frame: WKFrameInfo, type: WKMediaCaptureType) async -> WKPermissionDecision { return type == .microphone ? .prompt : .deny } But, I couldn't find this method in the documentation. Instead, I found this: func webView(_ webView: WKWebView, requestMediaCapturePermissionFor origin: WKSecurityOrigin, initiatedByFrame frame: WKFrameInfo, type: WKMediaCaptureType, decisionHandler: @escaping (WKPermissionDecision) -> Void) Which one is the latest? Thanks!
Replies
4
Boosts
0
Views
2.8k
Activity
Mar ’22
can we use Webview in app, with swift language.
Hi Support, We need your Help. For the selected functionality, we want to create Webview in our Mobile App . The rest of the functionality in our mobile app will be in Native swift. We want to know if the above method is acceptable to Apple? ie Will Apple Reject my Mobile APP from app store (either at the time of submission or few weeks/months later) because I used Webview in Mobile App? We tried to look for the answers in Apple ios help docs but we couldn't find any. We must know for sure if our app is following 100% Apple app store rules or not. The business impact of rejection of our app will be disastrous for us - financially and otherwise. Hence we want to get the direct response and confirmation from Apple Please provide a detailed and clear answer. Thanks Helios Advisory Team
Replies
0
Boosts
0
Views
579
Activity
Mar ’22
PWA and Hybrid application - iOS Application submission
Hi, We are planning to create a PWA application for iOS and android users for our functionalities. We have few queries, Kindly guide us Does apple support the PWA application submission in App Store ? Any limitation.. If we load the PWA URL in WKWebview in native app and generate native app, does apple allow this build to submit in store.. Any limitation . Thank you
Replies
0
Boosts
0
Views
971
Activity
Mar ’22
Issues with embedded website
Hello everyone I hope someone can help with my issue. We have a web application that we are using a ZStack to create a view in order to show the app within a swift application. The issue we are having is that when we interact with our application the bottom safe area expands and my team and I aren't sure how to fix this. This is the image before we interact with the application and this the same screen shot after we interact with one of the shown buttons. Any help will be appreciated.
Replies
3
Boosts
0
Views
667
Activity
Mar ’22
WKWebView getUserMedia microphone gets muted in background
First, thank you for adding getUserMedia to WKWebview. Now, I have a webrtc session with audio and video going both directions, problem is that when the app goes to background I can only hear the incoming audio on the iPhone side, but the mic audio is not being sent from the iPhone to the remote side. Using the new iOS 15 API I can see that wkwebview.microphoneCaptureState becomes muted shortly after applicationDidEnterBackground (using wkwebview.setMicrophoneCaptureState to active doesn't help when in the background either). I see this issue in iOS 15 beta 8 and also in iOS 14.7. If using the native mic capture with AVAudioSession then the mic continues to work in the background, so I background modes are good. Is there some config I can set to continue having the mic working in the background? Thank you
Replies
8
Boosts
0
Views
6.6k
Activity
Mar ’22
WebRTC audio call on in-App WKWebview not working in device above iOS 14.3.
WebRTC audio call is not working in my in-app WKWebView , its working in safari browser , i am using above iOS 14.3 and Xcode 13 . I saw in one of apple webkit release that they are now supporting WebRTC in WKWebView above iOS 14.3. When I do in app call in WKWebView I gets, "Thank you for calling! unfortunately, Apple only supports calling in safari on iOS, please copy and paste the URL in safari" I checked by downloading one working video streaming sample app which is having Cordova to run HTML for permissions like microphone and camera and using one adapter.js file which I compared with my app implemented adapter.js file ,both was having same code . So the video stream is woking in that downloaded sample code but audio call is not working on my in app browser. requesting to give comments on this ,I have release and I am stuck here .
Replies
0
Boosts
0
Views
978
Activity
Feb ’22
Meteor web app not working in WKWebview
I have a swift 5 iOS native app in which I'm trying to add a web view to display another part of our project which is written in Meteor 2.5.3 as a web app. I have the web view up and running but it only shows the loading screen and never moves to the OAuth or the login screen of our Meteor web app. I assume this is because Meteor uses "Data on the wire" (I think this is just a web-socket) to deliver data to be rendered by the client. Is there a way I can listen to the data coming from Meteor to get my web-view to display and function properly?
Replies
0
Boosts
0
Views
1.2k
Activity
Feb ’22
YouTube embedded video paused in each second in iOS swift
I am using GSPlayer for playing video in background screen and I also have to play YouTube video in a view but YouTube video gets amused in each second, if any one can please solve my problem it would be pleasure,
Replies
0
Boosts
0
Views
806
Activity
Feb ’22