This is a SaltyRTC v1 implementation for Java 8+.
TODO
The package is available on Bintray.
Gradle:
TODO
compile 'org.saltyrtc.client:saltyrtc-client:0.12.0'
Maven:
TODO
<dependency>
<groupId>org.saltyrtc.client</groupId>
<artifactId>saltyrtc-client</artifactId>
<version>0.12.0</version>
<type>pom</type>
</dependency>
To try a development version of the library, you can build a local version to
the maven repository at /tmp/maven
:
./gradlew uploadArchives
Include it in your project like this:
repositories {
...
maven { url "/tmp/maven" }
}
Unfortunately we cannot use all Java 8 features, in order to be compatible with Android API <24. Please avoid using the following APIs:
java.lang.annotation.Repeatable
AnnotatedElement.getAnnotationsByType(Class)
java.util.stream
java.lang.FunctionalInterface
java.lang.reflect.Method.isDefault()
java.util.function
The CI tests contains a script to ensure that these APIs aren't being called. You can also run it manually:
bash .circleci/check_android_support.sh
Please report security issues directly to one or both of the following contacts:
- Danilo Bargen
- Email: [email protected]
- Threema: EBEP4UCA
- GPG: EA456E8BAF0109429583EED83578F667F2F3A5FA
- Lennart Grahl
- Email: [email protected]
- Threema: MSFVEW6C
- GPG: 3FDB14868A2B36D638F3C495F98FBED10482ABA6
Copyright (c) 2018 Threema GmbH
Licensed under the Apache License, Version 2.0, <see LICENSE-APACHE file>
or the MIT license <see LICENSE-MIT file>, at your option. This file may not be
copied, modified, or distributed except according to those terms.