- run
yarn add open-im-sdk-wasm - export all assets files to your public forder(make sure you can access file by http request, and place the wasm_exec.js in your html file)
- config your http-server, make sure the response header contains
Cross-Origin-Opener-Policy:same-originandCross-Origin-Embedder-Policy:require-corp - then add code as below
import { getSDK } from 'open-im-sdk-wasm'; const sdk = getSDK();
forked from openimsdk/openim-sdk-js-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
lear087/Open-IM-SDK-Web-Wasm
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
JS SDK for OpenIM Web use by Webassembly of go
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- TypeScript 99.8%
- Shell 0.2%