Comparing version 3.0.13 to 3.0.14
{ | ||
"name": "hhgame", | ||
"version": "3.0.13", | ||
"version": "3.0.14", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -131,2 +131,11 @@ "use strict"; | ||
else if (this.miniappUtils.isVivoplatform()) { | ||
this._launchOptions = { | ||
scene: 0, | ||
query: { | ||
from: '', | ||
fromUid: '' | ||
}, | ||
isSticky: false, | ||
shareTicket: '' | ||
}; | ||
console.log('vivo 没有 qg.getLaunchOptionsSync()'); | ||
@@ -133,0 +142,0 @@ } |
@@ -9,2 +9,3 @@ import HHGame from '../../..'; | ||
authorize(): Promise<void>; | ||
onShow(res: any): void; | ||
} |
@@ -66,4 +66,7 @@ "use strict"; | ||
}; | ||
OppogameApi.prototype.onShow = function (res) { | ||
console.log('oppo game enter foreground'); | ||
}; | ||
return OppogameApi; | ||
}()); | ||
exports.default = OppogameApi; |
@@ -9,2 +9,3 @@ import HHGame from '../../..'; | ||
authorize(): Promise<void>; | ||
onShow(res: any): void; | ||
} |
@@ -67,4 +67,7 @@ "use strict"; | ||
}; | ||
VivogameApi.prototype.onShow = function (res) { | ||
console.log('vivo game enter foreground'); | ||
}; | ||
return VivogameApi; | ||
}()); | ||
exports.default = VivogameApi; |
323719
7501