OneSignal provides both an API and marketing tools for notifications.
Unlike using the GCM / FCM API directly, with OneSignal you can target specific user segments, schedule notifications, and track the speed of a notification click. OneSignal also provides an Android SDK that takes care of the many technical details of the implementation.
Behind the scenes, OneSignal connects to GCM / FCM and sends notifications on behalf of your application.
source
share