Code Monkey home page Code Monkey logo

firebase_messaging's Introduction

Push notifications with Firebase messaging

Receive push notifications on Android & iOS with Flutter.

Twitter: @JohannesMilke

Facebook: JohannesMilke

Medium: @JohannesMilke

๐Ÿ’ซ App Live preview ๐Ÿ’ซ

YouTube video where the source code is explained. ๐ŸŽ“ Subscribe to our YouTube channel. ๐Ÿ‘

Push notifications with Firebase messaging YouTube video

All my Flutter projects --> View on Instagram

If you are new to Flutter and want to get started --> Install Flutter.


Feel free to reach out to me through email at [email protected] if you have any questions or feedback! ๐Ÿ˜Š

firebase_messaging's People

Contributors

helloflutter avatar johannesmilke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

firebase_messaging's Issues

start custom dart stateless or stateful if fcm get message and app is in background or closed

https://stackoverflow.com/q/61159880/8596406
IT IS VERY IMPORTANT
Please don't tell me about Adding Application.java. It's making me confused.

is there an easy way for that: what i need: just if custom notify that has a value in data {"alarm":"start"} my app should start **like coming call in chat apps. its important notify:
{ "registration_ids" :[ "userUniqueToken1", "userUniqueToken2",... ], "notification" : { "body" : "important msg", "title": "you should do some thing now" }, "data":{ "alarm":"start", "click_action":"FLUTTER_NOTIFICATION_CLICK", "status":"done", "id":"1" } }

Is it possible ?

Very Important Note : FCM notification working great, just I need to fire my app if custom notification coming on***

I have to make it work for both Android and iOS. or is there another way to start my app like coming call, please

Not Receiving messages on onmessage, onLaunch ?

Hello,
I am testing your code with a new project and replace your google-services.json file. When I send a push notification from firebase and if app is in foreground then onMessage() method gets called and works fine.
But, when my app is in background and if i send a message then notification comes to the notification tray. When i click on the notification and app launches and onResume method gets called but receiving no title and body data.
I didn't change anything in your demo.
I just received both data only first 2-3 times. after that i am not able to receive any data further.
Can you please tell me how to deal with this issue.
Also, how can i get push notification if app is not in foreground and background ?
Thanks.

Crash in AndroidX

Hi, your application are Ok but when I'm trying in AndroidX crash de app and close ? do you know what can i do ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.