-
Notifications
You must be signed in to change notification settings - Fork 16
Remove unimplemented push activation methods #417
Copy link
Copy link
Closed
Description
see:
ably-ruby/lib/ably/realtime/push.rb
Lines 24 to 49 in 062d98f
| # Activates the device for push notifications with FCM or APNS, obtaining a unique identifier from them. | |
| # Subsequently registers the device with Ably and stores the deviceIdentityToken in local storage. | |
| # | |
| # @spec RSH2a | |
| # | |
| # @note This is unsupported in the Ruby library | |
| # | |
| def activate(*arg) | |
| raise_unsupported | |
| end | |
| # Deactivates the device from receiving push notifications with Ably and FCM or APNS. | |
| # | |
| # @spec RSH2b | |
| # | |
| # @note This is unsupported in the Ruby library | |
| # | |
| def deactivate(*arg) | |
| raise_unsupported | |
| end | |
| private | |
| def raise_unsupported | |
| raise Ably::Exceptions::PushNotificationsNotSupported, 'This device does not support receiving or subscribing to push notifications. All PushChannel methods are unavailable' | |
| end |
these methods are not likely to be implemented in the near future so we should remove them to avoid having to maintain their docstrings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels