Skip to content

Commit d47df89

Browse files
Merge pull request #1145 from session-foundation/release/1.23.1
Release 1.23.1
2 parents 8280cef + 8ce961b commit d47df89

File tree

94 files changed

+1929
-818
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1929
-818
lines changed

app/build.gradle

Lines changed: 121 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ configurations.configureEach {
1515
exclude module: "commons-logging"
1616
}
1717

18-
def canonicalVersionCode = 406
19-
def canonicalVersionName = "1.23.0"
18+
def canonicalVersionCode = 407
19+
def canonicalVersionName = "1.23.1"
2020

2121
def postFixSize = 10
2222
def abiPostFix = ['armeabi-v7a' : 1,
@@ -272,161 +272,158 @@ preBuild.dependsOn ipToCode
272272
dependencies {
273273
implementation project(':content-descriptions')
274274

275-
ksp("androidx.hilt:hilt-compiler:$jetpackHiltVersion")
276-
ksp("com.google.dagger:hilt-compiler:$daggerHiltVersion")
277-
ksp("com.github.bumptech.glide:ksp:$glideVersion")
278-
implementation("androidx.hilt:hilt-navigation-compose:$androidxHiltVersion")
279-
implementation("androidx.hilt:hilt-work:$androidxHiltVersion")
280-
281-
implementation("com.google.dagger:hilt-android:$daggerHiltVersion")
282-
implementation "androidx.appcompat:appcompat:$appcompatVersion"
283-
implementation 'androidx.recyclerview:recyclerview:1.4.0'
284-
implementation "com.google.android.material:material:$materialVersion"
285-
implementation 'com.google.android.flexbox:flexbox:3.0.0'
286-
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
287-
implementation 'androidx.cardview:cardview:1.0.0'
288-
implementation "androidx.preference:preference-ktx:$preferenceVersion"
289-
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
290-
implementation 'androidx.gridlayout:gridlayout:1.0.0'
291-
implementation 'androidx.exifinterface:exifinterface:1.3.4'
292-
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
293-
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
294-
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
295-
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
296-
implementation "androidx.lifecycle:lifecycle-process:$lifecycleVersion"
297-
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleVersion"
298-
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
299-
implementation "androidx.paging:paging-runtime-ktx:$pagingVersion"
300-
implementation 'androidx.activity:activity-ktx:1.10.1'
301-
implementation 'androidx.activity:activity-compose:1.10.1'
302-
implementation 'androidx.fragment:fragment-ktx:1.8.6'
303-
implementation "androidx.core:core-ktx:$coreVersion"
304-
implementation "androidx.work:work-runtime-ktx:2.10.0"
305-
306-
playImplementation ("com.google.firebase:firebase-messaging:24.0.0") {
275+
ksp(libs.androidx.hilt.compiler)
276+
ksp(libs.dagger.hilt.compiler)
277+
ksp(libs.glide.ksp)
278+
implementation(libs.androidx.hilt.navigation.compose)
279+
implementation(libs.androidx.hilt.work)
280+
281+
implementation(libs.hilt.android)
282+
implementation libs.androidx.appcompat
283+
implementation libs.androidx.recyclerview
284+
implementation libs.material
285+
implementation libs.flexbox
286+
implementation libs.androidx.legacy.support.v13
287+
implementation libs.androidx.cardview
288+
implementation libs.androidx.preference.ktx
289+
implementation libs.androidx.legacy.preference.v14
290+
implementation libs.androidx.gridlayout
291+
implementation libs.androidx.exifinterface
292+
implementation libs.androidx.constraintlayout
293+
implementation libs.androidx.lifecycle.common.java8
294+
implementation libs.androidx.lifecycle.runtime.ktx
295+
implementation libs.androidx.lifecycle.livedata.ktx
296+
implementation libs.androidx.lifecycle.process
297+
implementation libs.androidx.lifecycle.viewmodel.compose
298+
implementation libs.androidx.lifecycle.extensions
299+
implementation libs.androidx.paging.runtime.ktx
300+
implementation libs.androidx.activity.ktx
301+
implementation libs.androidx.activity.compose
302+
implementation libs.androidx.fragment.ktx
303+
implementation libs.androidx.core.ktx
304+
implementation libs.androidx.work.runtime.ktx
305+
306+
playImplementation (libs.firebase.messaging) {
307307
exclude group: 'com.google.firebase', module: 'firebase-core'
308308
exclude group: 'com.google.firebase', module: 'firebase-analytics'
309309
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
310310
}
311311

312-
if (project.hasProperty('huawei')) huaweiImplementation 'com.huawei.hms:push:6.7.0.300'
313-
314-
implementation 'androidx.media3:media3-exoplayer:1.4.0'
315-
implementation 'androidx.media3:media3-ui:1.4.0'
316-
implementation 'org.conscrypt:conscrypt-android:2.5.2'
317-
implementation 'org.signal:aesgcmprovider:0.0.3'
318-
implementation 'io.github.webrtc-sdk:android:125.6422.07'
319-
implementation "me.leolin:ShortcutBadger:1.1.16"
320-
implementation 'org.apache.httpcomponents:httpclient-android:4.3.5'
321-
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
322-
implementation "com.github.bumptech.glide:glide:$glideVersion"
323-
implementation "com.github.bumptech.glide:compose:1.0.0-beta01"
324-
implementation 'com.makeramen:roundedimageview:2.1.0'
325-
implementation 'org.greenrobot:eventbus:3.0.0'
326-
implementation 'com.vanniktech:android-image-cropper:4.5.0'
327-
implementation ('com.davemorrissey.labs:subsampling-scale-image-view:3.6.0') {
312+
if (project.hasProperty('huawei')) huaweiImplementation libs.huawei.push
313+
314+
implementation libs.androidx.media3.exoplayer
315+
implementation libs.androidx.media3.ui
316+
implementation libs.conscrypt.android
317+
implementation libs.aesgcmprovider
318+
implementation libs.android
319+
implementation libs.shortcutbadger
320+
implementation libs.httpclient.android
321+
implementation libs.photoview
322+
implementation libs.glide
323+
implementation libs.compose
324+
implementation libs.roundedimageview
325+
implementation libs.eventbus
326+
implementation libs.android.image.cropper
327+
implementation (libs.subsampling.scale.image.view) {
328328
exclude group: 'com.android.support', module: 'support-annotations'
329329
}
330-
implementation ('com.tomergoldst.android:tooltips:1.0.6') {
330+
implementation (libs.tooltips) {
331331
exclude group: 'com.android.support', module: 'appcompat-v7'
332332
}
333-
implementation ('com.klinkerapps:android-smsmms:4.0.1') {
333+
implementation (libs.kinkerapps.android.smsmms) {
334334
exclude group: 'com.squareup.okhttp', module: 'okhttp'
335335
exclude group: 'com.squareup.okhttp', module: 'okhttp-urlconnection'
336336
}
337-
implementation 'com.annimon:stream:1.1.8'
338-
implementation 'androidx.sqlite:sqlite-ktx:2.3.1'
339-
implementation 'net.zetetic:sqlcipher-android:4.7.2'
337+
implementation libs.stream
338+
implementation libs.androidx.sqlite.ktx
339+
implementation libs.sqlcipher.android
340340
implementation project(":libsignal")
341341
implementation project(":libsession")
342-
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinxJsonVersion"
343-
implementation "com.github.session-foundation.session-android-curve-25519:curve25519-java:$curve25519Version"
342+
implementation libs.kotlinx.serialization.json
343+
implementation libs.curve25519.java
344344
implementation project(":liblazysodium")
345-
implementation "net.java.dev.jna:jna:5.12.1@aar"
346-
implementation "com.google.protobuf:protobuf-java:$protobufVersion"
347-
implementation "com.fasterxml.jackson.core:jackson-databind:$jacksonDatabindVersion"
348-
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
349-
implementation "com.squareup.phrase:phrase:$phraseVersion"
350-
implementation 'app.cash.copper:copper-flow:1.0.0'
351-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
352-
implementation "nl.komponents.kovenant:kovenant:$kovenantVersion"
353-
implementation "nl.komponents.kovenant:kovenant-android:$kovenantVersion"
354-
implementation "com.jakewharton.rxbinding3:rxbinding:3.1.0"
355-
implementation "com.opencsv:opencsv:4.6"
356-
testImplementation "junit:junit:$junitVersion"
357-
testImplementation 'org.assertj:assertj-core:3.11.1'
358-
testImplementation "org.mockito:mockito-inline:4.11.0"
359-
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
360-
androidTestImplementation "org.mockito:mockito-android:4.11.0"
361-
androidTestImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
362-
testImplementation "androidx.test:core:$testCoreVersion"
363-
testImplementation "androidx.arch.core:core-testing:2.2.0"
364-
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion"
365-
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion"
345+
implementation libs.protobuf.java
346+
implementation libs.jackson.databind
347+
implementation libs.okhttp
348+
implementation libs.phrase
349+
implementation libs.copper.flow
350+
implementation libs.kotlinx.coroutines.android
351+
implementation libs.kovenant
352+
implementation libs.kovenant.android
353+
implementation libs.rxbinding
354+
implementation libs.opencsv
355+
testImplementation libs.junit
356+
testImplementation libs.assertj.core
357+
testImplementation libs.mockito.inline
358+
testImplementation libs.mockito.kotlin
359+
androidTestImplementation libs.mockito.android
360+
androidTestImplementation libs.mockito.kotlin
361+
testImplementation libs.androidx.core
362+
testImplementation libs.androidx.core.testing
363+
testImplementation libs.kotlinx.coroutines.testing
364+
androidTestImplementation libs.kotlinx.coroutines.testing
366365
// Core library
367-
androidTestImplementation "androidx.test:core:$testCoreVersion"
366+
androidTestImplementation libs.androidx.core
368367

369368
// AndroidJUnitRunner and JUnit Rules
370-
androidTestImplementation 'androidx.test:runner:1.5.2'
371-
androidTestImplementation 'androidx.test:rules:1.5.0'
369+
androidTestImplementation libs.androidx.runner
370+
androidTestImplementation libs.androidx.rules
372371

373372
// Assertions
374-
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
375-
androidTestImplementation 'androidx.test.ext:truth:1.5.0'
376-
testImplementation 'com.google.truth:truth:1.1.3'
377-
androidTestImplementation 'com.google.truth:truth:1.1.3'
373+
androidTestImplementation libs.androidx.junit
374+
androidTestImplementation libs.androidx.truth
375+
testImplementation libs.truth
376+
androidTestImplementation libs.truth
378377

379378
// Espresso dependencies
380-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
381-
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.5.1'
382-
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.5.1'
383-
androidTestImplementation 'androidx.test.espresso:espresso-accessibility:3.5.1'
384-
androidTestImplementation 'androidx.test.espresso:espresso-web:3.5.1'
385-
androidTestImplementation 'androidx.test.espresso.idling:idling-concurrent:3.5.1'
386-
androidTestImplementation 'androidx.test.espresso:espresso-idling-resource:3.5.1'
387-
androidTestImplementation "androidx.compose.ui:ui-test-junit4:1.5.3"
388-
debugImplementation "androidx.compose.ui:ui-test-manifest:1.5.3"
389-
androidTestUtil 'androidx.test:orchestrator:1.4.2'
390-
391-
testImplementation 'org.robolectric:robolectric:4.12.2'
392-
testImplementation 'org.robolectric:shadows-multidex:4.12.2'
393-
testImplementation 'org.conscrypt:conscrypt-openjdk-uber:2.5.2' // For Robolectric
394-
testImplementation 'app.cash.turbine:turbine:1.1.0'
379+
androidTestImplementation libs.androidx.espresso.core
380+
androidTestImplementation libs.androidx.espresso.contrib
381+
androidTestImplementation libs.androidx.espresso.intents
382+
androidTestImplementation libs.androidx.espresso.accessibility
383+
androidTestImplementation libs.androidx.espresso.web
384+
androidTestImplementation libs.androidx.idling.concurrent
385+
androidTestImplementation libs.androidx.espresso.idling.resource
386+
androidTestImplementation libs.androidx.compose.ui.test.junit4
387+
debugImplementation libs.androidx.compose.ui.test.manifest
388+
androidTestUtil libs.androidx.orchestrator
389+
390+
testImplementation libs.robolectric
391+
testImplementation libs.robolectric.shadows.multidex
392+
testImplementation libs.conscrypt.openjdk.uber // For Robolectric
393+
testImplementation libs.turbine
395394

396395
// compose
397-
Dependency composeBom = platform('androidx.compose:compose-bom:2025.03.01')
398-
implementation composeBom
399-
testImplementation composeBom
400-
androidTestImplementation composeBom
396+
implementation platform(libs.androidx.compose.bom)
397+
testImplementation platform(libs.androidx.compose.bom)
398+
androidTestImplementation platform(libs.androidx.compose.bom)
401399

402-
implementation "androidx.compose.ui:ui"
403-
implementation "androidx.compose.animation:animation"
404-
implementation "androidx.compose.ui:ui-tooling"
405-
implementation "androidx.compose.runtime:runtime-livedata"
406-
implementation "androidx.compose.foundation:foundation-layout"
407-
implementation "androidx.compose.material3:material3"
400+
implementation libs.androidx.compose.ui
401+
implementation libs.androidx.compose.animation
402+
implementation libs.androidx.compose.ui.tooling
403+
implementation libs.androidx.compose.runtime.livedata
404+
implementation libs.androidx.compose.foundation.layout
405+
implementation libs.androidx.compose.material3
408406

409-
androidTestImplementation "androidx.compose.ui:ui-test-junit4-android"
410-
debugImplementation "androidx.compose.ui:ui-test-manifest"
407+
androidTestImplementation libs.androidx.ui.test.junit4.android
408+
debugImplementation libs.androidx.compose.ui.test.manifest
411409

412410
// Navigation
413-
implementation "androidx.navigation:navigation-fragment-ktx:$navVersion"
414-
implementation "androidx.navigation:navigation-ui-ktx:$navVersion"
415-
implementation "androidx.navigation:navigation-compose:$navVersion"
411+
implementation libs.androidx.navigation.fragment.ktx
412+
implementation libs.androidx.navigation.ui.ktx
413+
implementation libs.androidx.navigation.compose
416414

417-
implementation "com.google.accompanist:accompanist-themeadapter-appcompat:0.33.1-alpha"
418-
implementation "com.google.accompanist:accompanist-permissions:0.36.0"
419-
implementation "com.google.accompanist:accompanist-drawablepainter:0.33.1-alpha"
415+
implementation libs.accompanist.themeadapter.appcompat
416+
implementation libs.accompanist.permissions
417+
implementation libs.accompanist.drawablepainter
420418

421-
implementation "androidx.camera:camera-camera2:1.3.2"
422-
implementation "androidx.camera:camera-lifecycle:1.3.2"
423-
implementation "androidx.camera:camera-view:1.3.2"
419+
implementation libs.androidx.camera.camera2
420+
implementation libs.androidx.camera.lifecycle
421+
implementation libs.androidx.camera.view
424422

425-
// Note: ZXing 3.5.3 is the latest stable release as of 2024/08/21
426-
implementation "com.google.zxing:core:$zxingVersion"
423+
implementation libs.zxing.core
427424

428425
// Note: 1.1.0 is the latest stable release as of 2024/12/18
429-
implementation "androidx.biometric:biometric:1.1.0"
426+
implementation libs.androidx.biometric
430427
}
431428

432429
static def getLastCommitTimestamp() {

app/src/main/AndroidManifest.xml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@
315315
</activity>
316316
<activity android:name="org.thoughtcrime.securesms.media.MediaOverviewActivity" />
317317
<activity android:name="org.thoughtcrime.securesms.migration.DatabaseMigrationStateActivity" />
318+
<activity android:name="org.thoughtcrime.securesms.preferences.appearance.AppDisguiseSettingsActivity" />
318319

319320
<service
320321
android:name="org.thoughtcrime.securesms.service.KeyCachingService"
@@ -484,7 +485,76 @@
484485
tools:node="remove" />
485486
</provider>
486487

488+
<!-- Alternative icons -->
489+
<activity-alias
490+
android:name=".Calculator"
491+
android:label="@string/appNameCalculator"
492+
android:icon="@mipmap/ic_launcher_calculator"
493+
android:targetActivity="org.thoughtcrime.securesms.home.HomeActivity"
494+
android:enabled="false"
495+
android:exported="true">
496+
<intent-filter>
497+
<action android:name="android.intent.action.MAIN" />
498+
<category android:name="android.intent.category.LAUNCHER" />
499+
<category android:name="android.intent.category.DEFAULT" />
500+
</intent-filter>
501+
</activity-alias>
502+
503+
<activity-alias
504+
android:name=".Meetings"
505+
android:label="@string/appNameMeetingSE"
506+
android:icon="@mipmap/ic_launcher_meetings"
507+
android:enabled="false"
508+
android:targetActivity="org.thoughtcrime.securesms.home.HomeActivity"
509+
android:exported="true">
510+
<intent-filter>
511+
<action android:name="android.intent.action.MAIN" />
512+
<category android:name="android.intent.category.LAUNCHER" />
513+
<category android:name="android.intent.category.DEFAULT" />
514+
</intent-filter>
515+
</activity-alias>
487516

517+
<activity-alias
518+
android:name=".Notes"
519+
android:label="@string/appNameNotes"
520+
android:icon="@mipmap/ic_launcher_notes"
521+
android:enabled="false"
522+
android:targetActivity="org.thoughtcrime.securesms.home.HomeActivity"
523+
android:exported="true">
524+
<intent-filter>
525+
<action android:name="android.intent.action.MAIN" />
526+
<category android:name="android.intent.category.LAUNCHER" />
527+
<category android:name="android.intent.category.DEFAULT" />
528+
</intent-filter>
529+
</activity-alias>
530+
531+
<activity-alias
532+
android:name=".Stocks"
533+
android:label="@string/appNameStocks"
534+
android:icon="@mipmap/ic_launcher_stocks"
535+
android:enabled="false"
536+
android:targetActivity="org.thoughtcrime.securesms.home.HomeActivity"
537+
android:exported="true">
538+
<intent-filter>
539+
<action android:name="android.intent.action.MAIN" />
540+
<category android:name="android.intent.category.LAUNCHER" />
541+
<category android:name="android.intent.category.DEFAULT" />
542+
</intent-filter>
543+
</activity-alias>
544+
545+
<activity-alias
546+
android:name=".Weather"
547+
android:label="@string/appNameWeather"
548+
android:icon="@mipmap/ic_launcher_weather"
549+
android:enabled="false"
550+
android:targetActivity="org.thoughtcrime.securesms.home.HomeActivity"
551+
android:exported="true">
552+
<intent-filter>
553+
<action android:name="android.intent.action.MAIN" />
554+
<category android:name="android.intent.category.LAUNCHER" />
555+
<category android:name="android.intent.category.DEFAULT" />
556+
</intent-filter>
557+
</activity-alias>
488558
</application>
489559

490560
</manifest>

0 commit comments

Comments
 (0)