How to extract a Feature UID from a .fo file?

Hi everyone,

I would like to know if it’s possible to programmatically extract a Feature UID from a .fo file without installing it (without using the getUID() method). I’m assuming that a Feature has its own UID, distinct from the Kernel UID embedded for compatibility checks between the Kernel and the Feature ?

Thanks!

Hi @arthas ,

Yes, a Feature has its own UID, which is used to identify it uniquely among all other installed Features.

So far, the Feature has to be installed in order to get its UID on device.

Can you explain a little bit more what you are trying to achieve ?

Thanks

–Frédéric

Thank you for your reply.

I wanted to check whether a Feature is already present in the device storage before installing it.

Using the getUID() method is still viable (I was just trying to further optimize the process).

Thanks!