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
51.01k stars 13.51k forks source link

bug: ionic lifecycle hook was not fired when routing between tab pages #27271

Closed objecteer closed 1 year ago

objecteer commented 1 year ago

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

ionic lifecycle hook i.e. ionViewWillEnter ionViewDidEnter was not fired when routing between tab pages after update Android System WebView to version 112.0.5615.136

Expected Behavior

ionic lifecycle hook should be fired when routing to a new tab page.

Steps to Reproduce

Code Reproduction URL

No response

Ionic Info

Ionic:

Ionic CLI : 7.0.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 7.0.3 @angular-devkit/build-angular : 15.2.6 @angular-devkit/schematics : 15.2.6 @angular/cli : 15.2.6 @ionic/angular-toolkit : 9.0.0

Capacitor:

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

Utility:

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

System:

NodeJS : v18.15.0 (/usr/local/bin/node) npm : 9.5.0 OS : macOS Unknown

Additional Information

No response

ionitron-bot[bot] commented 1 year ago

Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.

Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.

If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.

For a guide on how to create a good reproduction, see our Contributing Guide.

objecteer commented 1 year ago

I ran the test again today and the lifecycle hooks are working correctly.

ionitron-bot[bot] commented 1 year ago

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 Ionic, please create a new issue and ensure the template is fully filled out.