runtime-service
A TorRuntime.ServiceFactory implementation which facilitates execution of TorRuntime within a service object, such as an android.app.Service.
Configure Android
This dependency will "wrap" TorRuntime.Environment creation with some helpers, whereby all instances of TorRuntime instantiated with them will be started within TorService.
For Foreground Service support, you can either implement the TorServiceUI yourself, or utilize the runtime-service-ui dependency.
Permissions may be required when using this dependency:
See the TorServiceConfig Docs
See the Sample Implementation
Configure iOS
Not yet implemented. PRs are welcomed! See Issue #547
Get Started
NOTE: if using runtime-service-ui, this dependency does not need to be expressed (it is automatically added by runtime-service-ui).
Add dependency to project/sourceSet(s)
// build.gradle.kts
dependencies {
implementation("io.matthewnelson.kmp-tor:runtime-service:$vKmpTor")
}Content copied to clipboard
A TorRuntime.ServiceFactory implementation which facilitates execution of TorRuntime within a service object, such as an android.app.Service.
Configure Android
This dependency will "wrap" TorRuntime.Environment creation with some helpers, whereby all instances of TorRuntime instantiated with them will be started within TorService.
For Foreground Service support, you can either implement the TorServiceUI yourself, or utilize the runtime-service-ui dependency.
Permissions may be required when using this dependency:
See the TorServiceConfig Docs
See the Sample Implementation
Configure iOS
Not yet implemented. PRs are welcomed! See Issue #547
Get Started
NOTE: if using runtime-service-ui, this dependency does not need to be expressed (it is automatically added by runtime-service-ui).
Add dependency to project/sourceSet(s)
// build.gradle.kts
dependencies {
implementation("io.matthewnelson.kmp-tor:runtime-service:$vKmpTor")
}Content copied to clipboard