@rgecy wrote:
I am trying to get Ionic Push Notifications working in dev mode. I have the web-platform installed, got my GCM project number, done all the steps in the tutorial, added my code to $ionicPlatform.ready(function()
var push = new Ionic.Push({ "debug": true }); push.register(function (token) { console.log("Device token:", token.token); });
But when it makes the push.register call I am getting an error saying 415 Unsupported Media Type
POST https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=https%3A//api.ionic.io/push/development 415 (Unsupported Media Type)
after a few minutes also get this error:
Ionic Push (dev): error connecting development push service. ionic.io.bundle.min.js:2Any ideas why it will not connect? I am connecting fine when I test it from the cmd line.
Thanks,
RGecy
Posts: 1
Participants: 1