IOS密码锁屏状态 接收消息 提示数据库存储失败

不锁屏接收消息都正常。  应该是数据库没有访问权限 求解决 不然锁屏状态接收的消息都没法存储了
共3个回复

5

2015-06-29 16:34

2015-06-29 15:53:57:983 ZhongXiWaiQin[9021:6f13] RECV: <message from='eatdefecat#banni_eatdefecat@easemob.com/mobile' to='eatdefecat#banni_defecat@easemob.com' id='77307854033256864' type='chat'><body>{&quot;to&quot;:&quot;defecat&quot;,&quot;bodies&quot;:[{&quot;type&quot;:&quot;txt&quot;,&quot;msg&quot;:&quot;我来了&quot;}],&quot;from&quot;:&quot;eatdefecat&quot;}</body></message> 2015-06-29 15:53:57:992 ZhongXiWaiQin[9021:7323] begin insert message to chatter::eatdefecat, messageId::77307854033256864 2015-06-29 15:53:57.996 ZhongXiWaiQin[9021:2955867] Unknown error calling sqlite3_step (10: disk I/O error) eu 2015-06-29 15:53:57.997 ZhongXiWaiQin[9021:2955867] DB Query: INSERT INTO 'MessageV1' ('messageId','conversationChatter','mfrom','mto','isGroup','groupSenderName','requireBeforeSend','requireOnServer','deliveryState','messageBodies','ext','mtimestamp','isRead','isReadAcked','isDeliveredAcked','isAnonymous') VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) 2015-06-29 15:53:57.998 ZhongXiWaiQin[9021:2955867] Unknown error finalizing or resetting statement (10: disk I/O error) 2015-06-29 15:53:57.999 ZhongXiWaiQin[9021:2955867] DB Query: INSERT INTO 'MessageV1' ('messageId','conversationChatter','mfrom','mto','isGroup','groupSenderName','requireBeforeSend','requireOnServer','deliveryState','messageBodies','ext','mtimestamp','isRead','isReadAcked','isDeliveredAcked','isAnonymous') VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) 2015-06-29 15:53:57:994 ZhongXiWaiQin[9021:8313] SEND: <message to="eatdefecat#banni_eatdefecat@easemob.com/mobile" id="77307854033256864"><received xmlns="urn:xmpp:receipts" id="77307854033256864"/></message> 2015-06-29 15:53:58:000 ZhongXiWaiQin[9021:7323] end insert message with account::defecat, to chatter::eatdefecat, messageId::77307854033256864, result::NO

fat1

2015-06-29 16:45

@1038

Half12345

2015-09-07 11:25

你这个是必现的吗?用的什么版本sdk?NSLog(@"打印iOS环信SDK版本号:%@",[EaseMob sharedInstance].sdkVersion);  

Half12345

2015-06-29 16:42

参考新版demo 搜updateMessageExtToDB  对应到你代码里的位置 替换成这个。猜测你是因为这个  可以试试

5

2015-06-29 17:17

应该不是这个问题 日志begin insert message 这句话是是封装在环信SDK里面的
点击此处继续提问与开发者们互动

申请试用

提交后工作人员会尽快与您联系进行功能演示
技术咨询已转移到管理后台,请先登录

即时通讯云使用者请在应用详情页面咨询
客服云使用者请进入管理员模式咨询

×

在线咨询

电话咨询

技术咨询

免费试用