react-native Link - 重复调用不断附加到配置文件
react-native Link - repeated invocations keep appending to configuration files
React Native Link 似乎不会解析之前对配置文件的更改,而是进行增量的、重复的更改。
例如,android/app/build.gradle
开头为:
dependencies {
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
}
首次调用 react-native link
之后
dependencies {
compile project(':react-native-vector-icons')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
}
第二次调用后...
dependencies {
compile project(':react-native-vector-icons')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
compile project(':react-native-vector-icons')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
}
等等..
有什么好的地方可以开始我的调查吗?
嘿,你的答案就在那里:
目前正在PR中,正在测试中。
React Native Link 似乎不会解析之前对配置文件的更改,而是进行增量的、重复的更改。
例如,android/app/build.gradle
开头为:
dependencies {
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
}
首次调用 react-native link
dependencies {
compile project(':react-native-vector-icons')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
}
第二次调用后...
dependencies {
compile project(':react-native-vector-icons')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
compile project(':react-native-vector-icons')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
compile project(':react-native-linear-gradient')
compile project(':react-native-fcm')
compile project(':react-native-cookie')
}
等等..
有什么好的地方可以开始我的调查吗?
嘿,你的答案就在那里:
目前正在PR中,正在测试中。