Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96d37007fb |
No files matched your search
@@ -30,8 +30,8 @@ android {
|
|||||||
applicationId = "com.oqba26.monthlypaymentapp"
|
applicationId = "com.oqba26.monthlypaymentapp"
|
||||||
minSdk = 25
|
minSdk = 25
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 1
|
versionCode = 3
|
||||||
versionName = "1.0"
|
versionName = "1.0.2"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables { useSupportLibrary = true }
|
vectorDrawables { useSupportLibrary = true }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -164,17 +164,24 @@ fun MainAppHost(viewModel: PersonViewModel) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
LaunchedEffect(Unit) {
|
LaunchedEffect(Unit) {
|
||||||
delay(2000.milliseconds)
|
|
||||||
updateInfo = updateManager.checkForUpdate()
|
|
||||||
|
|
||||||
val allGranted = requiredPermissions.all {
|
val allGranted = requiredPermissions.all {
|
||||||
ContextCompat.checkSelfPermission(context, it) == PackageManager.PERMISSION_GRANTED
|
ContextCompat.checkSelfPermission(context, it) == PackageManager.PERMISSION_GRANTED
|
||||||
}
|
}
|
||||||
if (!allGranted) {
|
if (!allGranted) {
|
||||||
|
delay(2000.milliseconds)
|
||||||
showPermissionsDialog = true
|
showPermissionsDialog = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LaunchedEffect(authState) {
|
||||||
|
if (authState is AuthState.Authenticated) {
|
||||||
|
delay(2000.milliseconds)
|
||||||
|
updateInfo = updateManager.checkForUpdate()
|
||||||
|
} else {
|
||||||
|
updateInfo = null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
LaunchedEffect(Unit) {
|
LaunchedEffect(Unit) {
|
||||||
launch {
|
launch {
|
||||||
viewModel.toastMessage.collect { message ->
|
viewModel.toastMessage.collect { message ->
|
||||||
|
|||||||
+4
-4
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"versionCode": 2,
|
"versionCode": 3,
|
||||||
"versionName": "1.0.1",
|
"versionName": "1.0.2",
|
||||||
"url": "https://github.com/oqba26/MonthlyPaymentApp/releases/download/v1.0.1/MonthlyPaymentApp-v1.0.1.apk",
|
"url": "https://github.com/oqba26/MonthlyPaymentApp/releases/download/v1.0.2/MonthlyPaymentApp-v1.0.2.apk",
|
||||||
"releaseNotes": "اصلاحات اخیر:\n- رفع تداخل در مهاجرت دیتابیس Room.\n- مرتبسازی تبها و بهبود چیدمان.\n- شخصیسازی عناوین برای صفحات آرشیو، تنظیمات و مسجد.",
|
"releaseNotes": "بهروزرسانی به نسخه ۱.۰.۲:\n- رفع مشکل چرخه بیانتهای آپدیت.\n- هماهنگسازی نسخههای بیلد و فایل تنظیمات سرور.",
|
||||||
"isForceUpdate": true
|
"isForceUpdate": true
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user