Polyv Help Center

Help Center

Frequently Asked Questions

Updated: 2024-10-10 17:27:10

1. What is the package size of the Mini Program SDK for the viewing page? Can its features be called on demand?

The package size is approximately 1MB (before GZip). The pluggable mechanism for feature modules is currently in the development pipeline (medium priority). Once completed, features can be called on demand.

2. If we have already integrated the Live JSSDK, how can we upgrade to the Mini Program SDK for the viewing page?

The processes and interfaces of the two SDKs are completely different, so a direct upgrade is not possible. You will need to integrate the new SDK from scratch. Although this requires significant effort, the benefits are substantial:

  • The Live JSSDK only provides basic live streaming viewing and co-hosting features, requiring other SDKs to build a basic live viewing page. The Mini Program SDK for the viewing page integrates all necessary features for a live viewing page.
  • The Live JSSDK does not include a matching UI layer, only a few simple demo features. The Mini Program SDK for the viewing page offers comprehensive functionality and interaction, allowing customers to develop "standing on the shoulders of giants," resulting in lower customization costs and higher reliability.

3. If we are not using the Vue.js technology stack, or if the framework version is inconsistent, how can we call the SaaS UI layer?

  • Method 1: Treat the viewing page as an independent project, so its technology stack is unrelated to the original project. This is the recommended approach.
  • Method 2: Develop your own solution by referencing the SaaS UI source code. However, this is not recommended, as it requires a long development time and is prone to deviations during implementation.

4. If our front-end development capabilities are limited, will custom development be very difficult?

  • Polyv has dedicated SDK delivery personnel who can assist you with low and medium-low complexity modifications.
  • If you have high-complexity customization needs, paid customization services are also available.

5. After the Mini Program SDK for the viewing page and the SaaS UI layer are updated, how can customers synchronize the changes?

SDK iterations will ensure backward compatibility as much as possible, so:

  • For non-major version updates, simply upgrade the version directly.
  • For major version updates, follow the upgrade guide strictly.

The SaaS UI layer is an entire open-source project, not a service provided via interfaces. Once the code is modified, updates cannot be applied by overwriting files. Recommended update methods:

  • If there are many custom modifications, locate the required changes based on file paths or the open-source project's change log, and update selectively.
  • If there are few custom modifications, record the changes. When updating the UI layer, pull the latest code from the open-source project and reapply the modifications.

6. Can the Mini Program SDK for the viewing page and the SaaS UI layer run on native Mini Programs?

The Mini Program SDK for the viewing page contains only logic code and is independent of the UI and technology framework, making it compatible with native Mini Program environments. This feature is currently in the development pipeline (low priority).

The SaaS UI layer is developed based on Vue.js and uses many browser-specific APIs, so it cannot run in a native Mini Program environment.

联系客服,在线咨询