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
npm version: 10.2.3
node version 18.19.0
App Framework: Angular + Capacitor
Device: iPhone 12 and in the latest version as well
Platforms Affected
iOS
Android
Web
Current Behavior
When the app is resumed:
A blank white screen is displayed.
Inspecting via Safari Web Inspector shows the tag is empty.
No UI or functional elements are visible.
Expected Behavior
The app should resume from where it was paused, with all UI elements intact and functional.
Project Reproduction
I cannot share my project's code due to confidentiality. However, you can use the official Capacitor starter template with angular the reproduction steps are given above
Additional Information
When using my app on an iOS device, if I put the app in the background (pause mode) for several hours, and then resume it later, the app shows a blank white screen. Inspecting the DOM reveals that the tag is empty, and none of the expected UI elements or app content is displayed.
This issue occurs only on iOS devices and does not seem to affect Android.
Steps to Reproduce
Open the app on an iOS device.
Perform normal app operations (any feature or page).
Minimize the app by pressing the home button or switching to another app.
Wait for several hours (or a significant period, like overnight).
Resume the app by selecting it from the background.
The text was updated successfully, but these errors were encountered:
This is usually caused by the WebView being terminated by the OS while the app is in background due to low memory.
That causes the WebView to reload and depending on how your app is built/configured can cause the white screen, i.e. if you use a router and it's not able to "recreate" the page from the current url.
Here you can see some different solutions for different frameworks #7097
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Capacitor Version
5.7.0
Other API Details
npm version: 10.2.3 node version 18.19.0 App Framework: Angular + Capacitor Device: iPhone 12 and in the latest version as well
Platforms Affected
Current Behavior
When the app is resumed:
A blank white screen is displayed.
Inspecting via Safari Web Inspector shows the tag is empty.
No UI or functional elements are visible.
Expected Behavior
The app should resume from where it was paused, with all UI elements intact and functional.
Project Reproduction
I cannot share my project's code due to confidentiality. However, you can use the official Capacitor starter template with angular the reproduction steps are given above
Additional Information
When using my app on an iOS device, if I put the app in the background (pause mode) for several hours, and then resume it later, the app shows a blank white screen. Inspecting the DOM reveals that the tag is empty, and none of the expected UI elements or app content is displayed.
This issue occurs only on iOS devices and does not seem to affect Android.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: