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

feat(notifications): Refactor push notification to be functional #12305

Merged
merged 10 commits into from
Oct 16, 2023

Conversation

cshfang
Copy link
Member

@cshfang cshfang commented Oct 14, 2023

Description of changes

This PR converts the Push Notification category into functions instead of classes. Also:

  • Updates native module to have more built-in functionality
  • Leverages @aws-amplify/react-native for better module loading pattern and type loading
  • Refactored some core logic for reuse

Description of how you validated changes

  • Tested against React Native app to make sure it at least builds
  • Tested on Android emulator that PN functionality is intact

Checklist

  • PR description included
  • yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cshfang cshfang requested review from a team as code owners October 14, 2023 01:01
@cshfang cshfang requested a review from a team as a code owner October 16, 2023 18:02
Copy link
Member

@HuiSF HuiSF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@Samaritan1011001 Samaritan1011001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you!

@cshfang cshfang merged commit 8eb24ad into aws-amplify:next/main Oct 16, 2023
23 of 24 checks passed
@cshfang cshfang deleted the next/push-notifications branch October 16, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants