ionic-team/ionic-framework

bug: Ionic app not run IOS 15.5

Opened this issue · 2 comments

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

Problems with white screen after splash screen on iphone use ios 15.5

Expected Behavior

Help me find the cause and fix this error

Steps to Reproduce

Turn on the app

Code Reproduction URL

no link

Ionic Info

"@angular/animations": "^18.0.0",
"@angular/common": "^18.0.0",
"@angular/compiler": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/forms": "^18.0.0",
"@angular/platform-browser": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/router": "^18.0.0",
"@capacitor/app": "6.0.1",
"@capacitor/browser": "^6.0.2",
"@capacitor/camera": "^6.0.2",
"@capacitor/core": "6.1.2",
"@capacitor/filesystem": "^6.0.1",
"@capacitor/haptics": "6.0.1",
"@capacitor/ios": "6.1.2",
"@capacitor/keyboard": "6.0.2",
"@capacitor/local-notifications": "^6.1.0",
"@capacitor/push-notifications": "^6.0.2",
"@capacitor/screen-orientation": "^6.0.2",
"@capacitor/share": "^6.0.2",
"@capacitor/splash-screen": "^6.0.2",
"@capacitor/status-bar": "^6.0.1",
"@ionic/angular": "^8.0.0",
"@ionic/storage-angular": "^4.0.0",
"@types/lodash": "^4.17.10",
"highcharts": "^11.4.8",
"ionicons": "^7.2.1",
"lodash": "^4.17.21",
"luxon": "^3.5.0",
"ng2-file-upload": "^7.0.1",
"rxjs": "~7.8.0",
"swiper": "^8.4.5",
"tslib": "^2.3.0",
"zone.js": "~0.14.2"

Additional Information

No response

Keep in mind that Angular officially supports the last 2 major versions of iOS and Safari: https://angular.dev/reference/versions#browser-support
15.5 doesn't fit into that category and Angular will only transpile code down to the version it supports. If you open the JS console you'll probably see exceptions being thrown due to invalid syntax or usage of feature that doesn't exist. You can try adding a custom browserslist file and specify last 4 major versions of iOS (and the same for Safari) and see if the build makes a difference.