添加极光推送插件
diff --git a/www/js/index.js b/www/js/index.js
index 112a927..fe23a8d 100644
--- a/www/js/index.js
+++ b/www/js/index.js
@@ -22,6 +22,9 @@
     // Application Constructor
     initialize: function() {
         document.addEventListener('deviceready', this.onDeviceReady.bind(this), false);
+        document.addEventListener('jpush.receiveRegistrationId', function (event) {
+          console.log(event.registrationId)
+        }, false)
     },
 
     onDeviceReady: function() {