You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,20 @@ Other possible values are `1` (`MIXED_CONTENT_NEVER_ALLOW`) and `2` (`MIXED_CONT
93
93
94
94
Preferences only available for iOS platform
95
95
96
+
#### iosScheme
97
+
98
+
```xml
99
+
<preferencename="iosScheme"value="httpsionic" />
100
+
```
101
+
102
+
Default value is `ionic`
103
+
104
+
Configures the Scheme the app uses to load the content.
105
+
106
+
Values like `http`, `https` or `file` are not valid and will use default value instead.
107
+
108
+
If you change it, you'll need to add a new `allow-navigation` entry in the `config.xml` for the configured scheme (i.e `<allow-navigation href="httpsionic://*"/>` if `iosScheme` is set to `httpsionic`).
109
+
96
110
#### WKSuspendInBackground
97
111
98
112
```xml
@@ -128,9 +142,9 @@ Whether to use a dark styled keyboard on iOS
128
142
129
143
* The default origin for requests from the Android WebView is `http://localhost`. If `Hostname` and `Scheme` preferences are set, then origin will be `schemeValue://HostnameValue`.
130
144
131
-
1. Apps are now served from `ionic://` scheme on iOS.
145
+
1. Apps are now served from `ionic://` scheme on iOS by default.
132
146
133
-
* The default origin for requests from the iOS WebView is `ionic://localhost`. If `Hostname` preference is set, then origin will be `ionic://HostnameValue`.
147
+
* The default origin for requests from the iOS WebView is `ionic://localhost`. If `Hostname` and `iosScheme` preferences are set, then origin will be `iosSchemeValue://HostnameValue`.
134
148
135
149
1. Replace any usages of `window.Ionic.normalizeURL()` with `window.Ionic.WebView.convertFileSrc()`.
0 commit comments