We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 417eac9 commit 0b3f913Copy full SHA for 0b3f913
src/js/utils/config-utils.js
@@ -106,6 +106,15 @@ async function loadConfigs() {
106
}
107
});
108
109
+ // Disable tempLayers on iOS < 16 (not working because of preflight OPTIONS request)
110
+ const info = await Device.getInfo();
111
+ if (info.platform === 'ios') {
112
+ // info.osVersion is usually like "15.6.1" or "16.0"
113
+ const version = parseFloat(info.osVersion);
114
+ if (version < 16.0) {
115
+ config.tempLayers = [];
116
+ }
117
118
// Filter temp layers
119
config.tempLayers = config.tempLayers.filter((layer) => {
120
if (!layer.isProdReady && Capacitor.getPlatform() !== "web") {
0 commit comments