jpush / aurora-imui

General IM UI components. Android/iOS/RectNative ready. 通用 IM 聊天 UI 组件,已经同时支持 Android/iOS/RN。
https://docs.jiguang.cn
MIT License
5.71k stars 998 forks source link

hotkey(Command+r) invalid when Embedded Binaries add RCTAuroraIMUI.framework #303

Closed xc19 closed 6 years ago

xc19 commented 6 years ago

My environment:

React-native has hotkey Command+r can refresh the iOS simulator. But when i use "react-native link" and add RCTAuroraIMUI.framework to Embedded Binaries, Command+r will invalid. I try minus RCTAuroraIMUI.framework in Embedded Binaries,Command+r can back to normal. I try aurora-imui-react-native version 0.71 still have the same problem.

Same problem: https://github.com/jpush/aurora-imui/issues/209 https://github.com/jpush/aurora-imui/issues/172 But it look like is not solved.

huangminlinux commented 6 years ago

这边 Command + r 可以正常 reload 应用, 你那边编译选项是否选择了 release ?

xc19 commented 6 years ago

no, it is debug.

I try minus RCTAuroraIMUI.framework in Embedded Binaries,Command+r can back to normal.

you can try to use react-native 0.54 init new project. you may have same problem.

huangminlinux commented 6 years ago

新建 0.54.2 项目没有问题

xc19 commented 6 years ago

I just retested.
Aurora-imui-react-native is already fixed this issue with 0.9.20. The problem I encountered before was to use Aurora-imui-react-native with 0.9.9.
You should be able to reproduce it if you need. Thx.