andrehtissot / cordova-plugin-fcm-with-dependecy-updated

Google FCM Push Notifications Cordova Plugin
MIT License
210 stars 275 forks source link

Why doesnt work the sound with Clous Messaging from Firebase? #160

Open manel00 opened 4 years ago

manel00 commented 4 years ago

That's all, thank you ;)

andrehtissot commented 3 years ago

@manel00 Please, use the "Bug report" issue template. More would be required to understand the issue you are facing.

manel00 commented 3 years ago

Describe the bug When i'm sending to all the people who has the Ionice 5 app on the device (Android) via Cloud messaging on Firebase, there is no sound when i'm getting it, why?

To Reproduce Steps to reproduce the behavior: Having the app installed on the phone

Expected behavior Should sound

Screenshots No need

Environment (please complete the following information): Mobile OS: Xiaomi Mi 8 Lite MIUI 11

Cordova: 9.0.0 (cordova-lib@9.0.1) Node: v14.6.0

Package.json "@angular/common": "~9.1.6", "@angular/core": "~9.1.6", "@angular/forms": "~9.1.6", "@angular/platform-browser": "~9.1.6", "@angular/platform-browser-dynamic": "~9.1.6", "@angular/router": "~9.1.6", "@capacitor/core": "2.4.0", "@ionic-native/app-rate": "^5.27.0", "@ionic-native/core": "^5.0.7", "@ionic-native/fcm": "^5.27.0", "@ionic-native/in-app-browser": "^5.27.0", "@ionic-native/photo-viewer": "^5.27.0", "@ionic-native/push": "^4.20.0", "@ionic-native/screen-orientation": "^5.27.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "^5.0.0", "animate.css": "^4.1.0", "animejs": "^3.2.0", "com-sarriaroman-photoviewer": "^1.2.5", "cordova-android": "^8.1.0", "cordova-plugin-androidx": "^2.0.0", "cordova-plugin-androidx-adapter": "^1.1.1", "cordova-plugin-apprate": "^1.5.0", "cordova-plugin-dialogs": "^2.0.2", "cordova-plugin-fcm-with-dependecy-updated": "^7.0.9", "cordova-plugin-inappbrowser": "^4.0.0", "cordova-plugin-nativestorage": "^2.3.2", "cordova-plugin-screen-orientation": "^3.0.2", "es6-promise-plugin": "^4.2.2", "ngx-ionic-image-viewer": "^0.7.1", "npm-latest-version": "^1.0.2", "rxjs": "~6.5.1", "tslib": "^1.10.0", "zone.js": "~0.10.2"

andrehtissot commented 3 years ago

Which is the command line you are using to build the application?

I ask this, because cordova-plugin-fcm-with-dependecy-updated doesn't support ionic's capacitor, only through cordova.

Also, very important for this investigation, is to have the push payload.

Did you try with one of the example apps?