# Compatibility

Note: Cloud Base capabilities are supported by the base library 2.2.3 or above, which currently covers most users (about 97.3%). To have the uploaded code cover all users, perform the following operation:

  • Add the field "cloud": true in app.json / game.json

If specified, cloud capabilities can be used in all base libraries. If the cloud capabilities are updated, they will not be automatically upgraded with the base library upgrade, but need to be re-uploaded after the subsequent release. For example, after the release of base library 2.2.4, you need to re-upload the cloud capabilities to update them to the ones supported by the base library 2.2.4.

To ensure compatibility with the Mini Program plug-in when using Cloud Base capabilities in the base library plug-in lower than 2.4.1, you must specify cloud: true in plugin.json. Note that, after this parameter is specified, the plug-in code package will increase in size by about 70 KB. Therefore, the Mini Program using the plug-in will also increase in size.

点击咨询小助手