B4A Library FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) - Erel    Jun 26, 2023   (47 reactions)   tags: Fcm, Firebase, Push, Messaging Updated tutorial: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.148715/ 260077923 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 arrives. It is not a real issue, but if the user closed your app with a "force close".... It makes it simple to add support for push messages. Sending messages is done with a simple HTTP... B4A Tutorial [B4X] Firebase Push Notifications 2023+ - Erel    Jul 25, 2023   (25 reactions) Google has deprecated the previous method of sending push notifications. It will stop working... the dependencies and unpack in B4J additional libraries folder: https://www.b4x.com/b4j/files/b4j-push... B4A Tutorial [B4X] [B4XPages] Firebase Push Example - Erel    Jul 24, 2020   (16 reactions) 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 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 be created... B4A Tutorial Custom WebSocket Based Push Framework - Erel    Jul 28, 2014   (17 reactions)   tags: Push Framework, Erel The online example is currently disabled due to spam :( Now that both B4A and B4J support WebSockets it is possible to implement a full push framework solution. The solution is made of two components. The client app (B4A) and the server WebApp (B4J). The client opens and maintains a WebSocket connection with the server. http://www.b4x.com/basic4android/images/SS-2014-04-24_17.31.41.png In...:51042/push/index.html You can also download the compiled apk and install it. The server code... B4A Question Firebase push Notifications Php stopped working - tufanv    Sep 17, 2019 Hello, 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( 'A... B4A Tutorial Simple Push Framework - Erel    Dec 12, 2016   (8 reactions) It is recommended to use Firebase for new projects: FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) This solution allows you to use the standard GCM push framework without an online server. http://www.b4x.com/basic4android/images/SS-2013-12-12_15.48.10.png You should first be familiar with GCM and get an API Key and Project id as explained here: Android push notification... parameters. You also need to set the mailbox parameters on the device (PushService) and set the SenderId in... B4A Library HMS / Huwaei Push Kit - Erel    Nov 1, 2020   (10 reactions) Start here: https://www.b4x.com/android/forum/threads/hms-huawei-sdk.124034/#post-775059 HMS push notifications are similar to iOS push notifications. These are "notification" messages. They are intercepted by the OS which then displays a notification. The app is not started and no code... push notifications is very simple: 1. Follow the instructions in the link above. 2. Subscribe to...("subscribe: " & Success) 3. If you want to get the device token: Wait For (hms.GetPushToken... B4A Tutorial Android push notification (C2DM) framework and tutorial - Erel    Feb 5, 2021 Correct link: https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-firebase-cloud-messaging-fcm.67716/#content... B4A Tutorial FCM Push-Messages: Foreground/Background/Data/Notification - KMatle    Nov 26, 2016   (21 reactions)   tags: fcm Erel made a fantastic example how to use Google's FCM Push-Messaging: https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-firebase-cloud-messaging-fcm.67716/ To complete the example, it is important to know FCM works in detail. Otherwise you wonder why your messages "don't arrive", etc. IMPORTANT: Check if your app will not be stopped when it will send back to the background or swiped! (See Android settings -> apps -> your app -> energy... B4A Question Starting the push service sample from another B4A app - bluedude    Feb 24, 2012 Hi, I'm using the push sample service and I want to be able to start/stop this service from another app. It seems there are some permission issues to do that because I get: Not allowed to start service intent without permission not exported from uid 10100. I signed both packages with the same sign key. I DON'T want to register/unregister from the calling app., just start and stop the service. Any suggestions how to cope with the permissions? Probably something in... Page: 1   2   3   4   5   6   7   |