B4A Tutorial [B4x]Send Firebase-Message via php - KMatle    
Sep 15, 2019   
(12 reactions) messages to devices.
1. Follow Erel's instructions to set up Firebase Messaging and download the example.
https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-firebase...
link: /firebase_message.php on line 38
Must be a typo (Sytax error). Please Check it. My scripts runs like...
link: ' (T_STRING) in /webspace/xxxxxxxxxxxxxx/firebase_message.php on line 38
used as action times only...
link: does).
Please take a look at the documentation: https://firebase.google.com/docs/cloud-messaging...
B4A Question firebase messaging and php - Andie (first post)    
Sep 26, 2024The solution can be found here:
php_fmc by FrostCodes...
link: B4X receiver app. So the transformation to the Firebase Cloud Messaging API (v1) including...
B4J Code Snippet PHP: Get oAuth token for Firebase Messaging without using libs - KMatle    
Dec 14, 2024   
(5 reactions)To send Firebase messages from php with the new api from Google you need to retrieve... "https://www.googleapis.com/auth/firebase.messaging",
"aud" => "https... here: Click
I've just put it under the same folder where the php script lives. Warning: Don't... in your browser. Will do an example to use it in B4x and to send messages the next time.
Script:
<?php
// This function is needed, because php doesn't have support for base64UrlEncoded...
B4A Library FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) - Erel    
Jun 26, 2023   
(47 reactions) 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... request. It is also possible to send message from the Firebase console, though it is not very useful.... Add a Receiver named FirebaseMessaging to your app (must be this name):
Sub Process_Globals
Private fm As FirebaseMessaging
End Sub
Private Sub Receiver_Receive (FirstTime As Boolean...
B4i Tutorial FirebaseNotifications / Push Messages (server not required) - Erel    
May 5, 2026   
(7 reactions).b4x.com/android/forum/threads/firebase-messaging-apn-authentication-keys-vs-authentication-certificates... 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... Firebase console under Settings - CLOUD MESSAGING:
https://www.b4x.com/basic4android/images/SS-2016-07... As FirebaseAnalytics
Private fm As FirebaseMessaging
End Sub
Private Sub Application_Start (Nav...
Share My Creation (PHP/MySQL/API) User Login App - aeric    
Aug 16, 2024   
(31 reactions) simple PHP with mysql_query function. I have later updated the 2nd sample with mysqli since mysql functions are deprecated in PHP.
Recently I am thinking to update the sample project with what... the use of PDO in PHP. The sample I shared here is just intended for learning purpose. Anyone... the code in email confirmation.
The PHP app I share here is a cut down version of PHP backend I use in production. It is based on MVC concept where it provides a web application front-end and includes php...
B4A Tutorial [B4X] Firebase Push Notifications 2023+ - Erel    
Feb 11, 2026   
(32 reactions) work properly unless you using the B4J tool to send the messages.
B4A
1. Follow the generic Firebase.... The notification is created in FirebaseMessaging receiver. Note that in debug mode, it will only work.... FirebaseMessaging module isn't shared between the two projects. It is different in B4A and B4i.
3. The message payload can be customized in many ways. API reference: https://firebase.google.com/docs... file. This file includes a private key that gives access to your firebase account. Keep it secured...
B4i Question Firebase Sending tool needs update to support Firebase Cloud Messaging V1 - mcqueccu    
Jun 6, 2022I integrated firebase push in my application, and one thing I noticed is the LEGACY Cloud messaging has been disabled, and it's recommended to use the Firebase Cloud Messaging API V1.
The new FCM API v1 token is shorter than the older web API key (which is now disabled by default)
130071...=null]
But when I went to Cloud Messaging API and enabled the Old Cloud Messaging API which is longer and starts AAAA.................., the messaging works....
Other Firebase Notifications & Firebase Auth Issues - Erel    
Jun 17, 2018   
(10 reactions)There were two issues recently with FirebaseNotifications and FirebaseAuth. Both issues were resolved. The purpose of this post is to make things clear as you will find older posts with now incorrect... (including firebase-auth).
2. Update FirebaseAuth and FirebaseAnalytics: https://www.b4x.com/android... then you should update FirebaseNotifications: https://www.b4x.com/android/forum/threads/updates-to.../threads/integrating-firebase-services.67692/#content
If you are using an older version then...
B4A Tutorial Intent Filters - Intercepting SMS messages in the background - Erel    
Jan 13, 2023   
(14 reactions) that can handle broadcasted messages. These messages usually notify about a system event... this program is installed the service will be started each time that an Sms message arrives... the intent action. If it fits then the messages will be parsed from the intent. This is done with the help of the Reflection library:
'Service module
Sub Process_Globals
Type Message (Address As String... messages() As Message
messages = ParseSmsIntent(startingIntent)
For i = 0 To messages.Length...
Page: 1  
2  
3  
4  
5  
6  
7