Cordova push and local notification conflict

I created a mobile App (Ionic + Cordova/ngCordova). Installed Cordova Push Notifications, Cordova Local-Notification Plugin But when I get a push notification or off the screen I lose all my local notifications. And if check them by isScheduled function I get TRUE. If I remove a push notification code

var config = null;
        if (ionic.Platform.isAndroid()) {
            config = {
                "senderID": "111111111111" // REPLACE THIS WITH YOURS FROM GCM CONSOLE - also in the project URL like: https://console.developers.google.com/project/434205989073
                //"ecb": "window.onNotificationGCM"
            }
        } else if (ionic.Platform.isIOS()) {
            config = {
                "badge": "true",
                "sound": "true",
                "alert": "true"
            }
        }

        $cordovaPush.register(config).then(function(result) {
            // ** NOTE: Android regid result comes back in the pushNotificationReceived, only iOS returned here
            if (ionic.Platform.isIOS()) {
                $rootScope.regId = result;
                scheduleNotifications.storeDeviceToken("ios");
            }
        }, function(err) {
            navigator.notification.alert("Register error " + err);
        });

it works ok. What can be wrong with this?

Any update on this ? I am facing the same issue.

No, I sill coldn’t fixed it. I created clean build with inly these 2 plugins - push and local notifications and got the same problem. If I remove push plugin initialisation it’s work normal for android, but local notification haven’t work on iOS at all( Let me know please if you find solution.

@mhartington … Can you help us on these issue. I would be thankful to you.

This is a solution - just add “clearNotifications”: false to push notification init

var push = PushNotification.init({
        "android": {
        "senderID": "114273210157",
        "clearNotifications": false
       },
       "ios": {"alert": "true", "badge": "true", "sound": "true"}
      });

Both notifications are working but if I am minimizing the app, then local notification is getting closed. But I want to keep local notification, if app gets minimized(earlier it was working)

Is there a solution for iOS as well?

@amitsinha559 For iOS an Adroid

@vovikdrg I am looking for android only.