pusher / push-notifications-swift

Swift SDK for the Pusher Beams product:
https://www.pusher.com/beams
MIT License
34 stars 24 forks source link

added getter for UserId #184

Closed benjamin-tang-pusher closed 2 years ago

benjamin-tang-pusher commented 2 years ago

What?

Added a getter for the UserId

Why?

A couple of users are using setUserId() to ensure that the device is authenticated, but this is causing odd issues with crashes and strange responses from the api, plus its an unnecessary request, and this method is already in the Beams Web sdk