UniApp平台移动端应用(使用原生插件)

imndx 375b83de05 add test code vor 3 Jahren
assets 6b0229be56 update style vor 3 Jahren
common 2f76e31991 点击消息中的链接,打开WebView 页面 vor 3 Jahren
components 54519d6231 添加 uikit vor 3 Jahren
emoji 82ebde4467 uni chat code vor 3 Jahren
modules 82ebde4467 uni chat code vor 3 Jahren
nativeplugins 575410f333 fix TransferGroupOwnerNotificationContent encode issue vor 3 Jahren
pages 375b83de05 add test code vor 3 Jahren
screenshots dc35c1ee35 update vor 3 Jahren
static 06f06515f6 update vor 3 Jahren
vendor 82ebde4467 uni chat code vor 3 Jahren
wfc d014265815 解决退出/解散群组问题 vor 3 Jahren
.gitignore 0a0411022c 添加 client 原生插件,方便开发调试 vor 3 Jahren
App.vue 6b0229be56 update style vor 3 Jahren
LICENSE aad429e3c5 Initial commit vor 3 Jahren
README.md 20f157e6e8 update vor 3 Jahren
config.js b23967aec6 解决视频消息缩略图问题 vor 3 Jahren
global.css 82ebde4467 uni chat code vor 3 Jahren
main.js 9a9f354341 update uikit vor 3 Jahren
manifest.json 06f06515f6 update vor 3 Jahren
package-lock.json 82ebde4467 uni chat code vor 3 Jahren
package.json 82ebde4467 uni chat code vor 3 Jahren
pages.json 016cc4f380 启动页 vor 3 Jahren
store.js d014265815 解决退出/解散群组问题 vor 3 Jahren
tribute.css 82ebde4467 uni chat code vor 3 Jahren
twemoji.js 82ebde4467 uni chat code vor 3 Jahren
uni.scss 82ebde4467 uni chat code vor 3 Jahren
vue.config.js 82ebde4467 uni chat code vor 3 Jahren
wfc.css 82ebde4467 uni chat code vor 3 Jahren

README.md

野火UniApp平台Demo

支持Android和iOS端,使用了野火UniApp原生插件(在UniApp的插件市场搜索“野火IM原生插件”)。

配置

使用野火官方服务,直接编译运行即可。如果使用自己私有部署IM服务,需要在config.js配置应用服务地址和IM服务地址。修改如下配置:

//应用服务地址
static APP_SERVER = 'https//app.wildfirechat.net:8888';

//IM 服务Host
static IM_SERVER_HOST = 'wildfirechat.net';

运行

添加原生插件-野火UniApp原生插件,然后运行npm install命令,install成功后再按照正常流量打包运行测试。

移植到其它应用

如果要在现有项目中使用野火原生插件,需要把wfc目录和config.js配置文件一同拷贝到现有项目,然后添加野火UniApp原生插件。现有项目使用wfc目录下的wfc.js接口文件。

应用截图

会话列表 会话列表

联系人列表 联系人列表

会话界面 会话界面

用户详情界面 用户详情界面