NativeScript / NativeScript/firebase

[@nativescript/firebase-messaging-core] APNS token is no longer returned, only FCM-token

Open
#171 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
62
Forks
53
Avg merge
8d 4h
Merged PRs (30d)
2

Description

In release 2.5.2 the APNS-token is not available, only the FCM token is.
Even running this will return the FCM-token:

MessagingCore.getInstance().getAPNSToken()

In 2.5.1 the APNS token is returned as expected.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at MessagingCore.getInstance().getAPNSToken() and compare its behavior between releases 2.5.1 and 2.5.2. Investigate why the APNS token is replaced by the FCM token; done means the method returns the APNS token as it did in 2.5.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, ios, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.