-
Account billing and packages
-
General
-
Realtime API and client libraries
-
Troubleshooting
-
Channels
-
REST API and client libraries
-
Ably error codes
-
Account and app setup and configuration
-
Ably architecture, transports, and security
-
Performance and Redundancy
-
Push Notifications
-
Integrations
-
Migrating to Ably from an existing service
How can I register a push device using FCM?
It is possible to register a push device with Ably with Firebase Cloud Messaging (FCM) by using the following:
push.deviceRegistrations.save(localDevice)
Where the localDevice is a DeviceDetails object, with the push.recipient part of it having transportType set to "fcm" and the registrationToken set to your registration token.