Just found a weird bug in the emulator. I’ve an app with app settings. It works well in the physical mini-dock. However, in the emulator, when a setting is read using the app_mgr.config().get() function, it seems that the value will be truncated if it contains a space.
For example, I have a setting with several options (radio) and one of the values has a space (e.g. Peng Chau). The get() function returns “Peng” instead of “Peng Chau” in the app. I checked the cfg_project.json file and found the truncated value there too. In the physical mini-dock device, however, it works correctly.
Thank you very much for the problem you found. Our engineers reproduced it as soon as possible and found that this problem does exist. It is a problem with the HTML format parsing.
The temporary solution is to add single quotes at the beginning and end of the text, such as:
We will fix this problem in the new version later. In addition, you need to feedback the version of your device (Settings >>> My Device >>Version), because theoretically, the device will also have this problem, but your version does not appear, which requires us to further analyze the cause of the problem.
Thank you again for your feedback. If you have any questions about the use of the product, please feel free to contact us.