10

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.

propoLis
  • 1,229
  • 1
  • 14
  • 48
  • if you are integrating FCM with Wordpress then one signal is a good choice as you no need to write the server side code to send the notification. one signal will handle the notification. you only need to setup the FCM and integrate the SDK – Sunil Soni Jan 03 '18 at 09:41
  • I have a social messaging app. Which one should I choose now? – propoLis Jan 03 '18 at 11:02
  • If you want fewer dependencies then go with your own solution. create your own server code to push the notification. also its easy to customization purpose – Sunil Soni Jan 03 '18 at 11:50

2 Answers2

8

I help work on OneSignal. Here are some reasons that OneSignal could be useful in this case.

  • OneSignal provides a single API and management interface for APNS (iOS notifications) and FCM (Android notifications).
  • OneSignal tracks notification click-rate for individual messages and campaigns.
  • OneSignal provides an SDK that takes care of reliably displaying messages that are received, restoring messages after an app update (on Android), and making it easy to customize notification categories, sounds, LED color, and Lockscreen visibility.
  • OneSignal stays up to date with any changes made to the operating system or notification APIs so you get access to the latest platform features without any additional engineering work.
Gdeglin
  • 12,432
  • 5
  • 49
  • 65
7

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