Vivo small game access guide

VIVO small games run in VIVO mobile phone game center, active users close to 100 million, currently small game products access need business review, review can only be online. Open Platform: dev.vivo.com.cn/home Advertising Alliance: id.vivo.com.cn/?_202007220… Access to the document: minigame.vivo.com.cn/documents/#…

1. Project configuration: Upgrade engine version to 5.2.31, copy myscript.ts, modify config.vivogame. Js to create vivogame project folder and modify related configuration. Main.ts: _get[“userinfo”] Game.ts: MobileSPT.isVivo && _get[“userinfo”] AppFunction.ts: CanShowUserBtn 3. Contents to be accessed: account system, advertising access, version update (new API), file cache, jump game API

1. Error was reported in Vivo compilation, nodeJS version is too low, 6.xx, need to upgrade Vivo needs to modify EGREt.vivogame. Js to solve the problem of accidentally presenting error information in the log part (2019.12.12) 3. Vivo does not have window[” wX “]. Time 1 minute can only be watched once, click again to appear a countdown, the countdown interface will automatically play after the end of the video, pay attention to the countdown window should not have a close button in the upper right corner of the pop-up window 5, vivo environment scene.availWidth and scene.availHeight are reversed

1. The object created by qg.createNativeAd does not have offError method. Qg. CreateNativeAd does not destroy objects created by qg. (As of 2020.10.29 1075, this problem still exists)