Unable to connect to Firebase cloud messaging my Ionic capacitor android application

Viewed 14

Recently, i’ve generated an android application which is not a native android application. I have used the ionic framework to export a VUE JS web project to an android application. Mostly of functions are working correctly, but i’ve been unable to implement push notifications with firebase.

I’ve followed the steps recommended in the firebase official documentation: https://firebase.google.com/docs/android/setup

My project specifications are these: variables Gradle

Tried to connect my Android app to Firebase using both of the following options: • First: Using the Firebase console setup workflow. (I'm able to get the FCM registration token but none of the notifications i send reach my app in the background) • Second: Using the Android Studio Firebase Assistant. Firebase assistant in android studio

After trying to connect to Firebase, it gives the following error: Resolve Gradle build issues

Android Gradle plugin

Modules properties

I’ve been tried every tutorial I’ve found but they always work over native apps, so I created a native android app to configure the notifications with firebase and it worked. I think the problem may be some configuration I’m missing.

0 Answers
Related