Dont recive push notifications

Hi, I 'm trying to get notifications on a test application to find out first as implimentarlo and then apply it to my application that is almost over .

I followed these steps

This is my code

<!DOCTYPE html>

     <meta charset="utf-8">
       <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
       <title>Probando notificaciones</title>

      <link href="lib/ionic/css/ionic.css" rel="stylesheet">
      <link href="css/style.css" rel="stylesheet">

<!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
<link href="css/" rel="stylesheet">

<!-- ionic/angularjs js -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
<script src="lib/"></script>

<!-- cordova script (this will be a 404 during development) -->
<script src="cordova.js"></script>

<!-- your app's js -->
<script src="js/app.js"></script>

 <body ng-app="starter">

    <ion-header-bar class="bar-stable">
        <h1 class="title">Ionic Blank Starter</h1>
        <div class="list list-inset" ng-controller="pushCtrl">
            <button class="button button-block button-assertive" ng-click="mostrar()">Mostrar</button>



angular.module('starter', ['ionic', ''])

.run(function($ionicPlatform, $ionicPush) {
        $ionicPlatform.ready(function() {

            if (window.cordova && window.cordova.plugins.Keyboard) {


            if (window.StatusBar) {

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


    .config(function($ionicCloudProvider) {
            "core": {
                "app_id": "1fec09ac"
            "push": {
                "sender_id": "1038915667657",
                "pluginConfig": {
                    "ios": {
                        "badge": true,
                        "sound": true
                    "android": {
                        "iconColor": "#343434"

.controller('pushCtrl', function($scope, $ionicPush) {

    $scope.$on('cloud:push:notification', function(data) {
        var msg = data.message;
        alert(msg.title + ': ' + msg.text);


@PterPmnta you ever sort this out? I’ve got the same issue with almost the same code since we’ve both followed the docs, but I can’t figure out how to progress any further. Only difference between our code is I have $ionicPush registering in a separate run block. I tried playing with $ionicUser by saving details, etc in case a user is required, but, it isn’t clear how the API targets a user or all users, and according to @mhartington you don’t need to use $ionicAuth. I’ve side loaded the application into my device using ionic run android since notifications wouldn’t work otherwise, so it is not deployed on Google store in case that’s important and the cause of these issues.

You try FCM, i do it a test, tell you later

Hi @PterPmnta, I came to the same conclusion since GCM no longer exists for new projects, and you’re forced to use FCM, but I’m not sure how we’re supposed to enable (set it up). Looks like the cordova plugin phonegap-plugin-push has a version 2.x that is for FCM, so I’ve installed that using the most recent commit, but not sure what to do in the Google console. Do we choose web setup for Ionic?

Hi @PterPmnta, try this instead of FCM:

If you use the search bar rather than the link you can find the ‘Google Cloud Messaging’ API, which can then be activated - @fuiste

Thanks for all, sorry, i confused about the ID_APP


        "core": {
            "app_id": "but here, exits, id from ionic services dashborad, id from project create in GCM, and id from ionic APP? what it's the correct?"
        "push": {
            "sender_id": "this is code from google cloud project"


Here the migration guide question