• Administrador
  •  
    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

A branch of the forum to discuss everything that is connected with Huami Zepp OS.

Moderadores: asoo, Watchmens

Reglas del Foro
All communication in this branch should only be in English.
Responder
Lilonu
Mensajes: 5
Registrado: 10 Feb 2024, 18:12
Ubicación: Brussels
Has thanked: 1 time
Contactar:

Where to get a unique app-id

Mensaje por Lilonu »

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?
Avatar de Usuario
asoo
Mensajes: 2153
Registrado: 03 Ene 2019, 01:48
Ubicación: ͼͽ Thailand ͼͽ
Has thanked: 415 times
Been thanked: 2075 times

Mensaje por asoo »

Lilonu escribió: 23 Feb 2024, 19:44
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?
If you mean the "appId" defined in the APP.json file
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.
Lilonu
Mensajes: 5
Registrado: 10 Feb 2024, 18:12
Ubicación: Brussels
Has thanked: 1 time
Contactar:

Mensaje por Lilonu »

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.
Avatar de Usuario
asoo
Mensajes: 2153
Registrado: 03 Ene 2019, 01:48
Ubicación: ͼͽ Thailand ͼͽ
Has thanked: 415 times
Been thanked: 2075 times

Mensaje por asoo »

Lilonu escribió: 24 Feb 2024, 13:41
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 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.

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.
Avatar de Usuario
SashaCX75
Mensajes: 820
Registrado: 26 Oct 2019, 15:18
Ubicación: Ukraine
Has thanked: 13 times
Been thanked: 1030 times
Contactar:

Mensaje por SashaCX75 »

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.
Responder

Volver a “Zepp OS”

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado