ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
50.86k stars 13.52k forks source link

bug: ionic tabs shows blank screen after app awake #29711

Open sreerajkarippala opened 1 month ago

sreerajkarippala commented 1 month ago

Prerequisites

Ionic Framework Version

v7.x, v8.x

Current Behavior

app shows blank screen after going back to app. it happen only when app is sleep in background and we awake it. please refer the [Video](video https://m.hashback.app/USH). but on tap screen it will show the page.

Expected Behavior

app should show last screen which is active before app close.

Steps to Reproduce

  1. open app
  2. goto another apps
  3. after some time come back to app

Code Reproduction URL

https://m.hashback.app/USH

Ionic Info

Ionic:

Ionic CLI : 7.1.5 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 8.0.0 @angular-devkit/build-angular : 17.3.5 @angular-devkit/schematics : 17.3.5 @angular/cli : 17.3.5 @ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 6.0.0 @capacitor/android : 6.0.0 @capacitor/core : 6.0.0 @capacitor/ios : 6.0.0

Utility:

cordova-res : not installed globally native-run : 2.0.1

System:

NodeJS : v18.20.3 (/Users/sreeraj/.nvm/versions/node/v18.20.3/bin/node) npm : 10.7.0 OS : macOS Unknown

Additional Information

No response

sean-perkins commented 1 month ago

Hello @sreerajkarippala thanks for reporting this issue. With a video recording it will be difficult for the team to pinpoint what factors may be contributing to this problem.

Are there exceptions or additional information that can be provided to debug this?

I suspect the problem is not with Ionic Framework, but either in the application or the native runtime (Cordova/Capacitor).

https://github.com/ionic-team/capacitor/discussions/7097 may be related and helpful to you in your debugging.

sreerajkarippala commented 1 month ago

Thanks @sean-perkins, let me check with https://github.com/ionic-team/capacitor/discussions/7097