We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d98ede2 commit bf093ebCopy full SHA for bf093eb
README.md
@@ -215,21 +215,13 @@ import NIM from 'react-native-netease-im';
215
```
216
217
### API
218
-#### NIM.login()
219
-```javascript
220
-// 登录参数
221
-{
222
- accid: "", //云信注册帐号
223
- token:"" //登录的token
224
-}
225
-```
226
-返回一个`Promise`对象
+
+参考[index.js](https://github.com/reactnativecomponent/react-native-netease-im/blob/master/index.js)
227
228
#### 监听会话
229
230
NativeAppEventEmitter.addListener("observeRecentContact",(data)=>{
231
console.log(data); //返回内容android和ios有区别
232
});
233
234
-更多接口请参阅`index.js`,或者参考Demo
235
0 commit comments