5

I am trying to install rn-push-notifications for which I need the google play services version and firebase version. Could you please assist me?

AlexZeDim
  • 3,520
  • 2
  • 28
  • 64
yashatreya
  • 782
  • 1
  • 9
  • 32

2 Answers2

11

I use this method:

First run ./gradlew app:dependencies. You could send its output to a file for further searching.

Then search in the output for version of com.google.android.gms:play-services-base and com.google.firebase:firebase-core.

9

@Mohsen's answer was helpful to me to implement a react native app which has push notifications.

First I installed dependency react-native-push-notification

Then I navigated to the android folder and ran this command gradlew app:dependencies

Form the output of terminal, I found googlePlayServicesVersion and firebaseMessagingVersion by searching com.google.android.gms:play-services-basement and com.google.firebase:firebase-messaging

Further, to find supportLibVersion this answer was helped

Sanka Sanjeewa
  • 1,993
  • 14
  • 16