-
- Administrator
-
-
Support Ukraine
If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
Where to get a unique app-id
Forum rules
All communication in this branch should only be in English.
All communication in this branch should only be in English.
Where to get a unique app-id
In a watchface's json file one has to define an appid. Where would I get such an appid, as it surely must be unique?
- asoo
- Posts: 2130
- Joined: 03 Jan 2019, 01:48
- Location: ͼͽ Thailand ͼͽ
- Has thanked: 411 times
- Been thanked: 2050 times
If you mean the "appId" defined in the APP.json fileLilonu wrote: 23 Feb 2024, 19:44In a watchface's json file one has to define an appid. Where would I get such an appid, as it surely must be unique?
You can set the numbers as you want, with the same number of digits as before, but don't duplicate the id of another watch face you've already used, because if the id value is the same as the previous watch face, When you sync to your watch, it will replace the old watch face that use the same id.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Please do not PM to me for requests ported watchface.
Thanks, asoo.
I found that out, too
, but that is exactly what I aim to avoid: That I install an official app/watchface that by chance uses the appid I arbitrarily chose for my own app/watchface. I know the chances a small, but nevertheless. So how to get one that is in fact unique? Would that be only through the official publish process of zepp os? - I wouldn't want to go through that as my projects are internal only.
What I currently do is to (re)use the appid of a watchface from here - and remember to never install the original. But there must be another, better way.
I found that out, too
What I currently do is to (re)use the appid of a watchface from here - and remember to never install the original. But there must be another, better way.
- asoo
- Posts: 2130
- Joined: 03 Jan 2019, 01:48
- Location: ͼͽ Thailand ͼͽ
- Has thanked: 411 times
- Been thanked: 2050 times
I think it's also difficult because the ID is probably assigned by Zepp and it wouldn't be easy to access this information. So I thought of a random method by myself. Right now this is probably the most appropriate method.Lilonu wrote: 24 Feb 2024, 13:41Thanks, asoo.
I found that out, too, but that is exactly what I aim to avoid: That I install an official app/watchface that by chance uses the appid I arbitrarily chose for my own app/watchface. I know the chances a small, but nevertheless. So how to get one that is in fact unique? Would that be only through the official publish process of zepp os? - I wouldn't want to go through that as my projects are internal only.
What I currently do is to (re)use the appid of a watchface from here - and remember to never install the original. But there must be another, better way.
If you find a better way than this, please let me know. Thank you.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Please do not PM to me for requests ported watchface.
- SashaCX75
- Posts: 820
- Joined: 26 Oct 2019, 15:18
- Location: Ukraine
- Has thanked: 13 times
- Been thanked: 1029 times
- Contact:
When you create a watch face on https://watchface.zepp.com/designer, it is assigned an identifier. You can create an empty watch face and use its identifier in your projects. But I think just writing a random identifier is easier, and the probability of coincidence with an already existing one is very small.
Who is online
Users browsing this forum: No registered users and 0 guests