You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale-android/android/src/main/java/com/tailscale/ipn
Jonathan Nobels bb7ea7cf9f
android: add kotlin dependencies build the kotlin->go localAPIClient (#173)
updates ENG-2805

Adds all of the kotlin build dependencies and a partial implementation of a LocalAPIClient in the front end, wired up via JNI.  The general idea here is to mimic the architecture used on other Tailscale clients, where the front ends largely interact with the backend via "localapi".

The LocalAPIClient in go has been renamed to LocalAPIService to avoid confusion with the implementation on the future client side in Kotlin.  Some mild refactoring was done to make the localAPI invocations methods on the api service instead of App.

Streaming notifier endpoints like watch-ipn-bus are not supported.  We will build out a separate set of JNI methods for dealing with those.

The jni package is moved under cmd where it is used.

This constains mostly-complete implementation of the required localAPI data classes based on the pieces that are used by the iOS and macOS clients.  The LocalAPIClient itself does not implement all of the endpoints, but is ready to do so when those APIs are needed by a UI component.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
4 months ago
..
ui android: add kotlin dependencies build the kotlin->go localAPIClient (#173) 4 months ago
App.java android: add kotlin dependencies build the kotlin->go localAPIClient (#173) 4 months ago
DnsConfig.java DnsConfig: get rid of unnecessary isEmpty check (#149) 5 months ago
IPNActivity.java android,cmd/tailscale: implement taildrop receive for Android < 10 3 years ago
IPNReceiver.java Fixes Android quick settings tile - issue #2646 (#143) 4 months ago
IPNService.java Prevent connecting loops when using connect intent more than once (#95) 11 months ago
Peer.java cmd/tailscale,java: refactor Google Sign-In into separate class 4 years ago
QuickToggleService.java Fixes Android quick settings tile - issue #2646 (#143) 4 months ago
StartVPNWorker.java Prevent connecting loops when using connect intent more than once (#95) 11 months ago
StopVPNWorker.java Add intents (#87) 1 year ago