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

支持Autolinking?

Open lotosbin opened this issue 5 years ago • 5 comments

https://github.com/react-native-community/cli/blob/master/docs/autolinking.md

lotosbin avatar Aug 11 '19 05:08 lotosbin

暂时npm install react-native-wechat会缺少react-native-wechat.podspec这个文件。不过只需要在node_modules中找到react-native-wechat这个folder然后把repo中的react-native-wechat.podspec放进去,应该就可以支持Autolinking了。

horrorsheep avatar Aug 12 '19 06:08 horrorsheep

暂时npm install react-native-wechat会缺少react-native-wechat.podspec这个文件。不过只需要在node_modules中找到react-native-wechat这个folder然后把repo中的react-native-wechat.podspec放进去,应该就可以支持Autolinking了。

是因为我们没有发布吗?

yorkie avatar Aug 12 '19 10:08 yorkie

嗯嗯,发布一下react-native-wechat.podspec会方便需要Autolink iOS的developer。安卓那边应该没问题。

horrorsheep avatar Aug 12 '19 14:08 horrorsheep

react native 0.60 是使用cocoapods,集成react-native-wechat,运行 pod install,报如下的错:

 pod install

Analyzing dependencies
Fetching podspec for `RCTWeChat` from `../node_modules/react-native-wechat`
[!] No podspec found for `RCTWeChat` in `../node_modules/react-native-wechat`

所以,按照楼上说的,这个库需要发布一下最新的代码是吗?请问有计划什么时候发吗?

KingAmo avatar Aug 15 '19 07:08 KingAmo

react native 0.60 是使用cocoapods,集成react-native-wechat,运行 pod install,报如下的错:

 pod install

Analyzing dependencies
Fetching podspec for `RCTWeChat` from `../node_modules/react-native-wechat`
[!] No podspec found for `RCTWeChat` in `../node_modules/react-native-wechat`

所以,按照楼上说的,这个库需要发布一下最新的代码是吗?请问有计划什么时候发吗?

目前即使pod install可以成功,运行时还是报错咋弄啊

wanghhh avatar Sep 01 '19 08:09 wanghhh