2018-09-14 19:17:20 +00:00
# Fork of Syncthing-Android:
[![License: MPLv2 ](https://img.shields.io/badge/License-MPLv2-blue.svg )](https://opensource.org/licenses/MPL-2.0)
< a href = "https://github.com/Catfriend1/syncthing-android/releases" alt = "GitHub release" > < img src = "https://img.shields.io/github/release/Catfriend1/syncthing-android/all.svg" / > < / a >
2018-12-05 18:35:26 +00:00
< a href = "https://f-droid.org/de/packages/com.github.catfriend1.syncthingandroid" alt = "F-Droid release" > < img src = "https://img.shields.io/badge/f--droid-4180-brightgreen.svg" / > < / a >
2018-09-14 19:17:20 +00:00
2018-08-19 22:30:06 +00:00
# Major enhancements in this fork are:
2018-10-16 08:26:44 +00:00
- Individual sync conditions can be applied per device and per folder (for expert users).
2018-10-30 20:50:48 +00:00
- Recent changes UI, click to open files.
2018-08-19 22:30:06 +00:00
- UI explains why syncthing is running or not running according to the run conditions set in preferences.
2018-08-25 20:35:08 +00:00
- "Battery eater" problem is fixed.
2018-10-16 08:26:44 +00:00
- Android 8 and 9 support.
2018-09-01 20:33:13 +00:00
- Many bug fixes, enhancements and more frequent releases.
2018-08-19 22:30:06 +00:00
2018-09-29 21:09:41 +00:00
A wrapper of [Syncthing ](https://github.com/syncthing/syncthing ) for Android. Head to the "releases" section or F-Droid for builds. Please open an issue under this fork if you need help. Important: Please don't file bugs at the upstream repository "syncthing-android" if you are using this fork.
2014-02-22 17:12:05 +00:00
2018-09-22 16:31:36 +00:00
< img src = "app/src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_12.png" alt = "screenshot 1" width = "200" / > < img src = "app/src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_11.png" alt = "screenshot 2" width = "200" / > < img src = "app/src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_09.png" alt = "screenshot 3" width = "200" / >
2014-08-25 23:31:14 +00:00
2018-11-06 18:55:33 +00:00
# Please participate in quality assurance testing
See https://github.com/Catfriend1/syncthing-android/issues/122 for more details and QA builds.
2018-09-29 21:09:41 +00:00
# Goal of the forked version
- Develop and try out enhancements together
2018-11-23 07:35:39 +00:00
- Release the wrapper more frequently to identify and fix bugs together caused by changes in the syncthing submodule
2018-09-29 21:09:41 +00:00
- Make enhancements configurable in the settings UI, e.g. users should be able to turn them on and off
2018-11-23 07:35:39 +00:00
- Let's get ready for newer Android versions that put limits on background syncing tools. We need your bug reports as detailed as possible
2018-09-29 21:09:41 +00:00
2018-08-25 00:24:02 +00:00
# Translations
The project is translated on [Transifex ](https://www.transifex.com/projects/p/syncthing-android-1 ).
2014-09-25 10:39:53 +00:00
# Building
2018-09-22 16:31:36 +00:00
### Prerequisites
- Android SDK
`You can skip this if you are using Android Studio.`
- Android NDK r16b
`$ANDROID_NDK_HOME environment variable should point at the root directory of your NDK. If the variable is not set, build-syncthing.py will automatically try to download and setup the NDK.`
- Go 1.9.7
`Make sure, Go is installed and available on the PATH environment variable. If Go is not found on the PATH environment variable, build-syncthing.py will automatically try to download and setup GO on the PATH.`
- Python 2.7
`Make sure, Python is installed and available on the PATH environment variable.`
2018-09-23 12:36:49 +00:00
- Git (for Linux) or Git for Windows
`Make sure, git (or git.exe) is installed and available on the PATH environment variable. If Git is not found on the PATH environment variable, build-syncthing.py will automatically try to download and setup MinGit 2.19.0-x64 on the PATH.`
2018-11-23 07:40:17 +00:00
- Java Version 8 (you might need to set `$JAVA_HOME` accordingly)
2014-08-20 21:58:28 +00:00
2014-09-25 10:39:53 +00:00
### Build instructions
2014-02-22 17:12:05 +00:00
2017-10-24 05:55:28 +00:00
Make sure you clone the project with
2018-09-22 16:31:36 +00:00
`git clone https://github.com/Catfriend1/syncthing-android.git --recursive` .
Alternatively, run `git submodule init && git submodule update` in the project folder.
2014-08-25 23:51:07 +00:00
2018-08-19 21:14:56 +00:00
A Linux VM, for example running Debian, is recommended to build this.
2018-09-22 16:31:36 +00:00
Build Syncthing and the Syncthing-Android wrapper using the following commands:
2018-09-23 12:36:49 +00:00
2018-09-22 16:31:36 +00:00
`./gradlew buildNative`
2018-09-23 12:36:49 +00:00
2018-09-22 16:31:36 +00:00
`./gradlew lint assembleDebug`
You can also use Android Studio to build the apk after you manually ran the `./gradlew buildNative` command in the repository root.
To clean up all files generated during build, use the following commands:
2018-09-23 12:36:49 +00:00
2018-09-22 16:31:36 +00:00
`./gradlew cleanNative`
2018-09-23 12:36:49 +00:00
2018-09-22 16:31:36 +00:00
`./gradlew clean`
2014-08-20 21:58:28 +00:00
2014-09-25 10:39:53 +00:00
# License
2014-05-05 21:52:51 +00:00
2015-03-17 21:27:50 +00:00
The project is licensed under the [MPLv2 ](LICENSE ).