Minigame Update Mechanism
After a developer releases a new version, the OpenPaaS SDK ensures that users ultimately get the latest version through silent updates or startup updates. No new integration work is required from the APP.
Silent Update Mechanism
After a new version of the game is released in the background, the OpenPaaS SDK checks for and applies updates at multiple points in time.
- Update while not running: the OpenPaaS SDK periodically checks recently used minigames. If a new version exists, it is synchronized automatically, ensuring the user gets the latest version the next time they open it.
Update at Startup
The OpenPaaS SDK checks for updates on every cold start:
- Update discovered: the new version code package is downloaded asynchronously.
- Current run: this startup still uses the old version package stored locally on the client.
- Application timing: the new version is not applied until the next cold start.
