User/device not recognized in AWS Pinpoint console during PushNotification.onRegister
See original GitHub issue** Which Category is your question related to? ** React Native ** What AWS Services are you utilizing? ** ‘@aws-amplify/pushnotification’ ** Provide additional details e.g. code snippets **
extracted from my source code (below) in the app.js file. but in the console aws pinpoint the endpoint is not register to receive push notifications? .
import Amplify, { Analytics } from 'aws-amplify';
import aws_exports from './aws-exports';
import PushNotification from '@aws-amplify/pushnotification';
// gets the registration token
PushNotification.onRegister((token) => {
console.log('in app registration', token);
});
NB: aws-amplify analytics works perfectly Nb: I use facebook account kit for login and authentication Nb : i use Android
link dashboard aws pinpoint: https://ibb.co/d2hi9K
Thank You for you reply
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (7 by maintainers)
Top Results From Across the Web
PushNotications not showing up on AWS PinPoint from @aws ...
1 Answer 1 ... Regarding not getting a token at onRegister , are you testing it on a real device instead of an...
Read more >Send push notifications - Amazon Pinpoint
This section contains complete code examples that you can use to send push notifications through the Amazon Pinpoint API by using an AWS...
Read more >Push Notifications
AWS Amplify Push Notifications module allows you to integrate push notifications in your app with Amazon Pinpoint targeting and campaign management support.
Read more >AWS Amplify/Pinpoint and FCM receiving "Unregistered or ...
onRegister (t => console.log(`Registration token: ${t}`), onRegister && onRegister()); PushNotification.onNotification(n => (console.log(n), ...
Read more >Frontend Implementation Tips for Pinpoint and AWS Amplify ...
However, when it comes to integrating push notifications, it's not so helpful. Although Amplify uses Pinpoint as a default push ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@noellaby then the pinpoint should be updated with this address. Could you try cleaning up the AsyncStorage and then restart the app to see if the library send an
updateEndpoint
request to pinpoint with this token in theaddress
property. You should see this request under this debugging message:refresh the device token with ...
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels or Discussions for those types of questions.