Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step by step for push notification #42

Closed
brizaldi opened this issue Apr 28, 2020 · 1 comment
Closed

Step by step for push notification #42

brizaldi opened this issue Apr 28, 2020 · 1 comment
Labels
question Further information is requested

Comments

@brizaldi
Copy link

is there a tutorial/example/step by step of how to implements push notification on iOS & android?

@imtoori
Copy link
Contributor

imtoori commented Apr 28, 2020

The Flutter SDK does not offer any default implementation for push notification, so you should implement it yourself.

However, the alpha release of the library disconnects the client when the app is in the background. In this way, the backend will send notifications.
At this link , you can find a draft of the documentation that will be released once the alpha version becomes stable.
If you are willing to try out the alpha version, do not hesitate to ask for help. You can also reach me out on this repo gitter channel

By the way, note that it's possible to configure notifications also in the current stable version. Make sure to configure firebase/apn correctly and call client.disconnect when the app is in background

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants