Minor Changes
-
#14866
bcdc02bThanks @soberm! - feat(notifications): add Amazon Connect Customer Profiles push notifications providerPush Notifications can now be delivered through Amazon Connect Customer Profiles via the new
aws-amplify/push-notifications/customer-profilessub-path export. The provider shipsidentifyUser,initializePushNotifications,registerDevice, andremoveDevicealongside the transport-agnostic badge, permission, launch-notification, and notification/token listener APIs, with SigV4-signed device registration and client-side user-profile validation.Amplify.configureaccepts the correspondingamazon_connectnotifications configuration fromamplify_outputs.json.Device registration follows the signed-in principal:
initializePushNotificationsregisters the device when a push token is received and re-registers it on sign-in so an existing registration is re-homed to the authenticated principal. Because de-registration is authorized against the calling principal, applications should awaitremoveDevice()beforesignOut()to stop delivery to a device.The default
aws-amplify/push-notificationsentry point emits a one-timeConsoleLoggernotice at runtime directing customers to the Customer Profiles sub-path, since that entry point is backed by Amazon Pinpoint and AWS ends support for Amazon Pinpoint on October 30, 2026. Both changes are backwards compatible: existing exports keep their names, types, and signatures.
Patch Changes
- Updated dependencies [
bcdc02b]:- @aws-amplify/core@6.18.0
- @aws-amplify/notifications@2.1.0
- @aws-amplify/api@6.3.29
- @aws-amplify/datastore@5.1.10