I use FCM in my social messaging app. Sometimes FCM messages can not be delivered from the server to client.
Is there any benefit to using OneSignal when I've got to do the full FCM setup as well in server and client sides?
I reviewed OneSignal documents this link: https://documentation.onesignal.com/docs/product-overview but I could not understand which was more useful.
FCM is a cloud platform that provides messages and push notifications for operating systems- ios and Android, and websites as well. Google Cloud Messaging is a messaging service that enables the message transfer from server to clients apps.
On April 10, 2018, Google deprecated GCM. The GCM server and client APIs were removed on May 29, 2019, and currently any calls to those APIs can be expected to fail. Google Cloud Messaging, deprecated April 10 2018, has been deactivated and removed from Google's APIs.
All applications on the Android Google Play Store must use the Firebase API to deliver notifications (FCM). OneSignal too leverages the FCM API due to this requirement. However, we make sure to use only the most reliable parts of the API.
Starting March 22, 2020, the versions 81 and 82 of chrome disallow the creation of any new subscriptions using FCM sender IDs. However, the versions 78,79 and 80 of chrome will still allow the FCM Sender IDs that were used before September 2019. All the other FCM Sender IDs will be rejected.
FCM has two types of messages.Notification message which deliver in most cases, and data message which doesn't sometimes. A possible solution is to set priority of data message to HIGH while sending from server side. https://firebase.google.com/docs/cloud-messaging/concept-options
I help work on OneSignal. Here are some reasons that OneSignal could be useful in this case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With