[Aerogear-users] onNotification not always triggered

falconea antonio.falcone at cg.tasgroup.it
Fri Jan 27 09:12:31 EST 2017


I have my onNotification function, integrated in my Framework 7 client app:

onNotification: function(message) {
  mainView.router.loadContent($('#pay').html());
  $('#iuv').html(message.payload.number);
  //myApp.alert('number: ' + message.payload.number, 'Mobile');
}

The problem is that function is not triggered on all notifications. Sometime
nothing happens. 
Metrics are not sent to Unifiedpush console too.

onDeviceReady: function() {
    pushInit.receivedEvent('deviceready');
    var pushConfig = {
      pushServerURL: "http://10.1.42.249:8080/ag-push/",
      sendMetricInfo: true,
      android: {
        senderID: "1.0",
        variantID: "20010eaa-a3be-474a-84a9-e98fdf57e7f9",
        variantSecret: "94706157-5189-437e-b9a0-3800c934ddea"
      }
    };

Do you have any idea to solve this problem?




--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/onNotification-not-always-triggered-tp1042.html
Sent from the aerogear-users mailing list archive at Nabble.com.


More information about the Aerogear-users mailing list