SaschaDittmann / Xamarin.NotificationHub

Apache License 2.0
10 stars 12 forks source link

set ETag to overwrite when updating or deleting a registration #7

Closed andreinitescu closed 9 years ago

andreinitescu commented 9 years ago

The ETag needs to be set to "*" when updating or deleting a registration, otherwise it returns "Error 412 Precondition Failed–ETag header missing or invalid"

This is according to the code in Microsoft.WindowsAzure.Messaging.dll, which is the Notification Hub client for Windows Phone