Hi,
Just wondering if anyone has worked with push notifications in B4A (and B4i) that is not using FCM/GCM ?
I have worked with 3 Firebase projects, and they are all doing the same thing when using Firebase push notifications.
The API from my B4J app sends the API fine and I get the result within 200-500ms saying that Firebase accepted the API call from B4J. However it takes around 30-40 seconds to arrive on the phone. I am using the code from the B4J sending tool to send the messages. It happens for both my B4A & B4i apps.
As the delivery was slow I contacted Google Firebase and they advised:
"FCM doesn't provide guarantees in the specific timing of the notification delivery, since there are multiple factors that are beyond FCM's control (e.g., Platform Transport Layer, Power Management, Apple Push Notification service (APNs) for Apple devices). FCM is a free service with no SLA attached. We cannot guarantee the delivery of messages since we don't have control on the networks between our servers and the device."
When I first created my firebase project, the Firebase push notifications were delivered within 1-2 seconds. Then around April 2024 it all of a sudden it took 30-40 seconds. I had made no changes to my project or apps to cause the delay.
I then created another new Firebase project, and it delivered the push notification within 1-2 seconds. Now after 2 weeks the push notifications are starting to slow down and taking anytime between 15-30 seconds to be delivered. I have seen the delay every now and then take 40-50 minutes on my device even knowing I have good signal on my phone.
I am sending around 150-200 API calls to Firebase per minute (2-3 calls per second) and only around 2-3 people are subscripted to the same topic.
I then did a quick Google search and found the following where someone else had a similar issue in 2018: https://stackoverflow.com/questions...-in-receiving-message-in-fcmonmessagereceived
Since I keep having the issue where the delivery begins to go slow over time, I want to look at other options with Push Notifications and not use FCM.
I came across https://pushy.me and wanted to give that a go.
I found: https://pushy.me/docs/android/get-sdk but not sure how to use it with B4A (and B4i).
Does any one know how I can use pushy.me in the app, or does anyone know of any other push notification service I can use other than FCM ?
Just wondering if anyone has worked with push notifications in B4A (and B4i) that is not using FCM/GCM ?
I have worked with 3 Firebase projects, and they are all doing the same thing when using Firebase push notifications.
The API from my B4J app sends the API fine and I get the result within 200-500ms saying that Firebase accepted the API call from B4J. However it takes around 30-40 seconds to arrive on the phone. I am using the code from the B4J sending tool to send the messages. It happens for both my B4A & B4i apps.
As the delivery was slow I contacted Google Firebase and they advised:
"FCM doesn't provide guarantees in the specific timing of the notification delivery, since there are multiple factors that are beyond FCM's control (e.g., Platform Transport Layer, Power Management, Apple Push Notification service (APNs) for Apple devices). FCM is a free service with no SLA attached. We cannot guarantee the delivery of messages since we don't have control on the networks between our servers and the device."
When I first created my firebase project, the Firebase push notifications were delivered within 1-2 seconds. Then around April 2024 it all of a sudden it took 30-40 seconds. I had made no changes to my project or apps to cause the delay.
I then created another new Firebase project, and it delivered the push notification within 1-2 seconds. Now after 2 weeks the push notifications are starting to slow down and taking anytime between 15-30 seconds to be delivered. I have seen the delay every now and then take 40-50 minutes on my device even knowing I have good signal on my phone.
I am sending around 150-200 API calls to Firebase per minute (2-3 calls per second) and only around 2-3 people are subscripted to the same topic.
I then did a quick Google search and found the following where someone else had a similar issue in 2018: https://stackoverflow.com/questions...-in-receiving-message-in-fcmonmessagereceived
Since I keep having the issue where the delivery begins to go slow over time, I want to look at other options with Push Notifications and not use FCM.
I came across https://pushy.me and wanted to give that a go.
I found: https://pushy.me/docs/android/get-sdk but not sure how to use it with B4A (and B4i).
Does any one know how I can use pushy.me in the app, or does anyone know of any other push notification service I can use other than FCM ?