Posts

Post not yet marked as solved
0 Replies
254 Views
In my app I wanted to read partially downloaded using wkwebview and write to a file periodically before finish navigation called . I don’t find a way to do that I can only read the data on finish navigation. I really want to achieve this through wkwebview to give a resumable download experience to user If data is large and gets interrupted due to slow network or similar issues. I don’t want my app to start fetching again
Posted
by sandsuma.
Last updated
.
Post not yet marked as solved
0 Replies
530 Views
I am using a cordova based iOS app with following details.cordova version - 9.0cordova ios version - 5.0, 5.1., 5.1.1iOS version - iOS 12.1device - iphone 5sI recently migrated to WKWebview from UIWebview. While using WKWebview the LoadRequest fails in didFailProvisionalNavigation with (kCFErrorDomainCFNetwork error 1.)The very first time LoadRequest is always successfull, my app has an requiremnet to refresh the app sometimes after loading, to detect some UI files downloaded from server.After download if I refresh the app to get new UI chanages, A loadRequest of WKwebview returns failure as didFailProvisionalNavigation with (kCFErrorDomainCFNetwork error 1.)This happens only with WKwebview and only on iOS 12.1 device. Same app with WKWebView works absolutely fine on iOS 13 and iOS 12.4 devices.I am using a FileUrl present in app bundle with LoadRequest and also made sure readAcess is enabled for that.Is there any open bug or any workaround suggested for the issue.
Posted
by sandsuma.
Last updated
.