Skip to content

Commit 2c7ed0e

Browse files
committed
fix: missing typings
1 parent 48f12ee commit 2c7ed0e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/firebase-messaging/index.d.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { FirebaseApp, Firebase } from '@nativescript/firebase-core';
2-
import { IMessaging, Permissions } from './common';
3-
2+
import { IMessaging, Permissions, RemoteMessage, AuthorizationStatus } from './common';
3+
export { AuthorizationStatus } from './common';
44
export declare class Messaging implements IMessaging {
55
getToken(): Promise<string>;
66

@@ -29,6 +29,8 @@ export declare class Messaging implements IMessaging {
2929
isDeviceRegisteredForRemoteMessages(): boolean;
3030

3131
isAutoInitEnabled: boolean;
32+
showNotificationsWhenInForeground: boolean;
33+
3234
readonly app: FirebaseApp;
3335

3436
readonly native;

packages/firebase-messaging/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/firebase-messaging",
3-
"version": "1.0.0-alpha.0",
3+
"version": "1.0.0-alpha.1",
44
"description": "NativeScript Firebase - Messaging",
55
"main": "index",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)