im_flutter_sdk
im_flutter_sdk copied to clipboard
环信im flutter sdk, example中包含ui代码.
  如图, Plugin ImFlutterSdkPlugin.m 文件中有个FlutterAppDelegate 的分类EaseMob ,导致 FlutterAppDelegate 自己的 -application: didRegisterForRemoteNotificationsWithDeviceToken: 方法没有走,
发送视频消息给thumbnailLocalPath属性设置上缩略图,发送成功。从会话中获取消息体的thumbnailLocalPath属性却为null
字段不匹配
https://github.com/easemob/im_flutter_sdk/blob/74bd011f018d15825f7b967733e842bfb6cacf73/android/src/main/java/com/easemob/im_flutter_sdk/EMHelper.java#L706 https://github.com/easemob/im_flutter_sdk/blob/74bd011f018d15825f7b967733e842bfb6cacf73/lib/src/models/em_message.dart#L643-L644
> Android和ios的实现不同 android的是title+content的方式 而ios只有一个content 通过api去显示详情 android这边默认title和content一样 如果需要区分 可以自己在发消息的时候加上对应的扩展字段em_push_name和em_push_content去展示 https://stackoverflow.com/questions/8320065/setting-the-title-of-a-push-notification https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification 查阅资料得知iOS是可以支持Title设置的,我看到很多APP通知也是有Title的,希望环信这边可以支持一下。 _Originally posted by @mingchaogui in https://github.com/easemob/im_flutter_sdk/issues/177#issuecomment-731949643_