MCPcopy Create free account
hub / github.com/NativeScript/firebase / getAPNSToken

Method getAPNSToken

packages/firebase-messaging/index.ios.ts:65–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 getAPNSToken() {
66 const token = this.native.APNSToken;
67 if (!token) {
68 return null;
69 }
70 return NSCFirebaseMessagingCore.APNSTokenToString(token);
71 }
72
73 hasPermission(): Promise<AuthorizationStatus> {
74 return this._instance.hasPermission() as any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected