Amplify-js: [Feature request] Support for local notifications in react-native

Created on 28 May 2018  路  10Comments  路  Source: aws-amplify/amplify-js

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
Today, aws-amplify can only manage push notifications on Android and Ios (that I know). But to be able to handle more use-cases regarding notifications in an mobile application written in react-native, the library needs to be able to manage local notifications as well.

Features that I am requesting are for instance:

  • Show local notification immediately
  • Schedule local notification
  • Get initial notification (A notification that starts an application if pressed)
  • Show heads-up notification from local notification in Android
  • Be able to set priority on a local notification in Android
    ... and more.

React-native-firebase is another library that offers this functionality, but I rather stay with aws-amplify.

Push Notifications React Native feature-request

Most helpful comment

@karlmosenbacher thanks for the awesome feedback! We will add this to the backlog :)

All 10 comments

@karlmosenbacher thanks for the feedback! The latest service worker integration does support notifications. You can see an example here. The Notification Web API is fairly straight forward and simple. Can you provide a bit more detail on how you'd like to see Amplify help here more?

@mlabieniec Thanks for your reply! I noticed that I missed some important information in my feature description and title. I will update it right away. I apologize!

@karlmosenbacher thanks for the awesome feedback! We will add this to the backlog :)

8 months later...

Any schedule for this? It shouldn't be a big deal to open the existing native code that is used to display the already working pinpoint (remote) push notifications to the public.

@karlmosenbacher

  • Get initial notification (A notification that starts an application if pressed) is already implemented. The other are still in our backlog.

@elorzafe Great! Thanks for the reply!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Bumping this as it is still a desired feature.

+1

This is out of scope. One can implement notifications via onNotification callbacks. here's Expo's docs, incase that's your preferred RN API.

Was this page helpful?
0 / 5 - 0 ratings