1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-10 20:15:54 +00:00
Wrapper of syncthing for Android.
Find a file
Catfriend1 299b556923 Migrate to built in fs notifications, add restart on wakeup toggle
* Added UI experimental option to enable/disable FolderObserver

* Disable android watcher by default.

* WIP - dismiss file watcher notification

todo - SyncthingRunnable has to run and migrate the config v27>28 before the file watcher notification can be dismissed.

* fix object type

* remove unackednotifications instead of altering it

* removed extra blank lines

* fix removeChild

* updated syncthing to v0.14.47-rc.2

* WIP - log remove of unackedNotificationID

* WIP - improved config migration 27>28

Prevent generating the unackedNotification fsWatcher in WebGUI by manual bumping the config version to #28.

* fix typo

* WIP - polish version bump code

* syncthing/imsodin-debugAndroidWatch

* update syncthing to v0.14.47-rc.3

* fix NPE on first app start

* fix pref condition

* add ConfigXML support for fsWatcher transition

Added UI experimental option to enable/disable FolderObserver

Disable android watcher by default.

WIP - dismiss file watcher notification

todo - SyncthingRunnable has to run and migrate the config v27>28 before the file watcher notification can be dismissed.

fix object type

remove unackednotifications instead of altering it

removed extra blank lines

fix removeChild

updated syncthing to v0.14.47-rc.2

WIP - log remove of unackedNotificationID

WIP - improved config migration 27>28

Prevent generating the unackedNotification fsWatcher in WebGUI by manual bumping the config version to #28.

fix typo

WIP - polish version bump code

syncthing/imsodin-debugAndroidWatch

update syncthing to v0.14.47-rc.3

fix NPE on first app start

fix pref condition

* updated syncthing to v0.14.47+3d02fcd notify-fix

* updated ConfigXml, FolderObs explanation, st 0.14.47-rc.4

* fixed string escape

* add restartOnWakeup setting to the UI

* restartOnWakeup = false by default on first app start and config generation

* improved logging of restartOnWakeup option to produce meaningful logs

* restartOnWakeup enabled by default
see discussion in https://github.com/syncthing/syncthing-android/issues/368

* PR improved according to review

* fix intendation - Atom Tab Indent = 4

* move configXml migration to separate function

* changeLocalDeviceName only affects "self device" - fixes https://github.com/syncthing/syncthing-android/issues/1059

* revert changeLocalDeviceName fix

* fixed changed result in migrateSyncthingOptions

* improved dismissing unackedNotificationID

* extend folder settings UI by fsWatcherEnabled checkbox

* remove FolderObserver

+ Constant.PREF_USE_TOR according to AudriusButkevicius' review added instead of static strings

* remove folderchange listener

* WIP - temporary - restApi logging

for better understanding whats going on

* prevent removingthe wrong unackedNotificationID

* fix build

* give me more log

* fix PostConfig REST request not working

due to missing fields in the folder model

* remove unused string

toast_folder_observer_stack_overflow using AndroidStudio

* fix typo

* trigger rebuild

* fix UI icon

* Revert to Syncthing to 0.14.46 and cherry-pick

* improved code according to review

* fix translation indent
2018-04-27 21:24:47 +01:00
.tx Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
app Migrate to built in fs notifications, add restart on wakeup toggle 2018-04-27 21:24:47 +01:00
docker Docker image, and windows builds (#1049) 2018-04-09 21:13:25 +01:00
gradle/wrapper Updated dependencies 2017-11-13 09:46:29 +09:00
graphics Integrate gradle plugin for translation uploads (fixes #408, #463). 2015-11-16 22:10:00 +01:00
syncthing Updated Syncthing to 0.14.46 and cherry-pick 2018-04-10 23:13:40 +01:00
.gitignore Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
.gitmodules Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
.travis.yml Fix Travis build (fixes #1026) 2018-02-24 16:34:43 +09:00
build.gradle Update dependencies, clean code 2017-12-05 20:53:33 +09:00
CONTRIBUTING.md Added more info about logcat to contributing 2016-12-05 14:15:21 +09: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 Added issue template, based on that in syncthing/syncthing. 2016-08-02 17:11:34 +02:00
LICENSE Change license to MPLv2. 2015-03-17 22:27:50 +01:00
prepare-release.bash Speed up transifex download 2017-10-26 13:07:39 +09:00
publish-release.sh Fix version 2017-10-24 22:26:31 +09:00
README.md Don't upgrade plugin to 3.0 yet, as it breaks lint 2017-11-13 11:09:26 +09:00
settings.gradle Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00

syncthing-android

Build Status License: MPLv2 Bountysource

A wrapper of Syncthing for Android.

screenshot 1 screenshot 2 screenshot 3

Get it on Google Play Get it on F-Droid

Translations

The project is translated on Transifex.

Building

Dependencies

  • Android SDK (you can skip this if you are using Android Studio)
  • Android NDK ($ANDROID_NDK_HOME should point at the root directory of your NDK)
  • Go (see here for the required version)

Build instructions

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

Build Syncthing using ./syncthing/build-syncthing.bash. Then use ./gradlew assembleDebug or Android Studio to build the apk.

Building on Windows

To build the Syncthing app on Windows we need to have cygwin installed.

From a cygwin shell in the project directory, build Syncthing using ./syncthing/build-syncthing.bash

Lastly, use ./gradlew assembleDebug in the project directory to compile the APK, or use Android Studio to build/deploy the APK.

License

The project is licensed under the MPLv2.