You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using this library and I can display notifications easily when calling this code from within a screen. showOverlayNotification( (context) { return Card(...); }, duration: Duration(milliseconds: 8000), );
But if I call the same code from within a background process which is not tied to any screen, I receive this error: _AssertionError ('package:overlay_support/src/overlay.dart': Failed assertion: line 59 pos 10: '_debugInitialized': OverlaySupport Not Initialized ! ensure your app wrapped widget OverlaySupport).
I'm using 1.0.5-hotfix1 version since in this project I'm tied to flutter version 1.22.6. So I can't use OverlaySupport.global().
I'm using OverlaySupport(child: MaterialApp(...)). If I try to also add OverlaySupport to all the screens, I receive the error There is already an OverlaySupport in the Widget tree.
The text was updated successfully, but these errors were encountered:
Hello, I have the same issue when opening the app from a deeplink. (The app isn't open before using the deeplink)
This error only happens on Android. On iOS, it's fine.
The error is :
"""
'package:overlay_support/src/overlay_state_finder.dart': Failed assertion: line 12 pos 7: '_debugInitialized': Global OverlaySupport Not Initialized !
ensure your app wrapped widget OverlaySupport.global
Hi, I'm using this library and I can display notifications easily when calling this code from within a screen.
showOverlayNotification( (context) { return Card(...); }, duration: Duration(milliseconds: 8000), );
But if I call the same code from within a background process which is not tied to any screen, I receive this error:
_AssertionError ('package:overlay_support/src/overlay.dart': Failed assertion: line 59 pos 10: '_debugInitialized': OverlaySupport Not Initialized ! ensure your app wrapped widget OverlaySupport)
.I'm using 1.0.5-hotfix1 version since in this project I'm tied to flutter version 1.22.6. So I can't use OverlaySupport.global().
I'm using
OverlaySupport(child: MaterialApp(...))
. If I try to also add OverlaySupport to all the screens, I receive the errorThere is already an OverlaySupport in the Widget tree
.The text was updated successfully, but these errors were encountered: