gnunet-android

GNUnet for Android
Log | Files | Refs | README

commit 3cb74191111aa298a852ed74089d61122002d173
parent 753cab50edca0cff6db1b03a4085bcb1a98006f5
Author: julianharty <julianharty@gmail.com>
Date:   Tue, 13 Aug 2024 10:20:21 +0100

Fixed 2 startup issues.

Diffstat:
Mandroid_studio/app/src/main/assets/gnunet.conf | 2+-
Mandroid_studio/app/src/main/cpp/native-lib.cpp | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/android_studio/app/src/main/assets/gnunet.conf b/android_studio/app/src/main/assets/gnunet.conf @@ -19,7 +19,7 @@ ACCEPT_FROM6 = ::1; UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-nat.sock UNIX_MATCH_UID = YES UNIX_MATCH_GID = YES -ENABLE_UPNP = YES +ENABLE_UPNP = NO ENABLE_IPSCAN = YES DISABLEV6 = NO HOSTNAME_DNS_FREQUENCY = 20 min diff --git a/android_studio/app/src/main/cpp/native-lib.cpp b/android_studio/app/src/main/cpp/native-lib.cpp @@ -249,6 +249,8 @@ Java_org_gnu_gnunet_MainActivity_stringFromJNI( std::string tmp_file = GNUNET_DISK_mktemp ("test"); LOGD ("Temp file is here: %s", tmp_file.c_str()); + int ok = lt_dlinit(); + LOGD("lt_dlinit return code: %d", ok); LOGD ("current ltdl search path: %s", lt_dlgetsearchpath()); lt_dlsetsearchpath ("/data/user/0/org.gnu.gnunet/files/");