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 email@example.com
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