How to use Firebase Messaging, Dynamic Links and Analytics with Quasar and Android 9
ahiguita last edited by
Perhaps many of you have been as lost as I when I tried to use Quasar / Cordova / Firebase Messaging … I’ll just summarize it, it took me weeks to understand how the plugins work and how Quasar works with Cordova (Although there are still many things not I understand)
For that reason I am writing this post, I hope to help you with this.
Read the post for Android 9.0.0 You will understand many things by reading that post.
Update cordova run
npm install -g cordova.
Install the quasar mode for cordova run
quasar mode add cordova
after that go to the
run this cmd for install Android 9.0.0
cordova platform add firstname.lastname@example.org
Install the plugins for firebase meesaging, Dynamics Links and Analytics
cordova plugin add cordova-plugin-androidx-adapter cordova plugin add cordova-plugin-firebase-messaging cordova plugin add cordova-plugin-firebase-dynamiclinks --variable APP_DOMAIN_NAME="mydomain.page.link"
PD: If you read item 1, you will understand why it is necessary to install
cordova plugin add cordova-plugin-androidx-adapterplugin.
PD1: To use Auth, Firestore, Realtime or another, SDK Client for Javascrip will be enough, however if you will use FCM you will need to install the last listed plugins.
PD2: After to run the App, you need paste the
google-service.jsonon the folder
- finally, run the cmd for test de App
quasar dev -m cordova -T android
jrhopkins83 last edited by
Can you share a code snippet where you used the Firebase Dynamic Links?
Also, has anyone tried using these in a capacitor app? I can’t get it to work.