Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

react-native link操作中,增加的:react-native-wechat,与Readme中的:RCTWeChat 一样吗? #225

Open
@HunDunDM

Description

@HunDunDM

根据教程的说明,执行link操作后,部分操作仍需手工进行。

观察react-native link react-native-wechat命令之后,android下setting.gradle以及app/build.gradle文件增加的部分,与Readme中相同的部分,link自动增加的名称为:react-native-wechat,而Readme中该部分的名称为:RCTWeChat

想请问是两个都需要加,还是他们的效果是一样的?

RN新手的蠢问题,见谅。

Activity

yorkie

yorkie commented on Jun 13, 2017

@yorkie
Owner

这个库并没有官方支持react-native link,所以还是依照文档中的写 :)

Txiaozhe

Txiaozhe commented on Jun 19, 2017

@Txiaozhe

实践证明还是使用

include ':react-native-wechat'
project(':react-native-wechat').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-wechat/android')

compile project(':react-native-wechat')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @yorkie@Txiaozhe@HunDunDM

        Issue actions

          react-native link操作中,增加的:react-native-wechat,与Readme中的:RCTWeChat 一样吗? · Issue #225 · yorkie/react-native-wechat