In order to use the PubNub push notification feature, there should be added methods to the Rust SDK that will utilize the endpoints related to this feature.
The Rust SDK should include the following push notification methods:
addDeviceToChannels
listChannelsForDevice
removeDeviceFromChannel
removeAllNotificationsFromDevice
NOTE: PubNub supports APNS, APNS2, GCM/FCM and MPNS. Additionally we have a helper method that helps a user construct the APNS2 format only at this time to be passed into a publish method. An example of this helper method can be seen in Golang here => https://www.pubnub.com/docs/go/api-reference-misc#create-push-payload
In order to use the PubNub push notification feature, there should be added methods to the Rust SDK that will utilize the endpoints related to this feature.
The documentation for the API Endpoint for push notifications can be seen here: https://www.pubnub.com/docs/pubnub-rest-api-documentation#push-notifications-apn-gcm
The Rust SDK should include the following push notification methods:
NOTE: PubNub supports APNS, APNS2, GCM/FCM and MPNS. Additionally we have a helper method that helps a user construct the APNS2 format only at this time to be passed into a
publish
method. An example of this helper method can be seen in Golang here => https://www.pubnub.com/docs/go/api-reference-misc#create-push-payload