[TIMOB-26443] iOS: App crashing while playing Youtube Video in WebView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2018-11-27T06:53:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | WebView, applebug |
Reporter | shumne |
Assignee | Vijay Singh |
Created | 2018-10-03T12:38:44.000+0000 |
Updated | 2018-11-27T06:53:22.000+0000 |
Description
App is crashing when working with youtube videos. Please check out the video attached.
index.xml
Index.js
$.index.open();
Attachments
File | Date | Size |
---|---|---|
TestWebViewApp.zip | 2018-10-04T10:04:32.000+0000 | 64196 |
videoIssue.mov | 2018-10-03T12:38:19.000+0000 | 7879882 |
Videotest.mov | 2018-10-03T22:44:24.000+0000 | 9193262 |
Hello, I tested your sample code in a sample app. There isn't an issue in my test, The video plays fine. Changing video works fine too. See my video "Videotest.mov". Thanks.
Hey Can you please test this on iOS 12? With the above configuration? It is not crashing on any version of iOS 11. As I can see you are running it on iOS 11.2!
Even APM is also reporting this crashing issue on the Appcelerator Performance dashboard only for iOS 12.
This issue is happening on native iOS as well. I have attached a native iOS app 'TestWebViewApp.zip'. If you run this app on iOS12 and play video, it will crash. This is bug from Apple side. I will file bug to apple for same.
Is there any workaround to resolve this issue? Or do we have to wait for Apple to release another version of iOS/Xcode for this fix? Can you please also share the details of the bug you guys are filing to Apple.
Hello [~shumne], Since it's a native bug from Apple side. We have to wait for support from them. There isn't a workaround besides letting them know about it for faster response. We will let you know if we hardback from them. Thanks.
[~shumne] You can try to use [Ti.WKWebview](https://github.com/appcelerator-modules/Ti.WKWebView/releases) module which uses WebKit framework if it suits to you. I believe this issue should not be there. Thanks!
Hi Vijay, I have tried the Ti.WKWebview but it is causing the crashing issue on launch. I have tried that example given on the GitHub repo. Can you please let help us to get the working code for that module? Thanks Snehal.
[~shumne] Which version of Ti.WKWebView? I tried with 2.8.3 and it is working fine. I believe you are using code mentioned inside example/app.js.
Hi Vijay, Yes it is the same version with the same code. I am running on iOS 12. Please find the link of the video. [https://drive.google.com/file/d/1t46apf2isfIKYWXZz_wKJVOsy3R8KcA9/view](https://drive.google.com/file/d/1t46apf2isfIKYWXZz_wKJVOsy3R8KcA9/view) Please let me know if I am missing anything. Just FYI If I remove the wkwebview related code it is working fine. Thanks, Snehal.
Oh wait, Hans publishes the new version, I thought it was same. Let me check on that
[~shumne], Did you manage to check on your end? Let us know the current status of your issue and if you need any further help. Thanks