Ionic In background

Hi Guys, I have a problem with apps in background service.

I need listen push notifications in background, in android I don’t have problems I launch other activity and listen notifications, then write in local file this.

But in ios I cant do same, when I exit on my app my activity stops, and I cant listen in background, I still recive notifications, but the problem is I cant read them, and I lost information when I return to app.

I am using push-plugin in cordova, if any can help me,