setAppWidgetSize() and getAppWidgetSize() not working in BIP 5 #266
amirrouhandeh
started this conversation in
Developer Feedback
Replies: 1 comment 6 replies
-
Hello, this is a known issue and we will fix it in the next OTA. In the current version, it is recommended to use At the same time, we will fix the documentation and examples as soon as possible. Thank you for your feedback. import { setAppWidgetSize, getAppWidgetSize } from '@zos/ui';
AppWidget({
build(){
setTimeout(() => {
console.log('app-widget-size', getAppWidgetSize())
}, 100)
},
}) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Already designed a custom app-widget and also tested the calorie template on Bip 5 . The problem is the shortcut occupies the most space on the screen in a rectangular shape without any round corners! (tested on both watch and simulator)
Beta Was this translation helpful? Give feedback.
All reactions