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
Describe the bug
The onSelectNotificationCallback is not being triggered when the app is launched from terminated state using the new initialization approach from the example app.
To Reproduce
Launch the example app
Display a notification
Close the app by swiping up
Tap on the notification
Expected behavior
The app should launch and navigate the user to the second screen.
This is fixed if I move the initialization code back to the first StatefulWidget's initState.
The text was updated successfully, but these errors were encountered:
D'oh! Many thanks for catching that as I forgot to test that scenario. I won't get to push an update today but if you intend to initialise in the main please try the following
call WidgetsFlutterBinding.ensureInitialized(); in your main function
switch from StreamController to BehaviourSubject from rxdart package
Let me know if this works for you. Worked fine for me
Describe the bug
The onSelectNotificationCallback is not being triggered when the app is launched from terminated state using the new initialization approach from the example app.
To Reproduce
Expected behavior
The app should launch and navigate the user to the second screen.
This is fixed if I move the initialization code back to the first StatefulWidget's initState.
The text was updated successfully, but these errors were encountered: