loki-network-flutter-app
Go to file
Jeff Becker fc1bebf821
untrack local.properties and add it to gitignore
2021-06-21 05:15:07 -04:00
android commit new logo 2021-04-12 09:46:22 -04:00
assets/images Add Lokinet Logo 2021-05-20 22:24:49 +02:00
gradle/wrapper Got it working 2021-03-22 02:41:03 +01:00
ios commit new logo 2021-04-12 09:46:22 -04:00
lib * allow custom upstream dns 2021-06-20 05:46:43 -04:00
lokinet_lib * allow custom upstream dns 2021-06-20 05:46:43 -04:00
test Default Template 2021-03-14 20:28:45 +01:00
.gitignore untrack local.properties and add it to gitignore 2021-06-21 05:15:07 -04:00
.metadata Default Template 2021-03-14 20:28:45 +01:00
README.md * allow custom upstream dns 2021-06-20 05:46:43 -04:00
gradlew Got it working 2021-03-22 02:41:03 +01:00
gradlew.bat Got it working 2021-03-22 02:41:03 +01:00
pubspec.lock * allow custom upstream dns 2021-06-20 05:46:43 -04:00
pubspec.yaml Add Lokinet Logo 2021-05-20 22:24:49 +02:00

README.md

Lokinet on the Go

An app to interact with Lokinet as a vpn tunnel for android

building

build requirements:

  • flutter 1.x (ideally flutter 2.x if you are able to)
  • lokinet android jni libs

first you need to get a build of the native libs for android lokinet

native libs

you have 2 paths for this:

  • get a ci build of the apk and extract the libs
  • do it yourself (takes at least 30 minutes and a non windows build environment)

libs from ci

find the latest android ci build from our ci server

  • extract the tarball
  • run: cp -av lokinet-android-*/lokinet-jni-*/* lokinet_lib/android/src/main/jniLibs/

DIY

get the lokinet repo source and set up your environment:

$ git clone --recursive https://github.com/oxen-io/loki-network

build it and wait for a bit:

$ cd loki-network
$ ./contrib/android.sh

copy the libs over:

$ cp -av lokinet-jni-*/* /path/to/lokinet-mobile/lokinet_lib/android/src/main/jniLibs/

build with flutter

now build the project with flutter:

$ flutter build apk --debug

if succesful it will produce an apk at build/app/outputs/flutter-apk/app-debug.apk which you can run