openim-uniapp-polyfill
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

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 }) => {
      // 登录失败
    });

Package Sidebar

Install

npm i openim-uniapp-polyfill

Weekly Downloads

15

Version

1.3.0

License

MIT

Unpacked Size

228 kB

Total Files

19

Last publish

Collaborators

  • blooming