Luk*_*kas 5 react-native expo react-native-firebase expo-notifications
我想让我的应用程序为推送通知做好准备。因此,我将 Expo Notifications 与 React-Native-Firebase 一起使用(它是一个裸工作流程应用程序)。Mi错误来自Podfile。对于 firebase 我需要添加use_frameworks!
但比我得到这个错误:
node_modules/react-native/React/Base/RCTBridge.m:17:9: fatal error: 'RCTDevLoadingViewProtocol.h' file not found
#import "RCTDevLoadingViewProtocol.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Run Code Online (Sandbox Code Playgroud)
在 Github 上,我发现要修复此错误,我需要删除use_frameworks!. 但如果我删除它,我会收到以下错误:
ios/Pods/Headers/Public/glog/glog/logging.h:509:1: note: namespace 'google' begins here
namespace google {
^
1 error generated.
Run Code Online (Sandbox Code Playgroud)
有解决方案来解决这个问题吗?这是我的版本:
- "@expo/react-native-action-sheet": "^3.13.0",
- "@fortawesome/free-brands-svg-icons": "^6.1.1",
- "@fortawesome/pro-light-svg-icons": "^6.1.1",
- "@fortawesome/pro-regular-svg-icons": "^6.1.1",
- "@fortawesome/pro-solid-svg-icons": "^6.1.1",
- "@fortawesome/react-native-fontawesome": "^0.2.7",
- "@invertase/react-native-apple-authentication": "^2.2.0",
- "@openspacelabs/react-native-zoomable-view": "^2.0.4",
- "@react-native-community/netinfo": "^8.3.0",
- "@react-native-firebase/app": "^14.11.0",
- "@react-native-google-signin/google-signin": "^7.2.2",
- "@react-navigation/bottom-tabs": "^6.3.1",
- "@react-navigation/stack": "^6.2.1",
- "日期-fns": "^2.28.0",
- "世博会": "~45.0.0",
- "expo-image-picker": "^13.1.1",
- "expo-localization": "^13.0.0",
- "博览会地点": "^14.2.2",
- "expo-notifications": "^0.15.2",
- "expo-splash-screen": "~0.15.1",
- "expo-status-bar": "~1.3.0",
- "jwt-解码": "^3.1.2",
- “反应”:“17.0.2”,
- “反应-dom”:“17.0.2”,
- “反应本机”:“0.68.2”,
- "react-native-admob": "v2.0.0-beta.6",
- "react-native-device-info": "^8.7.1",
- "react-native-fast-image": "^8.5.11",
- "react-native-gesture-handler": "^2.4.2",
- "react-native-iap": "^8.0.9",
- "react-native-image-slider-box": "^1.1.23",
- "react-native-modal-datetime-picker": "^13.1.2",
- "react-native-picker-select": "^8.0.4",
- “反应本机安全区域上下文”:“4.2.4”,
- "react-native-screens": "~3.11.1",
- "react-native-swipe-list-view": "^3.2.9",
- "react-native-video": "^5.2.0",
- “反应本机网络”:“0.17.7”
| 归档时间: |
|
| 查看次数: |
1208 次 |
| 最近记录: |