(listener: (message: RemoteMessage) => any)
| 95 | } |
| 96 | |
| 97 | onNotificationTap(listener: (message: RemoteMessage) => any) { |
| 98 | if (!listener && this._onNotificationTap) { |
| 99 | this._instance.removeOnNotificationTap(this._onNotificationTap); |
| 100 | } else { |
| 101 | this._instance.addOnNotificationTap(listener); |
| 102 | } |
| 103 | |
| 104 | this._onNotificationTap = listener; |
| 105 | } |
| 106 | |
| 107 | registerDeviceForRemoteMessages(): Promise<void> { |
| 108 | return this._instance.registerDeviceForRemoteMessages(); |
nothing calls this directly
no test coverage detected