FAQ
For quick troubleshooting, we provide a detailed FAQ guide. You can browse it sequentially or use specific keywords to perform a search.
For a simplified read, we've categorised the FAQs according to features: Simulator, Devtool Panels, Upload, Network, Preview & Remote Debug, and Extension.
Simulator
Dark Mode darkMode: false is not working
At present, this feature is unsupported. You can verify it on the native side.
Devtool Panels
Excessive logs in console
For minimising console logs, follow these steps:
- Go to the toolbar and select
Devtools -> openApp Devtool. - Run script (
document.querySelectorAll('webview')[1].openDevTools()) in the console panel. - Run script (
localStorage.setItem('devtool-debugger', '1')) in the console panel. - Refresh window and run a test now 😄
A dedicated package will be released soon to fix this.
BXML is empty
Upgrade your IDE to version 2.25.0 or later.
Mocking API with different responses according to the parameters
- Upgrade your IDE to version 2.26.0 or later.
- Create multiple mock items each with different rules.
Upload
Encountered 400 error during upload
Click details and verify if the logo is displayed correctly. If not, ensure that your appid and current environment are set correctly.
Network
Network requests failing
- Activate
Does not verify valid domain names, web-view (business domain names), TLS versions and HTTPS certificatesfound inDetails - Local Settings.
Image component is blank
- Inspect the image node in BXML panel and confirm that the origin-src is correct. If not, review your code.
Preview & Remote Debug
Preview loading perpetually
Ensure your IDE version is 2.25.0 or above, then clear cache and try again.
Preview error
Here is a list of common error codes, their causes, and remedies to assist developers in troubleshooting quickly.
350002means resource not found, please make sure you're using production package or change the env to be production if you're using development package. And make sure you app is in-house mode.603301means invalid (type invalid or cannot download, such as webp type image, not sure we have error code for this before)603302means image not found, please check the url of the image.603501means __app.js is missing, please upgrade your IDE and try again.