changes to enter the app when servise is not available, rollback themgit status
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user