Skip to content

Commit 9c1bd01

Browse files
committed
fix(aw-sync): use passed hostname directly instead of client.hostname
- Created push_with_hostname() function that accepts hostname parameter - Updated JNI functions to use push_with_hostname() with passed hostname - This ensures sync directory uses actual device name from Android - Fixes issue where 'localhost' was used despite passing device name The hostname is now passed directly from Android through JNI to the sync functions, bypassing the client's hostname entirely.
1 parent 9b32e31 commit 9c1bd01

File tree

5 files changed

+157
-58
lines changed

5 files changed

+157
-58
lines changed

Cargo.lock

Lines changed: 86 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)