question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IOS push token not valid

See original GitHub issue

when i try to use this method from React Native on IOS

 ConnectyCube.pushnotifications.subscriptions.create(
      params,
      (error, response) => {
        console.log('error', error);
      },
    );

return client_identification_sequence: [“is invalid”] but i already try the the token that i sent on firebase and it work could someone help me to know what the problem is?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
DaveLombercommented, Jan 28, 2020

In a case for further reference - we prepared a complete guide on how to integrate push notifications in React Native

https://developers.connectycube.com/reactnative/push-notifications

0reactions
Eramirez06commented, Jan 17, 2020

It work this is what i need, just for future implementation you should Really add this to you React Native Example o add a comment with this

for person who read this token on IOS work like this and just work in real device not in a emulator

   let response = await firebase
        .messaging()
        .ios.registerForRemoteNotifications();
      let reponse = await firebase.messaging().ios.getAPNSToken();
Read more comments on GitHub >

github_iconTop Results From Across the Web

push notification problem | Apple Developer Forums
Try re-downloading your push production certificate and exporting it again. The APN invalid token is indicative of an incorrect certificate. Hopefully this ...
Read more >
iOS: Invalid token error for push notifications
The most likely cause is that the notification was sent via the wrong gateway due to a misconfiguration, but may also be caused...
Read more >
Production push notifications, Invalid token from APNS server
I re-downloaded the push production certificate and exported it from the keychain as .p12. This seems to have solved the problem.
Read more >
Push Notification Troubleshooting for iOS - Braze
Uninstalls. If a user has uninstalled your application, their push token will be invalid and removed upon the next send. Regenerating your provisioning...
Read more >
'Invalid Token' error - MobilePush Sends not received by iOS ...
1. Validate that the production mobile app certificate is being used and not the developer version of the mobile app certificate. 2. Make...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found