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.

How to setup up the plugin to provide APNs token on iOS instead of the FCM token.

See original GitHub issue

Hello…

As the title says… Is there a way to get the APNs token when using the plugin on iOS builds?

Edit: requestPermission() on iOS just gives {}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
chemerisukcommented, Sep 20, 2018

@sqzbx I think it’s better to have a separate method for getting APNS token which accepts optional argument type to define output format. But this is probably for a future release.

0reactions
sqzbxcommented, Sep 21, 2018

@sqzbx I think it’s better to have a separate method for getting APNS token which accepts optional argument type to define output format. But this is probably for a future release.

Great! Thanks again. Im going to close this issue now…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set up a Firebase Cloud Messaging client app on Apple ...
The FCM SDK performs method swizzling in two key areas: mapping your APNs token to the FCM registration token and capturing analytics data...
Read more >
Registering Your App with APNs - Apple Developer
Register your app with APNs and receive a globally unique device token, which is effectively the address of your app on the current...
Read more >
Convert APNS Tokens To FCM Tokens With Simple HTTP APIs
Learn how to migrate your APNS tokens to Firebase Cloud Messaging (FCM) tokens with simple HTTP requests against Google APIs.
Read more >
FCM via APNs Integration - FlutterFire
On the Firebase Console, navigate to the "Project settings" and select the "Cloud Messaging" tab. Select your iOS application under the "iOS app...
Read more >
Firebase APNS device token not set before retrieving FCM ...
You can try by using this token hope this will help you. For iOS , Please check in real device. Share.
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