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

The docs for Gen 1, v5 and v6, do NOT explain how to send a push notification with react-native. #8037

Open
GERASM1 opened this issue Oct 12, 2024 · 0 comments
Labels
amplify/android amplify/ios Mostly related to iOS software.

Comments

@GERASM1
Copy link

GERASM1 commented Oct 12, 2024

The documentation provides detailed steps on configuring notifications for iOS and Android and handling INCOMING notifications, but there’s no information on how to send one.

On this page: https://docs.amplify.aws/gen1/react-native/prev/build-a-backend/push-notifications/set-up-push-notifications/, the index includes:

image.

  • Setup Amplify Push Notifications: Configuration details only.
  • Request Permissions: How to request permissions, but not how to send notifications.
  • Receive a device token: Explanation of code on how to receive a device token, I imagine this is supposed to be used somewhere to send a notification, but no idea where. (The code snippet on that page is not working for me by the way, but that's a separate issue):
  • Interact with Notifications: Information on handling the reception of INCOMING notifications, but no details on SENDING them.
  • Identify user to Amazon Pinpoint: Assigns a user ID for Amazon Pinpoint, but doesn’t explain how this relates to sending notifications.
  • Add app badge count: Adding a badge count to the app icon, no details on sending.
  • Enable Rich Notifications: Enhances the notification UI, again no details on sending.
  • Test Push Notifications: Testing from the console, but no in-app sending instructions.
  • Set up push notification services: Configuring Apple and Google accounts to obtain keys/etc. No info on how to send in-app
  • Migrating from previous version: Info on which deprecated functions need to be replaced, again no info.

I've tried reading multiple blogs (outside of the docs), and I still can’t find reliable documentation on how to trigger a notification sending from within the app (each one I've read is either deprecated or incomplete as well). This seems like a fundamental part of push notifications, yet it’s missing from the docs. Instead, the focus is on peripheral features. Why? It's quite honestly... baffling...

URL where the issue exists:
https://docs.amplify.aws/gen1/react-native/prev/build-a-backend/push-notifications/set-up-push-notifications/

@esauerbo esauerbo added amplify/ios Mostly related to iOS software. amplify/android labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amplify/android amplify/ios Mostly related to iOS software.
Projects
None yet
Development

No branches or pull requests

2 participants