machine-uid icon indicating copy to clipboard operation
machine-uid copied to clipboard

Support Android?

Open dilawar opened this issue 1 year ago • 5 comments

Is it possible to add android support?

dilawar avatar Dec 04 '23 07:12 dilawar

Not very familiar with Android. I searched and found that this might be better handled on the Java side. https://stackoverflow.com/a/2785493/8079206

Hanaasagi avatar Dec 11 '23 13:12 Hanaasagi

One of my dependencies use this library (I think openssl) and I got an error because there's no target_os=Android.

This is the error:

rc/lib.rs:183:9
    |
183 | pub use machine_id::get_machine_id as get;
    |         ^^^^^^^^^^ use of undeclared crate or module `machine_id`

can you please support it?

Rizary avatar Dec 18 '23 16:12 Rizary

I would like to know what methods are available to get unique id without using the JDK.

I searched for implementations in other languages, but I am not sure whether the file like /var/lib/dbus/machine-id is accessible on Android for reading.

https://github.com/denisbrodbeck/machineid

https://github.com/automation-stack/node-machine-id#readme

Hanaasagi avatar Dec 19 '23 06:12 Hanaasagi

hii @Hanaasagi not to rush you.. I am still looking for the solution too.. best.

Rizary avatar Dec 19 '23 09:12 Rizary

any plans for iOS?

super-fun-surf avatar Aug 21 '24 16:08 super-fun-surf