react native firebase subscribe to topic

JavaScript
subscribeToTopic(topic: string): Promise<void>;
Source

Also in JavaScript: