Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

dev_push: false, not showing up push notification

$
0
0

@Gastaldello wrote:

Hi all,

I'm starting with Ionic push notification, when I run app into emulator android (With Google API 22) if I set

$ionicAppProvider.identify({
    // The App ID (from apps.ionic.io) for the server
    'app_id': ENV.ionicAppId,
    // The public API key all services will use for this app
    'api_key': ENV.ionicPublicKey,
    // The GCM project number
    'gcm_id': ENV.gcmId,
    'dev_push': false
});

So dev_push to false push notification not showing up, PS (token and user registration works fine). If I set it to true my emulator show an alert with message...
The issue is a bug graphic I think.. Because "onNotification" callback tell me that push notification was received!!
How can I fix it?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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