ionic-team / ionic-team/cordova-plugin-ionic-webview

(iOS) Infinite Loop when a "NSURLErrorCancelled -999" is received on didFailLoadWithError

Open
#622 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
493
Forks
410
PR merge metrics
No merged PRs in 30d

Description

**Problem**

Infinite loop in didFailNavigation.

**What is expected to happen?**

Should not infinite loop.

**What does actually happen?**

Infinite loop with failed loads of the error URL.

**Command or Code**

As described. It seemed to depend a bit on timing, so I can't easily provide a code sample that consistently replicated the issue.

**Environment, Platform, Device**

Various different iOS devices and simulators.

this is more prominent on ios 12.4 in my case, interestingly this is working fine on latest os.

Version information

cordova-plugin-ionic-webview - 4.2.1

cordova-plugin-wkwebview-engine already fixed this issue, at the below issue
https://github.com/apache/cordova-plugin-wkwebview-engine/issues/83

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.