Skip to content

Commit cb065f2

Browse files
committed
Update documentation of Android caveats
Especially mention golang/go#70508 which is probably the cause of the compatibility issue.
1 parent e72de51 commit cb065f2

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,19 @@ While Syncthing Tray basically works on Android, there are still some unresolved
451451
improved but especially if one has many files in one directory the performance is still bad.
452452
There is nothing one can do about it except storing the data in app's private directory. While
453453
this is possible it of course doesn't cover all use cases.
454-
* Opening a directory in the file browser still doesn't work.
454+
* Opening a directory in the file browser still doesn't work. Not sure what Android APIs need to
455+
be used to make this work. The approach taken by
456+
[syncthing-android](https://github.com/Catfriend1/syncthing-android) did not work when trying
457+
to use it in my app.
455458
* Media rescans need to be triggered manually.
456-
* The way Syncthing itself is built does not seem to specify an API level. Therefore the app
457-
crashes under older Android versions such as Android 10.
459+
* When using Go 1.23 the resulting APK does not run on older Android versions like Android 10.
460+
Use `go install golang.org/dl/go1.22.11@latest && $GOPATH/src/go/bin/go1.22.11 download` to
461+
install an older version of Go. Then conduct the build with `-DGO_BIN=$GOPATH/bin/go1.22.11`.
462+
With this version of Go the resulting APK works Android 10 in my tests. The problem is likely
463+
caused the an [upstream bug](https://github.com/golang/go/issues/70508) (even though it is not
464+
limited to arm64).
458465
* The app doesn't use the configured system font. (It does use the configured font size and weight,
459-
though.)
466+
though.) Not sure what Android APIs need to be used to read the configured system font.
460467
* There are probably still many small UI bugs in the Qt Quick based UI used on Android.
461468
* Not all features the official web UI offers have been implemented in the Qt Quick based UI yet.
462469
One can easily open the official web UI in a web browser, though.

0 commit comments

Comments
 (0)