File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
packages/firebase-messaging Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ export class Messaging implements IMessaging {
39
39
}
40
40
41
41
get showNotificationsWhenInForeground ( ) : boolean {
42
- return TNSFirebaseMessaging . showNotificationsWhenInForeground ;
42
+ return NSCFirebaseMessagingCore . showNotificationsWhenInForeground ;
43
43
}
44
44
45
45
set showNotificationsWhenInForeground ( value : boolean ) {
46
- TNSFirebaseMessaging . showNotificationsWhenInForeground = value ;
46
+ NSCFirebaseMessagingCore . showNotificationsWhenInForeground = value ;
47
47
}
48
48
49
49
get _onMessage ( ) {
@@ -75,7 +75,7 @@ export class Messaging implements IMessaging {
75
75
}
76
76
77
77
getAPNSToken ( ) {
78
- return TNSFirebaseMessaging . APNSTokenToString ( this . native . APNSToken ) ;
78
+ return NSCFirebaseMessagingCore . APNSTokenToString ( this . native . APNSToken ) ;
79
79
}
80
80
81
81
hasPermission ( ) : Promise < AuthorizationStatus > {
Original file line number Diff line number Diff line change 1
- declare class TNSFirebaseMessaging extends NSObject {
1
+ declare class NSCFirebaseMessagingCore extends NSObject {
2
2
static APNSTokenToString ( tokenData : NSData ) : string ;
3
3
4
- static alloc ( ) : TNSFirebaseMessaging ; // inherited from NSObject
4
+ static alloc ( ) : NSCFirebaseMessagingCore ; // inherited from NSObject
5
5
6
- static new ( ) : TNSFirebaseMessaging ; // inherited from NSObject
6
+ static new ( ) : NSCFirebaseMessagingCore ; // inherited from NSObject
7
7
8
8
static onMessageCallback : ( p1 : NSDictionary < any , any > ) => void ;
9
9
@@ -15,9 +15,3 @@ declare class TNSFirebaseMessaging extends NSObject {
15
15
16
16
static showNotificationsWhenInForeground : boolean ;
17
17
}
18
-
19
- declare class TNSFirebaseMessagingLoader extends NSObject {
20
- static alloc ( ) : TNSFirebaseMessagingLoader ; // inherited from NSObject
21
-
22
- static new ( ) : TNSFirebaseMessagingLoader ; // inherited from NSObject
23
- }
You can’t perform that action at this time.
0 commit comments