Skip to content

Commit 0406e84

Browse files
committed
fix(app): Cordova on iOS - ERROR Internal navigation rejected for about:blank quasarframework#5901 quasarframework#4950
1 parent 2598347 commit 0406e84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/cordova/cordova-config.js

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ class CordovaConfig {
6969
}
7070
}
7171

72+
// needed for QResizeObserver until ResizeObserver Web API is supported by all platforms
73+
if (!root.find(`allow-navigation[@href='about:*']`)) {
74+
et.SubElement(root, 'allow-navigation', { href: 'about:*' })
75+
}
76+
7277
this.__save(doc)
7378
}
7479

0 commit comments

Comments
 (0)