react-native-wechat icon indicating copy to clipboard operation
react-native-wechat copied to clipboard

引入这个微信库后 导致Animated 不能正常工作

Open zhangyu7403 opened this issue 5 years ago • 11 comments

react-native-wechat ^1.9.10 版本导入后 react-native的 Animated动画没有了缓动效果,希望官方帮忙确认一下是不是这个微信库在影响Animated

zhangyu7403 avatar Aug 19 '19 08:08 zhangyu7403

用git地址install,npm上的插件未更新

yiky84119 avatar Aug 20 '19 12:08 yiky84119

用git地址install,npm上的插件未更新

install了最新的git的代码,但是IOS上animated失效的解决了,但是Android跑不起来,报错

Note: Recompile with -Xlint:unchecked for details.
/node_modules/react-native-wechat/android/src/main/java/com/theweflex/react/WeChatModule.java:255: error: unreported exception Exception; must be caught or declared to be thrown
                    throw new Exception("Empty bitmap");
                    ^
1 error

mowen0303 avatar Aug 25 '19 00:08 mowen0303

找到对应java文件,把thorw这行代码注释就行

yiky84119 avatar Sep 02 '19 09:09 yiky84119

npm 可以更新一下吗 npm git地址一直不成功 @yiky84119

Hetaoweb avatar Sep 08 '19 13:09 Hetaoweb

@M1seRy

Hetaoweb avatar Sep 08 '19 13:09 Hetaoweb

https://github.com/yiky84119/react-native-wechat

yiky84119 avatar Sep 08 '19 15:09 yiky84119

@Hetaoweb 已经更新了 npm 最新版本 1.9.11 试一试。

0xinhua avatar Sep 09 '19 05:09 0xinhua

@M1seRy 谢谢大佬

Hetaoweb avatar Sep 09 '19 05:09 Hetaoweb

@M1seRy 最新版的仍然未解决pod install 的问题,rn 0.60.5

KingAmo avatar Sep 12 '19 01:09 KingAmo

@KingAmo 可以贴一下 pod install 的错误日志吗?

yorkie avatar Sep 19 '19 10:09 yorkie

@yorkie 提了一个 PR https://github.com/yorkie/react-native-wechat/pull/515 大佬有空看看~

KingAmo avatar Sep 19 '19 10:09 KingAmo