1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-29 15:51:17 +00:00
Wrapper of syncthing for Android.
Find a file
2018-12-24 12:02:19 +01:00
.tx Create Transifex config (#28) 2018-08-25 01:24:52 +02:00
app Binder failed - cannot create handler inside thread that has not called looper.prepare (fixes #149) (#150) 2018-12-24 09:51:25 +01:00
docker Move build script to python (#1184) 2018-07-18 00:17:58 +01:00
fdroiddata/metadata Update fdroiddata (#151) 2018-12-24 12:02:19 +01:00
gradle/wrapper Update build tools to 28.0.3 / gradle 4.6 2018-10-27 15:09:05 +02:00
graphics Integrate gradle plugin for translation uploads (fixes #408, #463). 2015-11-16 22:10:00 +01:00
syncthing Update syncthing core to v0.14.54 2018-12-05 19:39:20 +01:00
.gitignore Fix service.startForeground on Android 8+ (fixes #18) (fixes #80) (#79) 2018-10-08 05:00:59 +02:00
.gitmodules Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
.travis.yml Fix Android Studio 3.1.3 build-tool warnings (#1131) 2018-06-12 18:28:03 +01:00
build.gradle Update build tools to 28.0.3 / gradle 4.6 2018-10-27 15:09:05 +02:00
build_submodule.cmd Add automastic fallback to http on Android 4.x (fixes #137) (fixes #139) (#138) 2018-12-16 10:44:55 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-08-19 23:42:56 +02:00
git_fetch_branch.sh Import translations / Force lint checks before build (#132) 2018-11-29 22:16:51 +01:00
git_update_submodule.cmd Add automastic fallback to http on Android 4.x (fixes #137) (fixes #139) (#138) 2018-12-16 10:44:55 +01:00
gradlew Updated dependencies 2017-11-13 09:46:29 +09:00
gradlew.bat Updated gradle 2017-01-26 11:38:17 +09:00
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md 2018-08-19 23:41:39 +02:00
LICENSE Change license to MPLv2. 2015-03-17 22:27:50 +01:00
prepare-release.bash Import translations (#29) 2018-08-25 02:21:28 +02:00
publish-release.sh Add automastic fallback to http on Android 4.x (fixes #137) (fixes #139) (#138) 2018-12-16 10:44:55 +01:00
README.md Add automastic fallback to http on Android 4.x (fixes #137) (fixes #139) (#138) 2018-12-16 10:44:55 +01:00
settings.gradle Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00

Fork of Syncthing-Android:

License: MPLv2

Major enhancements in this fork are:

  • Individual sync conditions can be applied per device and per folder (for expert users).
  • Recent changes UI, click to open files.
  • UI explains why syncthing is running or not running according to the run conditions set in preferences.
  • "Battery eater" problem is fixed.
  • Android 8 and 9 support.
  • Many bug fixes, enhancements and more frequent releases.

A wrapper of 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.

screenshot 1 screenshot 2 screenshot 3

Please participate in quality assurance testing

See https://github.com/Catfriend1/syncthing-android/issues/122 for more details and QA builds.

Goal of the forked version

  • Develop and try out enhancements together
  • Release the wrapper more frequently to identify and fix bugs together caused by changes in the syncthing submodule
  • Make enhancements configurable in the settings UI, e.g. users should be able to turn them on and off
  • Let's get ready for newer Android versions that put limits on background syncing tools. We need your bug reports as detailed as possible

Translations

The project is translated on Transifex.

Building

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.
  • 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.
  • Java Version 8 (you might need to set $JAVA_HOME accordingly)

Build instructions

Make sure you clone the project with git clone https://github.com/Catfriend1/syncthing-android.git --recursive. Alternatively, run git submodule init && git submodule update in the project folder.

A Linux VM, for example running Debian, is recommended to build this.

Build Syncthing and the Syncthing-Android wrapper using the following commands:

./gradlew buildNative

./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:

./gradlew cleanNative

./gradlew clean

License

The project is licensed under the MPLv2.