diff --git a/androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher.xml b/androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher.xml index 036d09bc5..1c76cd711 100644 --- a/androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,4 +1,13 @@ + diff --git a/androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher_round.xml b/androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher_round.xml index 036d09bc5..1c76cd711 100644 --- a/androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,4 +1,13 @@ + diff --git a/androidApp/src/main/res/values-ar/strings.xml b/androidApp/src/main/res/values-ar/strings.xml index fc9dfe802..9db4473a2 100644 --- a/androidApp/src/main/res/values-ar/strings.xml +++ b/androidApp/src/main/res/values-ar/strings.xml @@ -10,6 +10,8 @@ --> ميفوس موبايل + كلمة مرور جديدة + غيير كلمة مرور الحساب تسجيل الدخول %1$s أهلا بك غير متصل بالإنترنت diff --git a/androidApp/src/main/res/values-bn/strings.xml b/androidApp/src/main/res/values-bn/strings.xml index 3b469b8fc..d5e08baab 100644 --- a/androidApp/src/main/res/values-bn/strings.xml +++ b/androidApp/src/main/res/values-bn/strings.xml @@ -10,6 +10,8 @@ --> লগ ইন করুন + নতুন পাসওয়ার্ড + অ্যাকাউন্ট পাসওয়ার্ড পরিবর্তন করুন হ্যালো, %1$s। কোন ইন্টারনেট সংযোগ নেই প্রাথমিক diff --git a/androidApp/src/main/res/values-es/strings.xml b/androidApp/src/main/res/values-es/strings.xml index 10af9cd67..e0ce66a67 100644 --- a/androidApp/src/main/res/values-es/strings.xml +++ b/androidApp/src/main/res/values-es/strings.xml @@ -10,6 +10,8 @@ --> Iniciar sesión + Nueva contraseña + Cambiar la contraseña de la cuenta Hola, %1$s. Falta conexión internet Primario diff --git a/androidApp/src/main/res/values-fr/strings.xml b/androidApp/src/main/res/values-fr/strings.xml index eb067a45d..86b867705 100644 --- a/androidApp/src/main/res/values-fr/strings.xml +++ b/androidApp/src/main/res/values-fr/strings.xml @@ -10,6 +10,8 @@ --> Se connecter + Nouveau mot de passe + Changer le mot de passe du compte Bonjour, %1$s. Pas de connexion internet Primaire diff --git a/androidApp/src/main/res/values-in/strings.xml b/androidApp/src/main/res/values-in/strings.xml index 95b39ad04..91f1e974e 100644 --- a/androidApp/src/main/res/values-in/strings.xml +++ b/androidApp/src/main/res/values-in/strings.xml @@ -10,6 +10,8 @@ --> Masuk + Kata sandi baru + Ubah kata sandi akun Halo, %1$s. Tidak ada koneksi internet Primer diff --git a/androidApp/src/main/res/values-km/strings.xml b/androidApp/src/main/res/values-km/strings.xml index 839a28e33..98a1fc7b6 100644 --- a/androidApp/src/main/res/values-km/strings.xml +++ b/androidApp/src/main/res/values-km/strings.xml @@ -9,6 +9,8 @@ See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md --> + ពាក្យសម្ងាត់ថ្មី + ប្តូរពាក្យសម្ងាត់គណនី ចូល សួស្តី, %1$s ។ គ្មានការតភ្ជាប់អ៊ីនធឺណិត diff --git a/androidApp/src/main/res/values-kn/strings.xml b/androidApp/src/main/res/values-kn/strings.xml index 47c9e6fb7..e2e5f1c09 100644 --- a/androidApp/src/main/res/values-kn/strings.xml +++ b/androidApp/src/main/res/values-kn/strings.xml @@ -10,6 +10,8 @@ --> ಲಾಗ್ ಇನ್ ಮಾಡಿ + ಹೊಸ ಪಾಸ್‌ವರ್ಡ್ + ಖಾತೆ ಪಾಸ್‌ವರ್ಡ್ ಬದಲಾಯಿಸಿ ಹಲೋ, %1$s. ಇಂಟರ್ನೆಟ್ ಸಂಪರ್ಕವಿಲ್ಲ ಪ್ರಾಥಮಿಕ diff --git a/androidApp/src/main/res/values-my/strings.xml b/androidApp/src/main/res/values-my/strings.xml index ac34907d1..54f3dca07 100644 --- a/androidApp/src/main/res/values-my/strings.xml +++ b/androidApp/src/main/res/values-my/strings.xml @@ -10,7 +10,9 @@ --> Mifos မိုဘိုင်း + စကားဝှက်အသစ် လော့ဂ်အင် + အကောင့်စကားဝှက်ပြောင် း ပါ %1$s ကိုမှလှိုက်လှဲစွာကြိုဆိုပါသည် အင်တာနက်ချိတ်ဆက်မ အခြေခံပညာ diff --git a/androidApp/src/main/res/values-pl/strings.xml b/androidApp/src/main/res/values-pl/strings.xml index d2dd4bbbb..a34492ed5 100644 --- a/androidApp/src/main/res/values-pl/strings.xml +++ b/androidApp/src/main/res/values-pl/strings.xml @@ -10,6 +10,8 @@ --> Zaloguj Się + Nowe hasło + Zmień hasło do konta Witaj, %1$s. Brak połączenia z Internetem Podstawowy diff --git a/androidApp/src/main/res/values-pt/strings.xml b/androidApp/src/main/res/values-pt/strings.xml index 80ec682fd..3f6b4d8db 100644 --- a/androidApp/src/main/res/values-pt/strings.xml +++ b/androidApp/src/main/res/values-pt/strings.xml @@ -10,6 +10,8 @@ --> Mifos Mobile + Nova senha + Alterar senha da conta Entrar Bem-vindo %1$s Não conectado à internet diff --git a/androidApp/src/main/res/values-ru/strings.xml b/androidApp/src/main/res/values-ru/strings.xml index 655eba2f7..d6158e522 100644 --- a/androidApp/src/main/res/values-ru/strings.xml +++ b/androidApp/src/main/res/values-ru/strings.xml @@ -10,6 +10,8 @@ --> Вход + Новый пароль + Изменить пароль учетной записи Здравствуйте, %1$s. Нет подключения к интернету Первичный diff --git a/androidApp/src/main/res/values-sw/strings.xml b/androidApp/src/main/res/values-sw/strings.xml index 075d11734..73674432e 100644 --- a/androidApp/src/main/res/values-sw/strings.xml +++ b/androidApp/src/main/res/values-sw/strings.xml @@ -10,6 +10,8 @@ --> Ingia + Nenosiri la akaunti + Badilisha nenosiri la akaunti Sawadi, %1$s. Hakuna uhusiano wa internet Msingi diff --git a/androidApp/src/main/res/values-te/strings.xml b/androidApp/src/main/res/values-te/strings.xml index 979e447fc..770abcfab 100644 --- a/androidApp/src/main/res/values-te/strings.xml +++ b/androidApp/src/main/res/values-te/strings.xml @@ -11,6 +11,8 @@ Mifos Mobile లాగిన్ + కొత్త పాస్‌వర్డ్ + ాతా పాస్‌వర్డ్ మార్చండి స్వాగతం %1$s మా గురించి ఇంటర్నెట్కి కనెక్ట్ చేయబడలేదు diff --git a/androidApp/src/main/res/values-ur/strings.xml b/androidApp/src/main/res/values-ur/strings.xml index 0ddd267dd..48f36eca9 100644 --- a/androidApp/src/main/res/values-ur/strings.xml +++ b/androidApp/src/main/res/values-ur/strings.xml @@ -11,6 +11,8 @@ Mifos موبائل لاگ ان کریں + نیا پاس ورڈ + اکاؤنٹ پاس ورڈ تبدیل کریں خوش آمدید %1$s انٹرنیٹ سے منسلک نہیں بنیادی diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml index 76b091c42..fc89c6f00 100644 --- a/androidApp/src/main/res/values/strings.xml +++ b/androidApp/src/main/res/values/strings.xml @@ -9,6 +9,9 @@ See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md --> + Change Account Password + New Password + Current Password Mifos Mobile Login Welcome %1$s @@ -609,6 +612,26 @@ فارسی + + How to apply for a new account? + Where can I view my profile information? + Where can I see my savings account transactions? + What is the use of a QR code? + How to create a beneficiary using a QR code? + How to make a payment for a loan account? + + + + To apply for a loan account, click on "Report loan application" on the home screen. + You can view your profile information by clicking on the profile picture on the main page of the application. + To view transactions in your savings account, go to the Accounts section, click on the required savings account, click on the + three dots present in the upper right corner and select the Transaction option. + The QR code of all loan or savings accounts can be shared with other users which will allow them to create a beneficiary. + To create a beneficiary, go to the beneficiary on the main page of the application, then click on the button in the lower right corner, select the scan option which will open the camera + of the device, scan the QR code of the person for whom you want to create a beneficiary, after filling in the required data, create beneficiaries using the QR code. + To make a payment for a loan account, go to the Accounts section, select the LOAN option, open the target loan account and click on the Make a payment option. + + System_Language en diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index f486f8184..497082145 100644 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -828,7 +828,7 @@ style: active: false ReturnCount: active: true - max: 2 + max: 4 excludedFunctions: - "equals" excludeLabeled: false diff --git a/core/common/build.gradle.kts b/core/common/build.gradle.kts index fb4ec9a35..1442d9990 100644 --- a/core/common/build.gradle.kts +++ b/core/common/build.gradle.kts @@ -14,8 +14,14 @@ plugins { android { namespace = "org.mifos.mobile.core.common" + + lint { + disable.add( "NullSafeMutableLiveData" ) + } + } dependencies { + implementation(libs.androidx.preference.ktx) } \ No newline at end of file diff --git a/core/common/src/main/java/org/mifos/mobile/core/common/utils/ParcelableAndSerializableUtils.kt b/core/common/src/main/java/org/mifos/mobile/core/common/utils/ParcelableAndSerializableUtils.kt index 9def51789..f588a471e 100644 --- a/core/common/src/main/java/org/mifos/mobile/core/common/utils/ParcelableAndSerializableUtils.kt +++ b/core/common/src/main/java/org/mifos/mobile/core/common/utils/ParcelableAndSerializableUtils.kt @@ -19,6 +19,7 @@ object ParcelableAndSerializableUtils { return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { this.getParcelableArrayList(key, classType) } else { + @Suppress("DEPRECATION") this.getParcelableArrayList(key) } } @@ -27,6 +28,7 @@ object ParcelableAndSerializableUtils { return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { this.getParcelable(key, classType) } else { + @Suppress("DEPRECATION") this.getParcelable(key) } } @@ -35,6 +37,7 @@ object ParcelableAndSerializableUtils { return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { this.getSerializable(key, classType) } else { + @Suppress("DEPRECATION") this.getSerializable(key) } } diff --git a/core/common/src/main/java/org/mifos/mobile/core/common/utils/Utils.kt b/core/common/src/main/java/org/mifos/mobile/core/common/utils/Utils.kt index 20586025f..440aec9e9 100644 --- a/core/common/src/main/java/org/mifos/mobile/core/common/utils/Utils.kt +++ b/core/common/src/main/java/org/mifos/mobile/core/common/utils/Utils.kt @@ -37,6 +37,7 @@ object Utils { val drawable = menu.getItem(i).icon if (drawable != null) { drawable.mutate() + @Suppress("DEPRECATION") drawable.setColorFilter( ContextCompat.getColor(context!!, color), PorterDuff.Mode.SRC_IN, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8804ad1ea..958e7817d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -114,6 +114,8 @@ jbSavedState = "1.2.2" packageName = "MifosWallet" packageNamespace = "org.mifos.desktop" packageVersion = "1.0.0" +preferenceKtxVersion = "1.2.1" +annotationJvmVersion = "1.9.1" [libraries] accompanist-pager = { group = "com.google.accompanist", name = "accompanist-pager", version.ref = "accompanistVersion" } @@ -312,6 +314,8 @@ moko-permission = { group = "dev.icerock.moko", name = "permissions", version.re moko-permission-compose = { group = "dev.icerock.moko", name = "permissions-compose", version.ref = "mokoPermission" } window-size = { group = "dev.chrisbanes.material3", name = "material3-window-size-class-multiplatform", version.ref = "windowsSizeClass" } +androidx-preference-ktx = { group = "androidx.preference", name = "preference-ktx", version.ref = "preferenceKtxVersion" } +androidx-annotation-jvm = { group = "androidx.annotation", name = "annotation-jvm", version.ref = "annotationJvmVersion" } [bundles] androidx-compose-ui-test = [