juggleim-rnsdk 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +1 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { NativeModules, Platform, NativeEventEmitter } from "react-native";
|
|
2
2
|
|
|
3
3
|
const { JuggleIM: JMI } = NativeModules;
|
|
4
|
-
|
|
5
|
-
const juggleIMEmitter = Platform.OS === 'android' ? new NativeEventEmitter(JMI) : new NativeEventEmitter();
|
|
4
|
+
const juggleIMEmitter = new NativeEventEmitter(JMI);
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Juggle IM React Native SDK
|