Open pandeykamlendra42 opened 2 years ago
Getting black screen background with Phone Suggestion dialog, when the user is pressing home button & opening the app from background. Attached video for reference.
Steps to reproduce:
https://user-images.githubusercontent.com/13285421/147529267-63824137-ab56-45e7-bbb0-80dc9a2bf8b1.mp4
any update on this?
Can be solved with WidgetsBindingObserver and AppLifecycleState so codeUpdated executes only if _latestAppLifecycleState == AppLifecycleState.resumed
WidgetsBindingObserver
AppLifecycleState
codeUpdated
_latestAppLifecycleState == AppLifecycleState.resumed
Getting black screen background with Phone Suggestion dialog, when the user is pressing home button & opening the app from background. Attached video for reference.
Steps to reproduce:
https://user-images.githubusercontent.com/13285421/147529267-63824137-ab56-45e7-bbb0-80dc9a2bf8b1.mp4