Revision History
August 22, 2023
- Add
PAGE_INDICATOR
Widget
August 1, 2023
widget.setProperty
addsDATA_SET
control custom property- Fix
readdirSync
code example error
July 6, 2023
DIALOG
widget fixes field description errorsCHECKBOX_GROUP
widget fixes description errors
May 17, 2023
- The
BUTTON
widget adds the long_press attribute - The
IMG_ANIM
widget adds the step attribute - The
CYCLE_LIST
widget adds the item_focus_change_func attribute - The
CYCLE_IMAGE_TEXT_LIST
widget adds the item_focus_change_func attribute - The
POLYLINE
widget adds gradient color and smooth curve attributes - The
ARC
widget adds text description to illustrate the drawing logic
May 12, 2023
- Fix TEXT example error
- Add Watchface
data_type
capability
April 25, 2023
- Update Zepp OS 2.1 version, refer to Zepp OS 2.1 New Features
April 21, 2023
- Fix POLYLINE sample code error
April 13, 2023
- Fix watchface example link error
- Fix Wear sensor example bug
April 6, 2023
- Added fetch compatibility handling
March 23, 2023
March 10, 2023
- Widget animation add status Widget Animation
- Simulator add digital crown simulation instructions Introduction for using the simulator
March 3, 2023
- Add Error Capture
February 24, 2023
- Add showcase sample Mini Program Showcase
- Fix
onKey
,onDigitalCrown
bugs - Add Zepp OS documentation platform version description
- Fix
IMG_CLICK
example code comment error
January 29, 2023
- Fix createModal error
- Add Sleep updateInfo method
January 5, 2023
- Add sensor and fs module descriptions
- Add Simulator Keyboard Simulation Key Descriptions Introduction for using the simulator
December 16, 2022
- Add application introduction screenshots and icon specifications How to submit an App
- Fix LocalStorage setItem method name description error
November 25, 2022
- Complete SCROLL_LIST description
- Fix POLYLINE sample code error
November 9, 2022
- Added POLYLINE line graph
October 28, 2022
October 21, 2022
- Add Debug Mini Program
- Add Enable System Extensions or Kernel Extension on Apple Silicon Mac
- Add Quick Start related content
- Add Construction of basic environment
- Added instructions for installing nvm on Windows platforms
- Rewrite Zeus CLI Command Line Tools
- Rewrite Introduction for using the simulator
- Rewrite Simulator - Installation and launch
- Fix Settings App Button component property error.
- Fix the Settings App Text component property error.
- Fix the error of
setScrollMode
code example - Fix the heart rate sensor code example error.
October 13, 2022
- app.json
- Add Mini Program icon related information
- Fix secondaryWidget configuration error
- Add Quick Start
- Add Widget Animation
- Device List add Amazfit Falcon related information
October 10, 2022
- Add Zepp OS 2.0 document version switching function
- Version 2.0 column has been added to introduce the new features, please refer to Zepp OS 2.0 New Features for details.
- New Device App API, refer to TEXT for details
- Update the Best Practices section to version 2.0, see Data Persistence for details
- Update the Mini Program code sample to version 2.0, refer to Calories
September 15, 2022
deleteWidget
- Add code use cases
CYCLE_IMAGE_TEXT_LIST
- Add image examples
- Add code examples
August 22, 2022
- Fix Multilingual Mapping Language code abbreviation error
- Added
QRCODE
widget, support QR code display IMG
widget- Optimize field descriptions
- Optimized image example
August 19, 2022
- `Fetch API
- Fix documentation errors and add basic usage examples
August 12, 2022
alarmNew
- Supplementary
param
parameters
- Supplementary
RADIO_GROUP
widget- Refine the
prop
property description
- Refine the
TEXT
widget- Remove the useless
TEXT_STYLE
property
- Remove the useless
July 27, 2022
VIBRATE
sensor- Reorganize
scene
parameters - Remove useless attributes
- Reorganize
July 21, 2022
IMG
widget- Add support for image types
- Add Settings App Framework interface
- Add Side Service Framework interface
- Overall Architecture
- Add Bluetooth communication-related notes
- Add Best Practices Bluetooth Communication
- hmBle
- Add Bluetooth communication notes
- Messaging API
- Add Bluetooth communication notes
July 15, 2022
- Settings Storage API
- Optimize API descriptions
- Add
length
property - Add
toObject
method
- Fetch API
- Optimize API descriptions
July 12, 2022
widget.addEventListener
- Optimize API descriptions
hmUI.createDialog
- Add picture display
- Add
auto_hide
field - Rewrite code example
hmUI.createWidget
- Optimize API descriptions
hmUI.deleteWidget
- Optimize API descriptions
widget.getProperty
- Optimize API descriptions
hmUI.getScrollCurrentPage
- Optimize API descriptions
widget.getType
- Optimize API descriptions
widget.removeEventListener
- Optimize API descriptions
hmUI.scrollToPage
- Optimize API descriptions
widget.setProperty
- Optimize API descriptions
hmUI.setScrollView
- Add picture display
- Add
isVertical
property - Rewrite code example
hmUI.showToast
- Add picture display
- Optimize API descriptions
- Mini Program Configuration
- Add targets Object description
- Folder Structure
- Add assets directory description
July 6, 2022
SCROLL_LIST
widget- Add widget picture display
- Rewrite code example
CYCLE_LIST
widget- Add widget picture display
- Rewrite code example
PICK_DATE
widget- Add widget picture display
- Rewrite code example
HISTOGRAM
widget- Add widget picture display
- Rewrite code example
FILL_RECT
widget- Additional Notes
July 1, 2022
IMG
widget- Add widget picture display
- Add
src
field description - Rewrite code example
TEXT
widget- Add widget picture display
- Rewrite code example
ARC
widget- Add widget picture display
- Optimize field descriptions
- Rewrite code example
FILL_RECT
widget- Add widget picture display
- Delete the useless field
line_width
- Rewrite code example
STROKE_RECT
widget- Add widget picture display
- Rewrite code example
- Fix the field
line_width
mandatory error
TEXT_IMG
- Move to watchface widget
ARC_PROGRESS
- Move to watchface widget
BUTTON
- Add widget picture display
- Optimize field descriptions
- Add Notes for Use
- Rewrite code example
IMG_LEVEL
- Move to watchface widget
IMG_AMIN
- Add widget picture display
- Delete the useless field
anim_repeat
- Optimization field
anim_status
description - Rewrite code example
CIRCLE
- Add widget picture display
- Rewrite code example
RADIO_GROUP
- Add widget picture display
- Optimize field descriptions
- Add Notes for Use
- Rewrite code example
CHECKBOX_GROUP
- Add widget picture display
- Optimize field descriptions
- Add Notes for Use
- Rewrite code example
SLIDE_SWITCH
- Add widget picture display
- Optimize field descriptions
- Rewrite code example
DIALOG
- Add widget picture display
- Add Notes for Use
- Rewrite code example
hmFS.stat_asset
- Fix field description error
hmFS.open_asset
- Fix field description error
June 23, 2022
CYCLE_IMAGE_TEXT_LIST
widget- Fix code example error
June 21, 2022
RADIO_GROUP
widget- Fix code example error
CHECKBOX_GROUP
widget- Fix code example error
June 17, 2022
IMG
widget- Add a note that the
IMG
widget does not support scaling
- Add a note that the
June 14, 2022
widget.addEventListener
- Fix use case error
June 9, 2022
widget.getProperty
- Add property get description
hmApp.registerGestureEvent(callback)
- Add description of the default behavior
hmApp.goBack()
- Modify the description
June 1, 2022
hm.stat
- Fix
stat
parameter type error
- Fix
hm.stat_asset
- Fix
stat
parameter type error
- Fix
May 31, 2022
hmSetting.setBrightScreen
- Add a description of the screen being always lit
hmApp.setScreenKeep
- Add description
CALORIE
- Add property descriptions
FAT_BURRING
- Add property descriptions
VIBRATE
- Add sensor
start
,stop
method descriptions and code examples
- Add sensor
HEART
- Fix typo
May 27, 2022
hmApp.registerKeyEvent
- Fix bug description
hmUI.getTextLayout
- Add
wrapped
field, new get single line text width usage
- Add
SCROLL_LIST
widget- Fix code use case error
IMG_TIME
- Add
minute_follow
,second_follow
fields
- Add
- Add Physical keys
- List of ZeppOS-enabled Devices is supplemented with the number of keys for each device
- Multilingual Mapping added 8 new languages
May 24, 2022
- Add status bar related to Screen Adaptation
- List of ZeppOS-enabled Devices is updated with the screen shape and size of each device
May 17, 2022
SPO2
- Fix description error
April 28, 2022
hmApp.setLayerY
- Add description
hmApp.getLayerY
- Add description
April 12, 2022
hmApp.startApp
- Fix
param
parameter type, add field description
- Fix
hmApp.gotoPage
- Fix
param
parameter type, add field description
- Fix
hmApp.reloadPage
- Fix
param
parameter type, add field description
- Fix
- Add life cycle function signatures
April 11, 2022
- Fix
permissions
,cover
,platforms
field types in Mini Program Configuration
March 31, 2022
hmSetting.getDeviceInfo
- Fix the type of the return value
keyNumber
- Add
screenShape
field description
- Fix the type of the return value
March 29, 2022
hmApp.packageInfo
- Add the return value information
hmApp.registSpinEvent
- The method name is changed to
hmApp.registerSpinEvent
, the original method name can still be used
- The method name is changed to
hmApp.registGestureEvent
- The method name is changed to
hmApp.registerGestureEvent
, the original method name can still be used
- The method name is changed to
hmApp.registKeyEvent
- The method name is changed to
hmApp.registerKeyEvent
, the original method name can still be used
- The method name is changed to
March 22, 2022
IMG_ANIM
widget- Fix
anim_prefix
,anim_ext
property types - Improve the file system storage path for code example
- Fix
hmUI.getProperty
- Remove error code example
March 18,2022
- Add
hmUI.getTextLayout()
to calculate the height and width of the target text after the layout is completed, and does not actually render it, only performs the layout calculation. hmSetting.getUserData
- add
region
field
- add
TEXT
widget- Modify the
text_size
property description - Remove
font
property, font setting is not supported at this time
- Modify the
February 24, 2022
- Add
PICK_DATE
widget TIME
widget- add traditional Chinese festival and Solar Terms
FILL_RECT
widget- add
line_width
property
- add
IMG
widget- Example of additional image rotation and position-related images
stopTimer
- Fixing bugs in code examples
WEATHER
sensor- Rewrite this module documentation
- Add sunrise and sunset data
hmFS.readdir
- Fix the type of return value
- Add code example
hmFS.stat
- Refine the description of the
mtime
property
- Refine the description of the
hmFS.stat_asset
- Refine the description of the
mtime
property
- Refine the description of the
hmApp.exit
- Refine the description
hmApp.gotoHome
- Refine the description
January 17, 2022
hmUI.createDialog
- Fix the
show
parameter type toboolean
- Fix the
widget.setProperty
- Add code example for setting multiple properties at the same time
widget.getProperty
- Add code example for getting multiple properties at the same time
December 28, 2021
hmSetting.getDeviceInfo
- Return value added
deviceSource
field
- Return value added
hmFS.write
- Fix the wrong order of document parameter passing
hmFS.read
- Fix the wrong order of document parameter passing
hmSetting.getMileageUnit
- Fix document method name labeling error
FAT_BURRING
sensor- Fix error in code example
BATTERY
sensor- Fix error in code example
PAI
sensor- Fix document property description error
hmSetting.getUserData()
- Fix the
age
property type tonumber
- Fix the
hmSetting.getWeightTarget()
- Fix document errors
Select
- Supplementary
options
type
- Supplementary