Push notification won't work on ios production mode FireBase


#1

I work on ionic 2

Push notif work correctly on Android and on ios DEVELOPEMENT mode, but not on production mode !

  • I added “FirebaseAppDelegateProxyEnabled boolean YES” in the info.plist
    ==> but no result

Any help plz ???


#2

The solution was to set gcmSandbox: false,

let push = Push.init({
  android: {
    senderID: "xxxxxxxxx"
  },
  ios: {
    senderID: "xxxxxxxxx",
    gcmSandbox: false,
    alert: "true",
    badge: false,
    sound: "true"
  },
  windows: {}
});