Hello,
When I run our Capacitor 6 app on an older iOS version (this case 16.2, we got bug reports with the same symptoms from users with 15.3), the screen will stay blank after the splash-screen (which has auto-hide configured).
When I connect with the Safari debugger, I don’t see anything in the console, but when I reload the page, I get following error messages in the console:
[Warning] Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading (js, line 300)
[Error] SyntaxError: Unexpected token '{' — polyfills.0446d44f78953af8.js:1
error
(anonymous function) (user-script:2:866)
(anonymous function)
promiseReactionJob
[Error] SyntaxError: Unexpected token '{'
(anonymous function) (polyfills.0446d44f78953af8.js:1)
[Error] SyntaxError: Unexpected token '{' — main.9368107140ab66a9.js:1
error
(anonymous function) (user-script:2:866)
(anonymous function)
promiseReactionJob
[Error] SyntaxError: Unexpected token '{'
(anonymous function) (main.9368107140ab66a9.js:1)
I’m not sure what to make of the error. Is webkit too old, maybe? Capacitor requires iOS 13 as a minimum OS version, so I’m wondering what’s going wrong.
The same app runs fine on an iOS 18 device.
Any help is greatly appreciated.
Some more info:
first few lines of polyfills.js
(self.webpackChunkapp = self.webpackChunkapp || []).push([[3461], {
90321: (Lt, yt, lt) => {
"use strict";
const H = ":";
Error;
const Gt = function(u, ...f) {
if (Gt.translate) {
const _ = Gt.translate(u, f);
first few lines of main.js:
(self.webpackChunkapp = self.webpackChunkapp || []).push([[8792], {
41760: function(ze, ce, l) {
"use strict";
var i = this && this.__extends || function() {
var g = function(p, y) {
return (g = Object.setPrototypeOf || {
```