你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
搜索问题、话题或人...
输入关键字进行搜索
搜索:
问题
精选文章
开源项目
视频教程
活动
· · ·
帮助
登录
注册
环信_iOS
IOS密码锁屏状态 接收消息 提示数据库存储失败
不锁屏接收消息都正常。 应该是数据库没有访问权限 求解决 不然锁屏状态接收的消息都没法存储了
没有找到相关结果
已邀请:
与内容相关的链接
提交
3 个回复
Half12345
赞同来自:
fat1
参考新版demo 搜updateMessageExtToDB 对应到你代码里的位置 替换成这个。猜测你是因为这个 可以试试
5
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>{"to":"defecat","bodies":[{"type":"txt","msg":"我来了"}],"from":"eatdefecat"}</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
Half12345
你这个是必现的吗?用的什么版本sdk?NSLog(@"打印iOS环信SDK版本号:%@",[EaseMob sharedInstance].sdkVersion);
要回复问题请先
登录
或
注册
发起人
5
问题状态
最新活动:
2015-09-07 11:25
浏览:
8693
关注:
2
人
3 个回复
Half12345
赞同来自: fat1
5
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
Half12345