[英]Can't setup @react-native-firebase/messaging in Android
i follow this android setup doc of cloud messaging我按照这个android setup doc of cloud messages
i have confused where to Add below code inside MainActivity class我很困惑在 MainActivity 类中添加以下代码的位置
protected List<ReactPackage> getPackages() {
return Arrays.asList(
new MainReactPackage(),
new ReactNativeFirebaseMessagingPackage(),
}
Currently My MainActivity class is :-目前我的 MainActivity 类是:-
Please help me to Android Setup of @react-native-firebase/messaging.请帮我设置@react-native-firebase/messaging。
"@react-native-firebase/app": "^8.4.6",
"@react-native-firebase/messaging": "^7.9.1",
"react": "16.13.1",
"react-native": "0.63.3"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.