Hi all,
for a B4XPages app (Android & iOS) that I am developing for a client of mine, I need to display a push message when a new article is inserted in the CMS (Drupal) of the project (with a short deadline).
What is the simplest solution (and less expensive given the short delivery times) that I can adopt in this case?
Extend Drupal code and send a Firebase PushNotification when a new article is inserted.
Implement FirebaseMessaging in your Android and iOS Apps to be able to receive them.
Extend Drupal code and send a Firebase PushNotification when a new article is inserted.
Implement FirebaseMessaging in your Android and iOS Apps to be able to receive them.
1) "Extend Drupal code": this mean to write a new php module on drupal, right or ?
2) "Implement FirebaseMessaging in your Android and iOS Apps"
So this is the "receiver" that could be implemented using: "FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM)" based on the @Erel tutorial ([B4X] [B4XPages] Firebase Push Example) ? Right ? Is the best way (ad simple) way to implement it within B4X ?
Synopsis Firebase implements a service to send push notification to Android or iOS devices. It uses Google's Firebase Cloud Messaging to deliver the notification. Firebase allows to send push and silent push notifications to group messages to customize icon, sound and click action to manage...
A simple, B4A + B4i, example based on: B4A: https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-firebase-cloud-messaging-fcm.67716/ B4i: https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-server-not-required.68645/#content It receives push...
So this is the "receiver" that could be implemented using: "FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM)" based on the @Erel tutorial ([B4X] [B4XPages] Firebase Push Example) ? Right ?
Updated tutorial: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.148715/ Clarification: The nice thing about FCM is that your app doesn't need to run in order to receive messages. The FirebaseMessaging receiver will be started by the OS when a new message...
This guide includes tutorials and other information that you need to create modules for Drupal 8 and later. Other resources: Drupal 8 API reference Change records for Drupal 8.x
Synopsis Firebase implements a service to send push notification to Android or iOS devices. It uses Google's Firebase Cloud Messaging to deliver the notification. Firebase allows to send push and silent push notifications to group messages to customize icon, sound and click action to manage...
A simple, B4A + B4i, example based on: B4A: https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-firebase-cloud-messaging-fcm.67716/ B4i: https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-server-not-required.68645/#content It receives push...
1) "Firebase push notification"
So using this drupal extension I should be able to send notification on both android and iOS app.
I miss to understand how to bind the push message sending only when a new article is inserted in drupal.
Updated tutorial: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.148715/ Clarification: The nice thing about FCM is that your app doesn't need to run in order to receive messages. The FirebaseMessaging receiver will be started by the OS when a new message...
www.b4x.com
It is the only official way to implement FirebaseMessaging for Android and iOS
This guide includes tutorials and other information that you need to create modules for Drupal 8 and later. Other resources: Drupal 8 API reference Change records for Drupal 8.x
Yes. Subscribe for a topic (ie “dbUpdate”) andyou will receive the push notify when you publish something with that topic.
Be sure to test first to send with the B4J attached in the example
Updated tutorial: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.148715/ Clarification: The nice thing about FCM is that your app doesn't need to run in order to receive messages. The FirebaseMessaging receiver will be started by the OS when a new message...