(listener: (message: RemoteMessage) => any)
| 61 | } |
| 62 | |
| 63 | onMessage(listener: (message: RemoteMessage) => any) { |
| 64 | if (!listener && this._onMessage) { |
| 65 | this._instance.removeOnMessage(this._onMessage); |
| 66 | } else { |
| 67 | this._instance.addOnMessage(listener); |
| 68 | } |
| 69 | |
| 70 | this._onMessage = listener; |
| 71 | } |
| 72 | |
| 73 | onNotificationTap(listener: (message: RemoteMessage) => any) { |
| 74 | if (!listener && this._onNotificationTap) { |
nothing calls this directly
no test coverage detected