Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[messaging-core][ios] getCurrentToken stalls

Open
#287 0 comments 0 reactions 1 assignee View on GitHub

@triniwiz is already working on this.

Since Mar 30, 2026.

Assessment

This issue has not been assessed yet.

Description

bug ios

The problem is in this code:
https://github.com/NativeScript/firebase/blob/5b7be942139e28f22d48a12fc8bc2d34db6a8a98/packages/firebase-messaging-core/index.ios.ts#L156-L159

The problem happens in cases where the permission check executes before the call of the _onToken callback. This leaves the promise dangling and the function never completes.

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

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.

More from NativeScript/firebase

All issues in NativeScript/firebase

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.