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.
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.