Develop FAQ
1. How to open the debug mode of the PhizClip?
You can add the configuration code "debug": true to the app.json file of the PhizClip to turn on the debug mode.
After uploading the PhizClip to PhizClip, you can enter the PhizClip through
Manage PhizClip - Development Version or Experience Versionin PhizClip App, and clickMore Menu - Open Debugin the upper right corner to enter the debug mode of the PhizClip.
2. How to convert HTML 5 project to PhizClip?
If you use front-end development framework (such as kbone/Taro/uniapp) to develop mini-apps, you can export your HTML 5 project to PhizClip directly using native framework, but for native HTML 5 project, PhizClip cannot convert your HTML 5 project to PhizClip directly at the moment.
However, it is possible to open the page by using the WebView component in the PhizClip, i.e.
<web-view src="www.PhizClip.com"></web-view>Or open the page using data binding, i.e.
<web-view :src="{{webViewUrl}}"></web-view>After configuration, please note that in development settings-domain management, add the domain name information that the PhizClip needs to open.
3. Can PhizClip PhizClip be developed on Alipay or Byte's development tools?
Yes, you can. Currently, PhizClip has the best compatibility with phizclip, and the PhizClip developed on Phiz can be better used and developed in PhizClip platform.
If developers want to migrate their PhizClip developed through Alipay or Byte to PhizClip, they can try the following steps.
- Use the PhizClip development tool provided by Alipay or Byte to convert the PhizClip into a Phiz PhizClip, and then upload the code package to PhizClip.
- Replace the file suffix and API namespace header with
pz.xxxmanually by yourself, but there may be some functions that cannot be used due to the limitation in different platforms.
4. Which PhizClip frameworks does PhizClip support for exporting PhizClip?
Currently, the third-party PhizClip development frameworks that PhizClip has good compatibility with include.
Third-party UI frameworks with better compatibility include
5. How to connect PhizClip PhizClip to third-party payment?
To connect to Phiz Payments in the PhizClip, you need to introduce a third party payment SDK (such as Phiz Payments SDK or Alipay SDK) in the host app.
6. When will users get the latest version of the PhizClip after it is released and updated?
Depending on the history of whether the user has opened the PhizClip or not, there will be 3 scenarios as follows.
- if the PhizClip has never been opened before, the PhizClip will be downloaded first and then opened after it is successfully downloaded.
- if the PhizClip has been opened before, when opening the PhizClip, it will open the downloaded PhizClip first by default, and check whether the PhizClip has been updated, and if there is an update, it will download the new version of the PhizClip. When the user opens the PhizClip again and finds that there is already a new version of the downloaded PhizClip, the new version of the PhizClip will be opened directly.
- If the PhizClip is closed quickly every time it is opened, or if the network is poor and the download of the new version is not completed during use, the next time it is opened will still be the old version.
7. How to design the entrance of mini-apps in the App?
App opens different mini-apps by requesting different PhizClip IDs. The way to open an PhizClip in an app is to open the corresponding PhizClip through different entrances, and the way to open an PhizClip is just like a browser evoking different web pages through different links.
Therefore, you only need to integrate different PhizClip "link" portal in the app to open the corresponding PhizClip.
8. Does the PhizClip support running on the car or other platforms? How to control the window size of the PhizClip?
When you open the PhizClip in Android car, Android TV, or other desktop devices, you may need to modify the window resolution of the PhizClip according to the actual screen size. In this case, the PhizClip will run as a floating window, and the pages located under the floating window cannot be interacted with.