(topic: string)
| 113 | } |
| 114 | |
| 115 | subscribeToTopic(topic: string): Promise<void> { |
| 116 | return new Promise((resolve, reject) => { |
| 117 | this.native.subscribeToTopicCompletion(topic, (error) => { |
| 118 | if (error) { |
| 119 | reject(FirebaseError.fromNative(error)); |
| 120 | } else { |
| 121 | resolve(); |
| 122 | } |
| 123 | }); |
| 124 | }); |
| 125 | } |
| 126 | unregisterDeviceForRemoteMessages(): Promise<void> { |
| 127 | return this._instance.unregisterDeviceForRemoteMessages(); |
| 128 | } |
nothing calls this directly
no test coverage detected