Ionic Push unregister Error 401


#1

Hi!

I try to implement the Ionic Push Service right now and I test the register() and unregister() functions.

  1. register() seems to work without troubles.
  2. unregister() throws an 401 on https://api.ionic.io/push/tokens/invalidate with the message “Authorization header is missing.”.
Your system information:

Cordova CLI: 6.1.1
Gulp version:  CLI version 0.4.0
Gulp local:   Local version 4.0.0-alpha.2
Ionic CLI Version: 1.7.15
Ionic App Lib Version: 0.7.2
ios-deploy version: 1.8.3
ios-sim version: 5.0.4
OS: Mac OS X El Capitan
Node Version: v5.4.0
Xcode version: Xcode 7.3.1 Build version 7D1014

Tested by now only on Android.

Is this a bug on my end or in the ionic lib?

Thanks!