gb-openim-uniapp-polyfill
v1.3.0
Published
openim sdk for uniapp polyfill
Downloads
6
Maintainers
Readme
OpenIM SDK for uni-app polyfill
About us
Open im includes instant messaging and real-time audio and video server and client SDK, which realizes important features such as high performance, lightweight and easy expansion. By integrating open im components and privatizing the deployment server, developers can quickly integrate instant messaging and real-time audio and video interaction into their own applications free of charge, and ensure the security and privacy of business data.Click here to visit our official website to learn more about Open IM.
Getting Started
How To Install
To use the SDK in uniapp(android、ios)
npm install openim-uniapp-polyfill
Then within your application,you can import it.
import IMSDK from 'openim-uniapp-polyfill' IMSDK.asyncApi(IMSDK.IMMethods.login, IMSDK.uuid(), userID, token) .then(() => { // 登录成功 }) .catch(({ errCode, errMsg }) => { // 登录失败 });