Ruby bindings to Firebase Cloud Messaging (FCM) for Android, iOS or Web
21-May-2020 2806
For your server to send a message to one or more devices, you must first initialise a new FCM class with your Firebase Cloud Messaging server key, and then call the send method on this and give it 1 or more (up to 1000) registration tokens as an array of strings. You can also optionally send further HTTP message parameters like data or time_to_live etc. as a hash via the second optional argument to send.
Ruby bindings to Firebase Cloud Messaging (FCM) for Android, iOS or Web #ruby #rubydeveloper #rubyonrails #bindings #Firebase #Cloud #Messaging #(FCM) #Android, #android, #cloud #ios #web https://rubyonrails.ba/link/ruby-bindings-to-firebase-cloud-messaging-fcm-for-android-ios-or-web