iOS issue when restorting app from background (screen stays white) #7097
Replies: 9 comments 10 replies
-
We are experiencing exactly the same problem (we also migrated from cordova to capacitor). Unfortunately, I haven't found the root cause, yet. |
Beta Was this translation helpful? Give feedback.
-
Same problem here, latest capacitor behaves the same on iOS |
Beta Was this translation helpful? Give feedback.
-
Same problem on iOS with Capacitor 5.0.0 Issues reported on iOS 16 and iOS 17. Difficult to reproduce (after several hours and with dozens of other apps open to make pression on memory), XCode logs :
|
Beta Was this translation helpful? Give feedback.
-
I've been having this same issue on a Ionic Cordova project that hasn't been migrated to capacitor yet, so the issue doesn't seem to be capacitor specific. |
Beta Was this translation helpful? Give feedback.
-
If an application is rewriting the url (e.g. using If manually reloading the page ( Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Same problem here, reported by user but I couldn't reproduce it. Hope someone can look into a standard solution soon. |
Beta Was this translation helpful? Give feedback.
-
Same problem here. Do you have any idea how can I fix it? Many of my users reported this error. |
Beta Was this translation helpful? Give feedback.
-
Could this be related to the app trying to reload the current url but it fails because your SPA is set up to handle routing? |
Beta Was this translation helpful? Give feedback.
-
I am experiencing the same issue, using Ionic Angular. I can recreate the issue consistently using the kill WebContent process trick, but only on specific URLs. It seems to be the URLs that use Angular's positional arguments (
The error on resume is then:
If the URL is |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
we originally managed our app with cordova. A few months ago we migrated to capacitor. However, we're having a really frustrating problem under iOS:
When you put the app in the background on iOS and then bring it back to the foreground after a while, the screen stays completely white and the app is no longer visible. The only way to fix it is to quit and restart the app. This makes the app very difficult to use for our iOS users. I think the problem is that the app isn't restoring properly from the frozen state.
Has anyone else had a similar problem? Can you give us any helpful tips on how to fix it? We'd really appreciate it if we could get this resolved as soon as possible. It's a very urgent issue.
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions