B4J Tutorial [BANano] Beginning Firebase Messaging - Mashiane (first post)    Dec 29, 2020   (1 reaction) So far we have been able to show notifications when they come from the background. We want to also show notifications when a message is received in the foreground.
105122
This was possible in the service worker with...
messaging.onBackgroundMessage(function(payload) {
console.log('service work B4A Question Notification is displayed when app has no notifications defined when widget is on home screen - rleiman (first post)    Jan 07, 2020 Greetings,
The widget service can't be stopped because it updates times on the widget so I can't use StopAutomaticForeground. B4A Library FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) - DonManfred (first post)    Aug 21, 2017 - The Notification is build in the firebasemessaging service.
- The Notification is just a standard-notification.
Feel free to replace the standard notification with a notification build with the NotificationBuilder. B4A Library Notification Builder Library. - barx    Dec 12, 2017   (48 reactions) OnGoingEvent As Boolean
Sets whether the notification is an 'ongoing event'.
The notification will be shown in the ongoing section and will not be cleared.
OnlyAlertOnce As Boolean
Sets whether the notification will only play sound / vibrate /show light if the notification is not already showing.
B4A Library SD: Floating Button StandOut - DonManfred (first post)    Aug 22, 2017   (1 reaction) i dont think as the notification is a notification for a foregroundservice. Stop the foregroundservice to remove the icon. Stopping the foreground service stops the Standout-feature too so it would make the lib useless. B4A Question Notification Multiline - wes58 (first post)    May 02, 2019   (2 reactions) That's normal. Notification will only show the text that fits one line. I don't know what library you are using to send notification, but if you use Erel's NB6 class you can use the "BigTextStyle" notification (have a look at an example at NB6 class thread). This will allow you to view longer text. B4A Question Only getting notifications if the program is active on the screen - Tim Chapman (first post)    Jan 25, 2024 Thank you for the replies.
I got a compromise to work with the code below.
A notification with sound occurs when the phone moves close to a designated location.
A notification with no sound occurs when the phone moves away from a designated location.
It seems that cancelling the notification to make B4A Question Notification with background app (SOLVED) - IdasI4A (first post)    Sep 02, 2022   (1 reaction) I generated the notification when I got a message from FireBase, the problem was in the message that already included a notification.
If the message is:
notification {
title=titulo,
body=body of notification,
}
data {
campo1=valor1,
campo2=valor2,
}
When I receive the message with t B4i Question B4i Firebase Message - Erel (first post)    May 11, 2020 I don't understand. The notification text is set when you send the message. Share My Creation [B4A] Firebase Notifications Alternative - Source Codes - sfsameer (first post)    Jul 30, 2021   (1 reaction) It's already been implemented but not as a notification, but as a real-time data update.
For example :
You have a table in an activity, you don't need to use any timers to check for new data, the table will update automatically if there was (Update, Delete, Insert)
The notification feature is a g Page: 1   2   3   4   5   6   7   Powered by ColBERT |