Replies: 4 comments 3 replies
-
Or is there a ready-made product for learning? |
Beta Was this translation helpful? Give feedback.
-
What is your device? Not all devices support secondary screen applications. You can find the support on this document. https://docs.zepp.com/docs/reference/related-resources/device-list/ |
Beta Was this translation helpful? Give feedback.
-
I know, I need to add the widget in the settings of the simulator, but this is not the case on the device I have! |
Beta Was this translation helpful? Give feedback.
-
Has the problem been solved? |
Beta Was this translation helpful? Give feedback.
-
about the secondary-widget, I did not successfully add the widget. The operation is: add the index under widget, and add ‘secondary-widget’ under module in app.json. I followed the tutorial exactly. What is the problem?
"targets": {
"default": {
"module": {
"page": {
"pages": [
"page/index"
]
},
"app-side": {
"path": "app-side/index"
},
"setting": {
"path": "setting/index"
},
"secondary-widget": {
"widgets": [
{
"path": "secondary-widget/index",
"icon": "icon.png",
"name": "widget-demo",
"preview": "icon.png",
"runtime": {
"type": "js"
}
}
]
}
},
"platforms": [
{
"st": "r",
"dw": 480
},
{
"st": "s",
"dw": 390
},
{
"st": "b",
"dw": 194
}
]
}
},
Beta Was this translation helpful? Give feedback.
All reactions