Push notification onesignal

I trying receive pushnotifications using onesignal in alertview when my app is open. It is Possible?


Yes. Implement the plugin and on handling the notification open an alert.

Can you show me any example ?

That depends on how you implemented Onesignal.

If you used https://ionicframework.com/docs/native/onesignal/ you have this.oneSignal.handleNotificationReceived().subscribe( in your code somewhere. There you can do whatever you want with the notification data.