jellyfin / jellyfin-expo

Jellyfin Mobile for iOS
https://jellyfin.org
Mozilla Public License 2.0
292 stars 63 forks source link

White screen when returning to app #396

Open tknx opened 1 year ago

tknx commented 1 year ago

Describe the bug

If I go away from the app and then go to the app switcher, the app will show a white screen. Sometimes refreshing by pulling down fixes it but most of the time not.

System (please complete the following information):

To Reproduce

  1. Start Jellyfin
  2. Switch to another app and leave Jellyfin in the background d for some time
  3. Swipe up to get app switcher and can see white screen attached to Jellyfin app
  4. See error

Expected behavior App resumes

Screenshots

I'll add some when next time it happens.

Additional context

None

tknx commented 1 year ago

Here are some screenshots

image

image

thornbill commented 1 year ago

I've never seen this one. Were you playing a video before leaving the app? Or is there a chance the server was temporarily unavailable due to a network status change or something?

anthonylavado commented 1 year ago

I occasionally get this. I just pull down to refresh and it's good. I haven't monitored what it is that could be causing it. I don't believe playback is involved at all. It's almost like a session timing out.

tknx commented 1 year ago

@thornbill it happens pretty consistently for me and I suspect it is a timeout or memory clearing of the iOS device.

But that being said, a pull down refresh only works sometimes for me, I often have to forcequit the app and reload.

thornbill commented 1 year ago

Looks like this is caused by https://github.com/react-native-webview/react-native-webview/issues/2298. We will need to refresh the webview when the app resumes.