Skip to content

Commit

Permalink
feat: add details to Push Notifications migration guide (#6823)
Browse files Browse the repository at this point in the history
* feat: add details to Push Notifications migration guide

* Populate identifyUser properties for guide
  • Loading branch information
cshfang authored Jan 23, 2024
1 parent ab7ac10 commit edbcf70
Show file tree
Hide file tree
Showing 3 changed files with 481 additions and 101 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
```js
const myNotificationReceivedHandler = (notification) => {
// Respond to the received push notification message in realtime
// Respond to the received push notification message in real time
};

const listener = Notifications.Push.onNotificationReceivedInForeground(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ AppRegistry.registerComponent(appName, () => App);
// Example index.js
import {
initializePushNotifications,
onNotificationReceivedInForeground
onNotificationReceivedInBackground
} from 'aws-amplify/push-notifications';

// ...
Expand Down
Loading

0 comments on commit edbcf70

Please sign in to comment.