Open daveslutzkin opened 3 years ago
The server SDK libraries have a function that generates this token. In our app, I pass the user_uuid
attribute to an API request and it gives me back the generated pusher token. Then I call setUserId with these two parameters to bind the logged user.
setUserId
has the signature:but nothing in the library returns the device token (which I assume is what that is)?
If that's required then the library should presumably return the token in the registered callback?
The appropriate code would be something like: