App crashes when receive push notification


Hi all,
hope that somebody knows about this issue.

I’m trying to implement push notification
First thing is that I receive notif only when the app is open on background…
Second thing (more important) is that when I receive notif, my app crashes, but notification can be readed.

I tried to update ionic to newer version, downgrade push plugin do older version (1.6.4), remove platform and add it agin. But nothing was successful.

Can you pls help me with this problem?

Thank you so much.