fcm

  1. A

    Android Question FirebaseMessaging Not Found (Manifest Editor)

    Hi all. I'm trying to replace the service FirebaseMessaging with the Receiver FirebaseMessaging. I removed FirebaseMessaging service from my project and added Receiver FirebaseMessaging. Now I see in a log these lines Error parsing Manifest script FirebaseMessaging Not Found (Manifest Editor)...
  2. A

    Android Question Foreground service permissions

    Hi all. My app using Firebug messaging. I updated the EDI to 13 and according to Erel's tutorial added these 2 lines into my manifest AddPermission(android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING) SetServiceAttribute(FirebaseMessaging, android:foregroundServiceType, "remoteMessaging")...
  3. A

    Android Question java.lang.RuntimeException: android.app.MissingForegroundServiceTypeException: Starting FGS without a type

    Hi all. I received an email from the Crashlytics. My app is setup for targetSDK 34. This is what happened - in my app I'm using Firebug messaging system. I read in Erel tutorial that I need to add 2 lines into my manifest and specify a ForegroundServiceType. What type to specify for Firebug...
  4. sizzler

    Android Question new Firebase Method

    Hello friends I used Google Firebase in my projects And according to the previous procedure, from the Firebase panel and section Cloud Messaging API (Legacy) I received the api key and use that , But now this method is obsolete and we have to use Firebase Cloud Messaging API (V1) but this method...
  5. FrostCodes

    Other [B4X] Send Firebase Push Notifications with Node Js (2024)

    Many people have been asking how to send Firebase notifications using Node.js so I decided to create this example for sending notifications to B4A or B4I apps using Node.js: Features - Uses the latest Firebase Cloud Messaging (v1) API. - Works with both B4A and B4I. - Well-documented. -...
  6. SinaDeveloper

    Android Question Push notification without using Firebase

    Hello Telegram has stated in its FAQ section that: We currently have two types of notifications on Android: Google's Messaging cloud (GCM) and our own custom notification service that is independent of Google. Note that Google Notifications (GCM) may not work on some Android devices. Telegram...
  7. J

    Android Question Send an image using FCM. It's possible?

    Hello, I want to send an image using FCM. I get the image and encode it with Base64EncodeDecodeImage. The size is 8300000 bytes. If I compress it with GZipStrings the size is 6200000. Sending the message with FCM gives an error. Can an image be sent via FCM, or is there a message size...
  8. Pxs

    B4J Question Send FCM group notification to both Android and IOS

    Hello I've been using a B4J program to send FCM notifications to Android clients. We're now adding IOS support. Problem is, a notification formatted for android does not show on IOS ( lacks the additional json info) and viceversa (android does not like the additional fields) For now, we...
  9. KMatle

    Android Example Firebasemessaging (FCM): Receive messages in doze/sleep mode

    Issue: Device doesn't receive FCM messages while in sleep/doze mode Important to know: Google uses 2 different api's with different keywords So: https://fcm.googleapis.com/fcm/send = legacy mode https://fcm.googleapis.com/v1/projects/myproject-b5ae1/messages:send =v1 More info's: FCM...
  10. ABBAS NAZARI

    Android Question Send Push Notification with Node.js

    Hello Everyone! I send push notification by Node.js it sent successfully and in b4a message successfully received! but message content is empty it's node.js code help me! @Erel @DonManfred
  11. KMatle

    Android Code Snippet FCM messages/notifications: Use Phonewakestate to throw notifications without delay

    I mentioned that my fcm messages arrive without delay (data messages), but throwing a notification (even with high priority) doesn't work all the time when the phone sleeps. Setting the phonewakestate before throwing the notification and releasing it after seems to work: pws.PartialLock...
  12. amorosik

    Android Question Delay in arrival on Android smartphone of fcm notifications sent from pc

    I am using fcm notifications from pc to android smartphone to bring an app to the foreground and set it to work I'm verifying that sending the notification does not always arrive on the phone quickly Sometimes it can take several minutes before the notification is received and the app reacts...
  13. D

    Android Question [SOLVED] Fcm messaging - how many char can be send on a single notify ?

    I follow this link to implements a pc to android communication via Fcm Fcm Tutorial The notification is sent from B4J program on pc, received from B4A Android app, and correctly recognized But when I send notifications with body length greater than a few hundred characters, the android app...
  14. gian55

    job request for push notification demo b4a/b4i

    I need a working demo app to receive/send push notification (firebase or onesignal which i prefer) for b4a and b4i. i've the google firebase account and the apple developer account. i pay with paypal. please contact me if interested thank you
  15. A

    Android Question Firebase Cloud Messaging Push Notifications

    Hi all. My question is - does it have any limitation for a number of characters? Like SMS for example? Thanks
  16. M

    iOS Question Firebase messaging token - detect app uninstall

    Hi everyone.. i've a big problem, i must know if a user has uninstalled the app. I use firebase messaging to send push notification using a token. There is a way to know if a user has deleted the app? I read that maybe using the fact that the firebase token became invalid after a while... but i...
  17. janderkan

    B4R Question Firebase FCM not working with ESP32

    https://www.b4x.com/android/forum/threads/firebase-push-messages-fcm.81025/#content I am using B4R 3.0, Esp8266 2.5.2, Esp32 1.0.4 Using this example on the Esp8266 works fine. On the Esp32 the HttpJob/ParseResult function is not called. The data returned from Firebase in...
  18. Lucas Siqueira

    Android Question Problem with duplicate fcm message!

    Hello everyone! Problem with duplicate fcm message! I'm having problems with firebase cloud message, when I send message, I get two on mobile, one I sent and another as if it was automatic ... My version of b4a is the latest (9.50), FirebaseNotifications version is (1.21) ... On the firebase...
  19. A

    Android Question [Resolved] FCM - Android to send the push messages

    Hi All, I have been following Erel's tutorial for how to implement FCM and I have successfully push the message using the B4J example. I have searched the forum however I can not find a way to make the android itself publish the message, so my question, is this doable to make the android App...
  20. KMatle

    Android Tutorial FCM message workflow explained by Google

    See here: https://firebase.googleblog.com/2018/09/handle-fcm-messages-on-android.html?linkId=57036840 There are 3 types of messages you can send combined with your app's state (fore- or background). Android FCM services behave different depending on the message type: 1. Notifcation only As...
Top