如何从 iOS 中删除 react-native-firebase 而将其保留在 Android 中?
How to remove react-native-firebase from iOS while keeping it in Android?
我正在为我的 React Native 项目使用 https://rnfirebase.io/docs/v5.x.x/。
我只想将它用于 Android 而不是 iOS。但是 Xcode 无法构建,说它需要 PODS.
中的 firebase
我该怎么办?
有什么文件我应该 remove/update?
这些是我用来取消 npm 模块与 iOS 的链接并将它们保留在 Android 中的命令:
react-native unlink react-native-gesture-handler --platforms ios
react-native unlink react-native-reanimated --platforms ios
react-native unlink react-native-vector-icons --platforms ios
我正在为我的 React Native 项目使用 https://rnfirebase.io/docs/v5.x.x/。 我只想将它用于 Android 而不是 iOS。但是 Xcode 无法构建,说它需要 PODS.
中的 firebase我该怎么办? 有什么文件我应该 remove/update?
这些是我用来取消 npm 模块与 iOS 的链接并将它们保留在 Android 中的命令:
react-native unlink react-native-gesture-handler --platforms ios
react-native unlink react-native-reanimated --platforms ios
react-native unlink react-native-vector-icons --platforms ios