Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova plugin firebasex not working Android #856

Open
5 tasks
sw-tt-vidhithakkar opened this issue Dec 20, 2023 · 1 comment
Open
5 tasks

Cordova plugin firebasex not working Android #856

sw-tt-vidhithakkar opened this issue Dec 20, 2023 · 1 comment
Labels
android Relates to Android platform awaiting response If no response, issue will be closed runtime issue An issue related to app runtime support Support is being requested but not a necessarily a bug

Comments

@sw-tt-vidhithakkar
Copy link

sw-tt-vidhithakkar commented Dec 20, 2023

Bug report

CHECKLIST

  • I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
  • I have checked that no similar issues (open or closed) already exist.

Current behavior:

  • I have intsalled cordova-plugin-firebasex for handling push notification in my App, but onMessgeReceived never gets called, i never got any kind of push notification in my app. and also when i checked it's logs i got this output of PlatformApplicationDisbaled message as shown in attched screenshot.
    MicrosoftTeams-image (21)

Expected behavior:
Should receive push notification in both Foreground & Backgroup app mode.

Steps to reproduce:

Screenshots

Environment information

  • Cordova CLI version
    • cordova -v - 11
  • Cordova platform version
    • cordova platform ls - Android@12
  • Plugins & versions installed in project (including this plugin)
    • cordova plugin ls
    • @havesource/cordova-plugin-push 4.0.0-dev.0 "Cordova Push Plugin"
      com.pylonproducts.wifiwizard 0.2.11 "WifiWizard"
      cordova-plugin-android-permissions 1.1.5 "Permissions"
      cordova-plugin-android-support-v4 21.0.1 "Android Support v4"
      cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
      cordova-plugin-badge 0.8.9 "Badge"
      cordova-plugin-camera 7.0.0 "Camera"
      cordova-plugin-chrome-apps-common 1.0.7 "Chrome Apps Common Utils"
      cordova-plugin-chrome-apps-iossocketscommon 1.0.2 "Chrome Apps iOS Sockets Common"
      cordova-plugin-chrome-apps-runtime 2.0.0 "Chrome App Runtime"
      cordova-plugin-chrome-apps-sockets-tcp 1.3.7 "Chrome Apps Sockets TCP API"
      cordova-plugin-chrome-apps-storage 1.0.4 "Chrome Apps Storage API"
      cordova-plugin-contacts 3.0.1 "Contacts"
      cordova-plugin-device 2.0.3 "Device"
      cordova-plugin-dialogs 2.0.2 "Notification"
      cordova-plugin-geolocation 4.1.0 "Geolocation"
      cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"
      cordova-plugin-network-information 3.0.0 "Network Information"
      cordova-plugin-screen-orientation 3.0.2 "Screen Orientation"
      cordova-plugin-splashscreen 6.0.1 "Splashscreen"
      cordova-plugin-statusbar 2.4.3 "StatusBar"
      cordova-plugin-wifiwizard2 3.1.1 "WifiWizard2"
      cordova-support-google-services 1.3.2 "cordova-support-google-services"
      cordova.plugins.diagnostic 5.0.2 "Diagnostic"
      cz.blocshop.socketsforcordova 1.1.0 "SocketsForCordova"
      es6-promise-plugin 4.1.0 "Promise"
      phonegap-plugin-barcodescanner 8.1.0 "BarcodeScanner"
      phonegap-plugin-multidex 1.0.0 "Multidex"
  • Dev machine OS and version, e.g.
    • OSX
      • sw_vers
    • Windows 10
      • winver

Runtime issue

  • Device details
    • _e.g. Oppo Reno 10 PRO
  • OS details
    • _e.g. Android 13

Android build issue:

  • Node JS version
    • node -v - 16
  • Gradle version
    • ls platforms/android/.gradle - 7.6
  • Target Android SDK version
    • android:targetSdkVersion - 33 in AndroidManifest.xml
  • Android SDK details
    • sdkmanager --list | sed -e '/Available Packages/q'

iOS build issue:

  • Node JS version
    • node -v
  • XCode version

Related code:

insert any relevant code here such as plugin API calls / input parameters

Console output

console output

// Paste any relevant JS/native console output here



Other information:

@dpa99c
Copy link
Owner

dpa99c commented Dec 20, 2023

Please build and run the example project and use its built-in FCM client to test cloud messaging.

This will determine whether the cause of the issue is in your own code/project or you local build environment.

@dpa99c dpa99c added awaiting response If no response, issue will be closed support Support is being requested but not a necessarily a bug runtime issue An issue related to app runtime android Relates to Android platform labels Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Relates to Android platform awaiting response If no response, issue will be closed runtime issue An issue related to app runtime support Support is being requested but not a necessarily a bug
Projects
None yet
Development

No branches or pull requests

2 participants