Ionic 1 + $ionicPush Token + Ionic cloud


#1

Hi everyone,

I followed the two tutorials (http://docs.ionic.io/services/auth/, https://docs.ionic.io/services/push/ )
I have a little problem with $ionicPush Token. (ionic cloud + physical device android and ios)

Today, I can register and login with :

    var details = {
          'email': #
          'password': #
	};


	$ionicAuth.signup(details).then(function() {
	});
	$ionicAuth.login('basic', details)

But i can’t receive a token with :
(I have not forgotten $ionicAuth,$ionicUser,$ionicPush in function controller.)

	$ionicPush.register().then(function(t) {
              return $ionicPush.saveToken(t);
        }).then(function(t) {
              console.log('Token saved:', t.token);
        }); 

On ionic.io i can see my user :

But I do not get token :

So, If someone has a solution :slight_smile: