B4J Library [B4X] B4J/B4A: AES-GCM 256-bit encryption (Optional 128‑bit Salt) - Peter Simpson    
Feb 10, 2026   
(6 reactions)Hello Everyone,
Here is a B4J/B4A AES-GCM Encryption library, I created it for a project. Hopefully the B4X community will find this library extremely useful.
About AES‑GCM:
AES‑GCM (Advanced Encryption Standard with Galois/Counter Mode) is a symmetric‑key authenticated encryption algorithm...: Peter Simpson
Version: 1.0
AESGCMEncryption
AESGCMEncryption
AES‑256 GCM encrypted preferences engine for B4A and B4J.
Features:
- AES/GCM/NoPadding authenticated encryption...
B4A Question My device never receives GCM push - somed3v3loper    
Jan 12, 2016Hello all .
I am trying GCM from this thread https://www.b4x.com/android/forum/threads/b4x-push-server.48560/
but my device never receives GCM push .
Registration is successful and B4J server logs and print to html page that message have been sent to device or devices but B4A client does receives...
link: Should I delete this stupid thread ?
No. You are not the first one nor the last one to make this mistake :)...
link: Really sorry for my stupid mistake .
I confused Project No. with project ID.
Should I delete this stupid thread ? :D...
B4A Tutorial Google Push Notification for dummies (GCM) - KMatle    
May 4, 2016   
(7 reactions)It took me some time to check how GCM works. See Erels example: https://www.b4x.com/android/forum/threads/android-push-notification-gcm-framework-and-tutorial.19226/#content
A lot of excellent...
link: 1. The push server calls Google and Apple APIs when it sends the messages.
2. Yes....
link: One question:
Using B4X Server Push , I dont need to use Google and all API google to send notificat...
link: You somehow need to get the tokens from the devices. A possible solution for small deployments that ...
Other [new feature] Three birds with one stone - Erel    
Feb 23, 2016   
(29 reactions)   
tags: Exclude classes: .tagmanager, .analytics, .wallet, .plus, .vision, .gcm
...
B4A Question GCM Exposed Key - Marcos Alves    
Jul 14, 2019 the exposing of a GCM key . This app uses GCM/Firebase Lib and it's code is written according... wasn't secure about that piece of code when we write the Key = xxxx to use Firebase GCM library...
link: Are there really 5000 clients connecting every second? This is about 18 million messages per hour.
Y...
link: 18 Mio. messages IS a design mistake. What kind of messages do you send and why?
Hello @KMatle ... r...
link: 18 Mio. messages IS a design mistake. What kind of messages do you send and why?...
Other End of GCM, FCM should be used as soons as April 11, 2019 - DonManfred    
Apr 11, 2018   
(3 reactions)Today i got email from Firebase
So, if one still uses GCM then it is time now to switch to FCM..., we launched Firebase Cloud Messaging (FCM), the successor to Google Cloud Messaging (GCM). As the next evolution of GCM, Firebase Cloud Messaging allows you to send notifications and data messages..., today we’re announcing that you must upgrade to FCM in the next year. The GCM server and client...
link: B4A tutorial: FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM)...
B4A Question GCM: google-services.json really needed? - KMatle    
Oct 7, 2016Using the JSON file will provide the API_KEY and other fragile infromations in a readable format (enyone can decompile the app with a simple tool).
I can't imagine that this is Googles way to implement GCM because it is not secure. There is no way to hide or encrypt it (which is needed... thing of the GCM library to use the json? Can it be modified?
2. Is there another way (relating to...
link: I guess that you are asking about Firebase. GCM doesn't need any json file. The server key...
B4A Question GCM to Firebase? - KMatle    
Jun 1, 2016   
(1 reaction)Google recomends to update from GCM to Firebase: https://developers.google.com/cloud-messaging... version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! See...
link: The beta version is almost ready....
link: off topic: when will that be available?...
link: It will be supported in the next version of B4A....
B4A Question GCM: error 401 - Shay    
Jun 9, 2016I did not changed anything ;-)
GCM was working till 2 days ago, now I am getting unauthorized
tried changing API key - did not help
Any idea what is going on?...
link: solved:
strange but for some reason I need to use web api and not android api - which was ok till few days ago...
B4A Question Doubts regarding Push notifications in GCM vs FCM - Anser    
Jun 12, 2016Hi,
I am already using GCM Push Notifications in my app without any issues so far. As FCM is the latest, I need to switch to FCM. Before migrating to the new FCM from GCM, I need to find solutions for the following issues.
Using GCM, I am able to send send push notifications either to...
link: The token id is available. You can call FirebaseMessaging.Token to get the token. You can also handle the TokenRefresh event. It will...
link: Googling regarding the topic I found the following java code to get the TokenID/Instance ID while registering for FCM.
https://www.s...
Page: 1  
2  
3  
4  
5  
6