App.vue
@@ -3,6 +3,13 @@ var jpushModule = uni.requireNativePlugin("JG-JPush") export default { onLaunch: function() { //#ifdef APP-PLUS plus.runtime.getProperty(plus.runtime.appid, wgtinfo => { uni.setStorageSync('version', wgtinfo.version) console.log("version",wgtinfo.version) }) //#endif console.log('App Launch',jpushModule) jpushModule.initJPushService(); jpushModule.setLoggerEnable(true);