tencent cloud

All product documents
Tencent Cloud Super App as a Service
Runtime Environment
Last updated: 2025-02-24 17:10:37
Runtime Environment
Last updated: 2025-02-24 17:10:37

Mini game runtime environment

Mini games run on various platforms: iOS (iPhone/iPad) clients, Android clients, and developer tools for debugging.
The script execution environments differ across these platforms:
On iOS, the game's JavaScript code runs in JavaScriptCore.
On Android, the mini game's JavaScript code runs v8.
In the developer tools, the mini game's JavaScript code runs in NW.js.

Platform differences

Although the runtime environments are quite similar, there are some differences:
JavaScript Syntax and API support: There may be inconsistencies in syntax and API support. Developers can enable the ES6 to ES5 conversion feature to mitigate syntax issues. Additionally, the mini game base library includes necessary polyfills to address API differences (See Details).
Developer tools: These tools are for debugging purposes only. The final performance and behavior should be tested on the actual client platforms.


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support