mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-04 00:26:15 +00:00
* minimal implementation of notifications and broken framework for background check for messages * linting and need different id to have multiple messages * working notification on new messages * add autocancel to notifications * add rudimentary linking to chat from notification * group notifications from the same chat * clarify comment * revert to working version * refactor * minors * two channels, silent and shouty * rudimentary state control for notifications * check if running in foreground * more elegant solution to don't notify if in chat * tidy up DisposableEffect use * change message notification priority to high * nuke opt-ins * navigation via notification occasionally works with race condition (WIP) * notification navigation is working; remove chat list/view from navigation; refactor ChatListNavLinkView * group all simplex notifications, only show the latest message per chat, notification icons * increase time to 30 sec Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
27 lines
909 B
Groovy
27 lines
909 B
Groovy
buildscript {
|
|
ext {
|
|
compose_version = '1.1.0'
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.1.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:1.3.2"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
plugins {
|
|
id 'com.android.application' version '7.1.2' apply false
|
|
id 'com.android.library' version '7.1.2' apply false
|
|
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
|
|
id 'org.jetbrains.kotlin.plugin.serialization' version '1.6.10'
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |