You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if you could add the authenticationToken to the add_device and delete_device actions. Otherwise there is no way of knowing which device_token corresponds to a particular user. You could easily do this by extracting the authenticationToken from the request header "Authorization" which consists out of "ApplePushNotifications yourAuthToken":
Yes that implementation I left it upto the developer depending on how they want to map the user to the devise. Let me see how I can incorporate it into the gem in the standard template.
It would be nice if you could add the authenticationToken to the add_device and delete_device actions. Otherwise there is no way of knowing which device_token corresponds to a particular user. You could easily do this by extracting the authenticationToken from the request header "Authorization" which consists out of "ApplePushNotifications yourAuthToken":
authenticationToken = request.headers["Authorization"]
authenticationToken["ApplePushNotifications "] = ""
Thnx for the repo btw.
The text was updated successfully, but these errors were encountered: