Closed yokeshchronus closed 1 year ago
Error -999 is an cancel error.
It means the webview canceled/aborted loading the document. I think this generally happens when the webview is instructed to load a document when a document load is already in progress, but I'm not sure if there are other situations where a cancel error will be thrown.
Can we prevent that in any way ?
Can we prevent that in any way ?
I think we need to determine why the document is being cancelled in the first place before that question can be answered.
cordova-ios has no push notification code and the navigation on push click must be some plugin code or your own code, so closing as not a cordova-ios bug.
Bug Report
Problem
What is expected to happen?
Information
On debugging found out there was some problem in window.location.href = "requiredurltoopen" , this is the line failing and throwing such issues. The same works well in android and older cordova ios version. Would like to know what should we do to avoid such issue?
Command or Code
window.location.href = "requiredurltoopen" when app is not in background
Environment, Platform, Device
Problem is in all ios phones
Version information
Checklist