Julian
Julian
Any news on this?
I have the same problem
We only want to send notifications to authenticated users. We never want unauthenticated users to receive notifications. But as far as I understand `initializePushNotifications()` has to be called in the...
This doesn't work. When calling `identifyUser` like so: ```javascript import * as PushNotification from 'aws-amplify/push-notifications'; ... await PushNotification.identifyUser({ userId: '', userProfile: {}, options: { address: deviceToken.token, optOut: 'ALL' }, });...
Please see this ticket: [13504](https://github.com/aws-amplify/amplify-js/issues/13504)
I created a patch, because in my estimation this is a bug. As I commented somewhere else: I investigated some more and figured out, what goes wrong. To me, it...
I created a patch for this file: `node_modules/@aws-amplify/notifications/src/pushNotifications/providers/pinpoint/apis/initializePushNotifications.native.ts` I modify the `initializePushNotifications` function like so: ``` let initializedPushNotification = false; const initializePN = async () => initializedPushNotification = true; const...
Wow, thank you for this explanation. I'll check in a bit.
Unfortunately, this is not working as expected. When a user logs **in**, this is how I identify the endpoint: ``` await PushNotification.identifyUser({ userId: userAttributes.sub, userProfile: { customProperties: { locale: [userAttributes.locale],...
@Samaritan1011001, thank you so much for the suggestion. I tried exactly as you suggested, but the following happens after logging out: - The `address` is removed from the endpoint -...