pusher / push-notifications-android

Android SDK for Pusher Beams
https://www.pusher.com/beams
MIT License
22 stars 22 forks source link

Drop callbacks and store interest set locally #3

Closed luismfonseca closed 6 years ago

luismfonseca commented 6 years ago

This PR shifts to the SDK the responsibility to correctly synchronize with the server the full list of subscribed interests.

The public SDK API get's a smaller surface area, but it loses the granular control over what happens after the SDK successfully subscribed/unsubscribed to an interest. This functionally can be added back at a later point, if really needed.

lukabratos commented 6 years ago

👍