Skip to content

Plugin: Push notifications #201

Closed
Closed

Description

@FlutterIssues

Issue by abarth
Wednesday Oct 14, 2015 at 00:12 GMT
Originally opened as https://github.com/flutter/engine/issues/1609


We should add support for push notifications via a Mojo service.

Activity

  1. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by Hixie
    Thursday Oct 15, 2015 at 05:09 GMT


    Do you mean over-the-network push notifications like from GCM, or on-device notifications like you get on the Android lock screen?

  2. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by abarth
    Thursday Oct 15, 2015 at 05:19 GMT


    GCM

  3. added this to the Hackathon milestone on Dec 7, 2015
  4. added
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Dec 12, 2015
  5. removed this from the Hackathon milestone on Jan 27, 2016
  6. modified the milestone: on Feb 3, 2016
  7. eseidelGoogle commented on May 2, 2016

    @eseidelGoogle
    Contributor

    Yet another request for this today. My understanding is that we have an example GCM service:
    https://github.com/flutter/flutter_gcm/tree/master/examples/simple
    but it may only work on Android at the moment.

  8. abarth commented on May 2, 2016

    @abarth
    Contributor

    We should provide an example of how to do this with a FlutterView.

  9. 10 remaining items

  10. eseidelGoogle commented on Mar 2, 2017

    @eseidelGoogle
    Contributor

    flutter_gcm broke after we re-worked our plugin system last year, so we hid it. https://github.com/mpcomplete/flutter_gcm is likely a very old version (which will not work with modern flutter) but might provide you inspiration.

    Using the functionality documented in flutter.io/platform-services it should be possible to write your own call-outs to firebase cloud messaging, or other post-messaging services. I'm not yet aware of someone having written a flutter plugin to provide that "out of the box" yet, but this bug tracks doing so.

  11. eseidelGoogle commented on May 3, 2017

    @eseidelGoogle
    Contributor

    We've had various customers ship flutter using-apps (e.g. newsvoice.se @vlidholt ) which have used push notifications in conjunction with Flutter (by writing some Obj-C or Java code). However we do not yet have a published plugin which provides this support out of the box. I know @collinjackson has discussed doing so.

  12. collinjackson commented on May 3, 2017

    @collinjackson
    Contributor

    We currently have a plugin that supports push messaging: https://github.com/flutter/firebase_messaging

  13. eseidelGoogle commented on May 3, 2017

    @eseidelGoogle
    Contributor

    Oh, I somehow missed that in my search. Should this be closed?

  14. collinjackson commented on May 3, 2017

    @collinjackson
    Contributor

    I'd be curious to hear customer feedback about whether the existing plugin is sufficient. It's possible that some devs will want a plugin that supports raw APNS notifications on iOS (without using Firebase), but it's hard to know for sure without asking. It would be nice to not have to maintain two separate plugins if we don't have to, but I know that uploading APNS certificates to the Firebase console can be a show-stopper in some cases.

  15. eseidelGoogle commented on May 3, 2017

    @eseidelGoogle
    Contributor

    I'm going to close this for now, given that we've had multiple applications ship with this model. Our plugin system is such that anyone can write and publish a plugin, so ideally we won't maintain multiple. :)

  16. eseidelGoogle commented on May 3, 2017

    @eseidelGoogle
    Contributor

    This bug ended up being resolved as part of #8903.

  17. added a commit that references this issue on Mar 21, 2019
  18. github-actions commented on Aug 17, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  19. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilitycustomer: fast (g3)frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions