I am trying to add firebase messaging in react native project. But getting below error when i try to run the project into Android.
Do i have to do any external setting or add firebase messaging into gradle file or does it automatically get added.
"@react-native-firebase/app": "^16.5.0",
"@react-native-firebase/crashlytics": "^16.5.0",
"@react-native-firebase/messaging": "^16.5.0",
but error is :
Task :react-native-firebase_messaging:compileDebugJavaWithJavac FAILED
any help.