Comments (2)
退出登录有个参数是disablePush,当这个参数为true时,协议栈会发送一个请求到IM服务停掉推送,然后才会断开链接,这样再有这个用户的消息就不会推送了。
如果断网的话,这个请求就不会发送到IM服务了。如果之后这个用户在别的手机登录或者这个手机登录别的账号,也都不会有问题。
如果要像精确控制,需要在退出登录时检查网络请求,如果处于未连接状态,不允许退出登录,这样确保在退出登录时能够发停掉推送的请求发送的IM服务
from ios-chat.
好的
from ios-chat.
Related Issues (20)
- 禁言全部群成员后无法设置管理员 HOT 1
- bugly 上报崩溃 NSInternalInconsistencyException HOT 3
- bugly 上报崩溃 SIGBUS HOT 2
- bugly 上报崩溃 NSInvalidArgumentException HOT 2
- 非公共API使用-应用程序在Frameworks/WFChatUIKit.framework/WFChatUIKit: startPreview中引用非公共选择器
- 群头像 HOT 2
- 编辑保存超出字数限制的群公告,会停留在“保存中”状态,实际保存失败,但群内已发布了群公告消息。 HOT 1
- iOS/iPad17 系统兼容|进入“我的”-“我的二维码”,App闪退提示崩溃 HOT 1
- IM 有时会无法连接到服务器 HOT 5
- iOS低版本更新SDK后,仍然无法正常打开 HOT 5
- 删除好友申请(未添加的好友申请),当有新的好友申请进来后,已删除的申请会重新展示 HOT 1
- iPhone允许屏幕旋转,会议中,iPhone屏幕共享后,app退到后台,打开safari浏览器,然后横屏,其他人在电脑上看到的iPhone共享页面方向不对
- 转发多人 HOT 1
- 闪退:IM退到后台一段时间,再返回前台,会有机率闪退 HOT 1
- iOS端SDK 撤回超长消息时不能立即拿到extraModel.recallRecord
- 当手机空间不足,数据库写入会失败,当用户清理出空间后,无法重新恢复读取到数据库聊天信息;
- ios最新版本的本地通知不起作用 HOT 1
- 消息第一次闪屏 HOT 3
- 使用有线/蓝牙耳机时,在iOS端点击接收与发送语音消息,均为手机扬声器播放 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-chat.