B4A Tutorial [B4X] Firebase Push Notifications 2023+ - Erel    
Feb 11, 2026   
(32 reactions)Google has deprecated the previous method of sending push notifications. It will stop working... file. This file includes a private key that gives access to your firebase account. Keep it secured...
link: Update:
- (PushClients) Topics subscription in B4i is done after the APN token is available. Note...
link: targetSdkVersion updated to 34. No other change is needed....
link:
Can't say much. B4Xlibs is the recommended format for libraries.
Thanks Erel.
I will do furth...
B4A Library FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) - Erel    
Jun 26, 2023   
(47 reactions)Updated tutorial: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023... in order to receive messages. The FirebaseMessaging receiver will be started by the OS when a new... is started again.
Firebase Cloud Messaging service is a layer above Google Cloud Messaging service.
It makes it simple to add support for push messages.
Sending messages is done with a simple HTTP request. It is also possible to send message from the Firebase console, though it is not very useful...
B4i Tutorial FirebaseNotifications / Push Messages (server not required) - Erel    
May 5, 2026   
(7 reactions)Updated tutorial: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023... service makes it relatively easy to send push messages.
Integrating Firebase: https://www.b4x.com/android/forum/threads/firebase-integration.68623/
Push messages in iOS requires some configuration.
1... - Create Push Key - Firebase Service:
https://www.b4x.com/basic4android/images/SS-2016-07-04_17.25.02.png
This will create a file named firebase_push.p12 in the keys folder. You need to upload it to...
B4A Tutorial [B4X] [B4XPages] Firebase Push Example - Erel    
Feb 24, 2026   
(16 reactions)Updated example: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.../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 notifications using Firebase. Note that it requires some configuration. Make sure to follow the above links.
Don't try to access B4XPages from FirebaseMessaging service. B4XPages can only...
B4R Code Snippet Firebase Push Messages (FCM) - Erel    
Oct 28, 2019   
(3 reactions)This code uses rHttpUtils2 to send push messages. It is equivalent to the B4J/A/i code posted here: https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-firebase-cloud-messaging-fcm.67716/#content
Notes:
- #StackBufferSize should be set to 500+.
- The title and body messages are not escaped. You will need to manually escape the messages if they include quotes.
#Region Project Attributes
#AutoFlushLogs: True
#CheckArrayBounds: True
#StackBufferSize: 2000
#End...
B4A Question Firebase push Notifications Php stopped working - tufanv    
Sep 17, 2019Hello,
For the last 2 years I am using the below function in my php to send messages successfully. Today I realized that none of my android apps receiving the messages sent via this code, messages sent directly from firebase console are receiving. the code is:
function notify($r, $t, $m) {
// API access key from Google API's Console
if (!defined('API_ACCESS_KEY')) define( 'API_ACCESS_KEY', 'xxxxxxxx');
$tokenarray = array($r);
// prep the bundle
$msg...
B4A Code Snippet Firebase push-message sending: the token from a code string - peacemaker    
Apr 30, 2025ServiceAccount JSON-file is required for Firebase push-message sending. It's dangerous to use...-----\n",
"client_email": "firebase[email protected]...
link: I cannot be completely sure but in the case it is possible why would you risk it?...
link: Can be also reverse-engineered from code? As well as unpack .json file from assets ?...
link: Great code, although I wouldn't suggest it. I think it is not safe to do it....
B4A Code Snippet Wake the screen up at Firebase push-message - peacemaker    
Apr 30, 2025   
(4 reactions)Manipulating of the KeepAlive when the push-message is arrived - helps to switch the screen on for some seconds: and this awoke allows to play a voice message !
Tested on Samsung phone Android14.
Sub fm_MessageArrived (Message As RemoteMessage)
Log("Message arrived")
Log($"Message data: ${Message.GetData}"$)
'if B4XPages framwork is used
' If B4XPages.IsInitialized And B4XPages.GetManager.IsForeground Then
' Log("App is in...
B4A Example [B4X] [B4XPages] FirebasePush + FirebaseAuth - Star-Dust    
Sep 17, 2020   
(21 reactions)/threads/b4x-b4xpages-firebase-push-example.120523/
100204 100207 100208...Today for the first time, I started messing with B4XPages and Firebase. Even though I had already watched B4XPages, I hadn't fumbled to understand better.
The hardest thing was Firebase... that a B4XPages example for firebaseAuth is missing and it is not easy to adapt.
I thought of adapting FirebaseMessager instead of sending a message to users from the developer (as an advertisement...
B4A Question Anyone have a working example of how to collect token and use firebase push messages? - tsteward    
Feb 9, 2025I'd like to be able to send notification to an individual user.
I have read this involves me col...
link:
you just use his phone number or email
sounds like a security hole if you use the email or phone n...
link:
The simplest way I implemented in my apps is to use the login information of the User. Example if t...
link: The simplest way I implemented in my apps is to use the login information of the User. Example if th...
Page: 1  
2  
3  
4  
5  
6