Browse Source

@adding notification type & url

halphass 7 years ago
parent
commit
e08afa1416
1 changed files with 6 additions and 0 deletions
  1. 6 0
      www/js/push.js

+ 6 - 0
www/js/push.js

@@ -51,9 +51,15 @@ function onDeviceReadyPush() {
             if(!empty(data.additionalData.url))
             {
                 console.log('HO UN URL VALIDO '+data.additionalData.url);
+                /*
+                    TODO: va aggiunto come si deve comportare l'app
+                 */
             }
             else {
                 console.log('NESSUN URL, DEVO VISUALIZZARE DA QUALCHE PARTE MESSAGGIO E TITOLO..');
+                /*
+                 TODO: va aggiunto come si deve comportare l'app
+                 */
             }
 
         }