ios JMessage.createSendMessage 'file' 手机卡死
ios
"jmessage-react-plugin": "^2.3.4",
安卓好使,ios手机卡死
JMessage.createSendMessage({ type: 'single', username: this.state.initData.msgUsername, appKey: this.appkey, messageType: 'file', path: mess.mediaPath, extras: { questionCode: this.props.doctorData.questionCode } },
(message) => {})
{ fromUser:
{ userId: 'DOCT_3db6966b75c543f9890de16348132c03',
displayName: '蒙医生',
avatarPath: 'http://lhcf.laohao.wang/FqunTORVfa_hwUo3ZhO4BZk6mwzC?imageslim',
type: 'user' },
msgId: '1531899627212',
status: 'send_going',
msgType: 'video',
isOutgoing: true,
timeString: null,
duration: 0,
mediaPath: 'file:///var/mobile/Containers/Data/Application/349497FA-5A86-49F3-882B-711E54FBE31F/tmp/55359242096__2858994C-4B6F-4AD1-8665-FC4B90FF70AD.MOV' } ]
2018-07-18 15:40:27.481134+0800 zhifei_recovery_doctor[8060:709559] [general] __CFRunLoopModeFindSourceForMachPort returned NULL for mode 'kCFRunLoopDefaultMode' livePort: 4294967295
2018-07-18 15:40:27.626 [info][tid:com.facebook.react.JavaScript] 2
2018-07-18 15:40:27.626968+0800 zhifei_recovery_doctor[8060:706712] 2
2018-07-18 15:40:27.644 [info][tid:com.facebook.react.JavaScript] 6
2018-07-18 15:40:27.643947+0800 zhifei_recovery_doctor[8060:706712] 6
2018-07-18 15:40:27.768 [warn][tid:com.facebook.react.JavaScript] { description: 'media file not exit!', code: 2 }
2018-07-18 15:40:27.768184+0800 zhifei_recovery_doctor[8060:706712] { description: 'media file not exit!', code: 2 }
switchViewToNotInUse
switchViewToNotInUse
statusView in use count 4 not in use count 1
switchViewToNotInUse
switchViewToNotInUse
statusView in use count 4 not in use count 1
switchViewToNotInUse
switchViewToNotInUse
statusView in use count 4 not in use count 1
2018-07-18 15:40:27.811713+0800 zhifei_recovery_doctor[8060:709489] | JIGUANG | E - [JMSGFileContent] Invalid file data - it should not be nil.
switchViewToNotInUse
switchViewToNotInUse
statusView in use count 4 not in use count 1
2018-07-18 15:40:27.848370+0800 zhifei_recovery_doctor[8060:706692] | JIGUANG | E - [JMSGConversation] Content should not be nil.
2018-07-18 15:40:27.851178+0800 zhifei_recovery_doctor[8060:706604] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(0x18119ed8c 0x1803585ec 0x181137750 0x18106aa18 0x181076c78 0x100f82c88 0x100f65160 0x101d351dc 0x101d3519c 0x101d39d2c 0x181147070 0x181144bc8 0x181064da8 0x183049020 0x18b081758 0x100a85a48 0x180af5fc0)
libc++abi.dylib: terminating with uncaught exception of type NSException
warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.