반응형
MainApplication.java
@Override
protected List<ReactPackage> getPackages() {
@SuppressWarnings("UnnecessaryLocalVariable")
List<ReactPackage> packages = new PackageList(this).getPackages();
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(new MyReactNativePackage());
packages.add(new RNFirebasePackage()); // 해당 부분 삭제
packages.add(new RNFirebaseMessagingPackage()); // add this line
packages.add(new RNFirebaseNotificationsPackage()); // add this line
return packages;
}
버전 정보
"react": "16.11.0",
"react-native": "0.62.2",
"react-native-firebase": "^5.6.0"
반응형
'개발 > 리액트네이티브' 카테고리의 다른 글
[React Native] android clean (0) | 2020.06.05 |
---|
댓글