diff --git a/.reall_network/changelog.txt b/.reall_network/changelog.txt index 55c999c3..1b6dbf0e 100644 --- a/.reall_network/changelog.txt +++ b/.reall_network/changelog.txt @@ -1,7 +1,7 @@ -- Support Android 12 +- Support Android 13 -- Fix scan code bug +- Fix the bug that the background process is suddenly killed -- Remove SIM card status monitoring function +- Update dependency version -- Fix the bug that the background process is suddenly killed +- Add Cantonese translation diff --git a/README.md b/README.md index 2f5a4d7f..13a914a5 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,8 @@ I would also like to thank the following people for their hard work to localise - Chinese(Traditional) - [@lm902](https://github.com/lm902) - [@孟武尼德霍格龍](https://github.com/tony8077616) +- Cantonese (Simp./Trad.) (Remember: these translations are only available when the locale is set/fallbacked to 粵語(香港)or 粤语(中华人民共和国) ) + - [@ous50](https://github.com/ous50) This APP uses the following public DNS service: diff --git a/app/build.gradle b/app/build.gradle index 1aff7cac..509f1998 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,11 +1,11 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { - compileSdkVersion 32 + compileSdk 33 defaultConfig { applicationId "com.qwe7002.telegram_sms" minSdkVersion 22 - targetSdkVersion 32 + targetSdk 33 versionCode System.getenv("VERSION_CODE") == null ? 1 : System.getenv("VERSION_CODE").toInteger() versionName System.getenv("VERSION_NAME") == null ? "Debug": System.getenv("VERSION_NAME").toString() ndk{ @@ -37,19 +37,19 @@ android { } dependencies { - implementation 'androidx.appcompat:appcompat:1.4.1' + implementation 'androidx.appcompat:appcompat:1.4.2' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'com.google.android.material:material:1.6.1' implementation 'androidx.browser:browser:1.4.0' - implementation 'com.squareup.okio:okio:3.0.0-alpha.9' + implementation 'com.squareup.okio:okio:3.2.0' implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.2' implementation 'com.squareup.okhttp3:okhttp-dnsoverhttps:5.0.0-alpha.2' implementation 'org.conscrypt:conscrypt-android:2.5.2' - implementation 'com.google.code.gson:gson:2.8.9' - implementation 'io.github.pilgr:paperdb:2.7.1' + implementation 'com.google.code.gson:gson:2.9.0' + implementation 'io.github.pilgr:paperdb:2.7.2' implementation 'com.github.yuriy-budiyev:code-scanner:2.1.0' - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21' + implementation 'androidx.core:core-ktx:1.8.0' + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10' } task copy_language_pack(type: Copy) { diff --git a/app/language_pack b/app/language_pack index 114d77df..f9b7f3ff 160000 --- a/app/language_pack +++ b/app/language_pack @@ -1 +1 @@ -Subproject commit 114d77df83105d22351cb5f4248f233a125bd30d +Subproject commit f9b7f3ffaa1f8209d32916dd75a065874f21150d diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0aed0e42..808c0dd3 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -27,6 +27,7 @@ android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:networkSecurityConfig="@xml/network_security_config" + android:localeConfig="@xml/locale_config" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" diff --git a/app/src/main/res/xml/locale_config.xml b/app/src/main/res/xml/locale_config.xml new file mode 100644 index 00000000..88c2e1d9 --- /dev/null +++ b/app/src/main/res/xml/locale_config.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/build.gradle b/build.gradle index 55aeb143..e3f74716 100644 --- a/build.gradle +++ b/build.gradle @@ -8,8 +8,8 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.1.3' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21" + classpath 'com.android.tools.build:gradle:7.2.1' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10" } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 7b8a3c79..ed35b4ca 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Jul 14 23:01:04 CST 2020 +#Thu Jun 30 21:14:53 HKT 2022 distributionBase=GRADLE_USER_HOME +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip +zipStoreBase=GRADLE_USER_HOME