Giter Site home page Giter Site logo

flutter_nb's Introduction

一个集成环信IM的Flutter项目。目前只是Android与flutter双向交互, 已完成功能:注册、登录、退出登录、自动登录、切换头像、切换主题、消息推送开关、搜索、添加好友、 系统消息推送、系统消息列表、消息删除、数据库存储,通知栏提醒、加入黑名单、移出黑名单、 删除好友、发送文本消息、发送图片(表情)消息、发送语音消息、发送小视频等

现今环信已经推出sdk,http://www.easemob.com/download/im

Getting Started(效果图,图片加载不出点这里

原理:原生集成环信IM SDK,利用MethodChannel和EventChannel,进行Flutter与原生的双向交互。

License

Copyright (c) 2018 Bekie

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

flutter_nb's People

Contributors

buhuiming avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_nb's Issues

demo 的apk闪退

用demo的apk,华为手机安装,闪退掉;
自己编译也是闪退掉了

emoji表情

代码中看到还未实现emoji的删除,我的实现如下:
1:显示emoji,实现方式:https://blog.csdn.net/beyondforme/article/details/103837481
2:emoji Widget中自定义删除功能实现:
/// 将输入框内容转成unicode编码,从后往前每次删除一个unicode,达到删除文本内容的目的
setState(() {
_inputContent = deleteInputContent(_inputContent);
});

 String deleteInputContent(String str) {
     int unitLen = 1;
     var sRunes = str.runes;
     return sRunes.length >= unitLen ?  String.fromCharCodes(sRunes, 0, sRunes.length - unitLen) : str;
 }

消息体布局的一个疑问

我看你消息体布局的时候,把loading或者失败的icon放到了消息体下面。放到一行怎么做啊。我搞了半天发现没法布局,比如文本消息 左边是loading 右边是文本消息,文本消息自适应宽度.

音视频

请问环信的音视频有封装吗

iOS

iOS运行报错,看你做的挺好的,能不能适配好,别只是搞android啊

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.