We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acb5445 commit 95e7fadCopy full SHA for 95e7fad
lib/modules/messaging.js
@@ -2,7 +2,7 @@ import { NativeModules, NativeEventEmitter } from 'react-native';
2
import { Base } from './base';
3
import { promisify } from '../utils';
4
5
-const FirestackMessaging = NativeModules.FirestackMessaging;
+const FirestackMessaging = NativeModules.FirestackMessaging || NativeModules.FirestackCloudMessaging;
6
const FirestackMessagingEvt = new NativeEventEmitter(FirestackMessaging);
7
8
/**
0 commit comments