react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

Android: build is failing can not find messaging

Open zahs opened this issue 3 years ago • 0 comments

hi,

I have integrated the library to my project following all the steps described in installation and manual setup. I am using firebase messaging 14.11.0 and react native push notifications 7.3.0. Android build is failing.

`Execution failed for task ':react-native-push-notification:generateDebugRFile'.

Could not resolve all files for configuration ':react-native-push-notification:debugCompileClasspath'. Could not find com.google.firebase:firebase-messaging:14.11.0. Required by: project :react-native-push-notification`

Sync project files with gradle works , if it is called separately, otherwise it is failing in building process.

buildscript { ext { buildToolsVersion = "30.0.2" minSdkVersion = 23 compileSdkVersion = 31 targetSdkVersion = 30 ndkVersion = "21.4.7075529" firebaseMessagingVersion = "14.11.0" } }

`dependencies { .... implementation project(':react-native-push-notification')

......

`

zahs avatar Aug 04 '22 10:08 zahs