changes to enter the app when servise is not available, rollback themgit status

This commit is contained in:
2020-11-13 20:45:47 +03:00
parent 1fac25037e
commit 451d892709
3 changed files with 6 additions and 2 deletions

View File

@@ -22,8 +22,8 @@ android {
applicationId "ch.pizzalemon.android"
minSdkVersion 16
targetSdkVersion 29
versionCode 15 // play store'daki version --> canlı: 0 - dahili test: 17
versionName "1.25" // play store'daki version --> canlı: 0.00 - dahili test: 1.17
versionCode 20 // play store'daki version --> canlı: 0 - dahili test: 17
versionName "2.00" // play store'daki version --> canlı: 0.00 - dahili test: 1.17
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
multiDexEnabled true
manifestPlaceholders = [

View File

@@ -121,6 +121,7 @@ public class SplashActivity extends BaseActivity {
else {
DialogHelper.hideLoadingDialog();
ApiErrorUtils.parseError(response);
getStoreList();
}
}
@@ -128,6 +129,7 @@ public class SplashActivity extends BaseActivity {
public void onFailure(Call<ResponseObject<String>> call, Throwable t) {
DialogHelper.hideLoadingDialog();
DialogHelper.showFailedDialog();
getStoreList();
}
});
}
@@ -266,6 +268,7 @@ public class SplashActivity extends BaseActivity {
else{
DialogHelper.hideLoadingDialog();
ApiErrorUtils.parseError(response);
getCategoryList();
}
}
@@ -273,6 +276,7 @@ public class SplashActivity extends BaseActivity {
public void onFailure(Call<ResponseObject<WelcomeMessageModel>> call, Throwable t) {
DialogHelper.hideLoadingDialog();
DialogHelper.showFailedDialog();
getCategoryList();
}
});
}