Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

Should I use $cordovaPush for 'Push notification received'?

$
0
0

@Taehwa wrote:

Hello.
I want to make notification feature and connect to badge.

Once user gets notification then the number of badge increase.

I followed this link for push http://docs.ionic.io/docs/push-usage

and I use $cordovaBadge for badge.

Each work fine.

But I realise that "onNotification" method only works when app is running.

I found out $cordovaPush and '$cordovaPush:notificationReceived' seems may working even app is not running ( I did not test yet )

Is there only one way to catch 'notification received' event even app is not running?

Thanks

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>