Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Android? #10

Open
dilawar opened this issue Dec 4, 2023 · 4 comments
Open

Support Android? #10

dilawar opened this issue Dec 4, 2023 · 4 comments

Comments

@dilawar
Copy link

dilawar commented Dec 4, 2023

Is it possible to add android support?

@Hanaasagi
Copy link
Owner

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

@Rizary
Copy link

Rizary commented Dec 18, 2023

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?

@Hanaasagi
Copy link
Owner

Hanaasagi commented Dec 19, 2023

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

@Rizary
Copy link

Rizary commented Dec 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants