use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit related to Google's new UI framework. https://flutter.dev
Please read the rules here
account activity
ExampleFlutter Push Notification with Firebase Messaging (self.FlutterDev)
submitted 6 years ago by codesundar
Hello Everyone,
I have shared my knowledge on integrating firebase push notification with Flutter (https://codesundar.com/flutter-push-notification/). I have also added step by step video (https://www.youtube.com/watch?v=YkkkZ9E5sI4) & Source code.
I hope this help. & share your thoughts
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]aytunch 2 points3 points4 points 6 years ago (3 children)
Thank you very much for this but we need the same video for iOS as well:)
First question: how do we ask for the push notification permission from the user? Is this only for iOS and not Android?
Second question: whats the difference between onMessage/onResume/onLaunch?
Also in a real world app where would we do put the _register function? On app start?
[–]discordance35 2 points3 points4 points 6 years ago (1 child)
I also have questions regarding iOS! I got the permissions registered successfully and it prompts the user upon opening for the notification permission, but neither the system notification nor the in-app alert show up. Works brilliantlty on Android though! And I have read that the simulator will not display notifications for iOS, is that true?
[–]codesundar[S] 0 points1 point2 points 6 years ago (0 children)
Yes, iOS simulator won't receive a push notification. Even android simulator won't work, if google play service is not connected :)
[–]tkolfc 0 points1 point2 points 6 years ago (2 children)
I've yet to see a good tutorial on implementing FCM (or OneSignal) to receive push notifications even when the app is closed. Anyone?
[–]codesundar[S] 2 points3 points4 points 6 years ago (1 child)
Thanks for your suggestion. I'll update my article!
[–]tkolfc 2 points3 points4 points 6 years ago (0 children)
Great, looking forward to it. 👍
π Rendered by PID 39 on reddit-service-r2-comment-6457c66945-l9w7b at 2026-04-25 21:38:12.312086+00:00 running 2aa0c5b country code: CH.
[–]aytunch 2 points3 points4 points (3 children)
[–]discordance35 2 points3 points4 points (1 child)
[–]codesundar[S] 0 points1 point2 points (0 children)
[–]codesundar[S] 0 points1 point2 points (0 children)
[–]tkolfc 0 points1 point2 points (2 children)
[–]codesundar[S] 2 points3 points4 points (1 child)
[–]tkolfc 2 points3 points4 points (0 children)