Use PushPlugin phonegap notification system - the plugin doesn't support notification when the app is opened
MOBILE-168 Add support for APN (Apple Push Notification Service) mainly for the Moodle Push server