File tree 3 files changed +10
-3
lines changed
src/main/kotlin/eu/fliegendewurst/triliumdroid
fastlane/metadata/android/en-US/changelogs
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ android {
11
11
minSdkVersion 26
12
12
compileSdk 35
13
13
targetSdkVersion 35
14
- versionCode 4
15
- versionName " 0.90.12-alpha2.1 "
14
+ versionCode 5
15
+ versionName " 0.90.12-alpha2.2 "
16
16
17
17
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
18
18
Original file line number Diff line number Diff line change @@ -195,7 +195,13 @@ object ConnectionUtil {
195
195
Log .e(TAG , " login received response $resp " )
196
196
try {
197
197
val json = JSONObject (resp)
198
- callbackError(IllegalStateException (json.getString(" message" )))
198
+ val msg = json.getString(" message" )
199
+ if (msg.startsWith(" Non-matching sync versions, local is version 32, remote is 33." )) {
200
+ prefs?.edit()?.putInt(" syncVersion" , Cache .CacheDbHelper .SYNC_VERSION_0_63_3 )?.apply ()
201
+ connect(server, callback, callbackError)
202
+ return
203
+ }
204
+ callbackError(IllegalStateException ())
199
205
return
200
206
} catch (_: Exception ) {
201
207
}
Original file line number Diff line number Diff line change
1
+ Fixed sync with Trilium 0.63.
You can’t perform that action at this time.
0 commit comments