title: Ionic Push Notification: Not receiving in IOS
body: <p><strong>THE SITUATION:</strong></p>
  
  <p>I use <a href="http://docs.ionic.io/services/push/" rel="nofollow noreferrer">Ionic Push Notifications</a> in my app.</p>
  
  <p>With android everything works fine. But with IOS I don't receive any notification.</p>
  
  <p>The code should be fine. The registration of the token it works properly also inside IOS devices. I can see the token in the database.</p>
  
  <p>Also the cURL request code should be fine since it is working for android.</p>
  
  <p>I will paste below all the info that may be useful:</p>
  
  <p><strong>THE CODE:</strong></p>
  
  <p><strong>Initialization:</strong></p>
  
  <pre><code>$ionicCloudProvider.init({
  
      "core": 
      {
          "app_id": "MY_APP_ID"
      },
      "push": 
      {
          "sender_id": "MY_SENDER_ID",
          "pluginConfig": {
              "ios": {
                  "badge": true,
                  "sound": true
              }
          }
      }
  });
  </code></pre>
  
  <p><strong>io-config.json:</strong></p>
  
  <pre><code>{"app_id":"MY_APP_ID","api_key":"MY_API_KEY","dev_push":false,"gcm_key":"MY_GCM_KEY"}
  </code></pre>
  
  <p><strong>THE CERTIFICATES:</strong></p>
  
  <p>In ionic.io I have setup the certificate - production mode - and activate all the credentials:
  <a href="https://i.stack.imgur.com/xhYU6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xhYU6.png" alt="ionic.io certificate"></a></p>
  
  <p>Inside the Apple Developer Console, the Push Notifications service is properly enabled (for production)</p>
  
  <p><a href="https://i.stack.imgur.com/6Pr5f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Pr5f.png" alt="enter image description here"></a></p>
  
  <p><strong>THE TESTS:</strong></p>
  
  <p>The app is already published in the App store. </p>
  
  <p>Anyway i made tests both locally through XCODE (with the devices connected to it) and directly downloading the app from the app store.</p>
  
  <p>I never received any notifications.</p>
  
  <p>Making a test using POSTMAN this is the outcome:</p>
  
  <pre><code>{
    "data": {
      "status": "open",
      "uuid": "b55a9024-d0d9-480e-a813-02053bcf2f2a",
      "created": "2016-09-19T14:05:01.097422+00:00",
      "state": "enqueued",
      "app_id": "MY_APP_ID",
      "config": {
        "tokens": [
          "THE_RECEIVER_TOKEN"
        ],
        "notification": {
          "message": "Push test"
        },
        "profile": "MY_IONIC_IO_PROFILE"
      }
    },
    "meta": {
      "status": 201,
      "request_id": "dbb57cba-3817-42ee-baaf-7175b5f6c755",
      "version": "2.0.0-beta.0"
    }
  }
  </code></pre>
  
  <p><strong>THE QUESTION:</strong></p>
  
  <p>Why I am not receiving any notification on IOS?</p>
  
  <p>Am i missing something?</p>
  
  <p>Thank you!</p>