changes to enter the app when servise is not available, rollback themgit status
This commit is contained in:
BIN
.idea/caches/build_file_checksums.ser
generated
BIN
.idea/caches/build_file_checksums.ser
generated
Binary file not shown.
@@ -22,8 +22,8 @@ android {
|
|||||||
applicationId "ch.pizzalemon.android"
|
applicationId "ch.pizzalemon.android"
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 15 // play store'daki version --> canlı: 0 - dahili test: 17
|
versionCode 20 // play store'daki version --> canlı: 0 - dahili test: 17
|
||||||
versionName "1.25" // play store'daki version --> canlı: 0.00 - dahili test: 1.17
|
versionName "2.00" // play store'daki version --> canlı: 0.00 - dahili test: 1.17
|
||||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ public class SplashActivity extends BaseActivity {
|
|||||||
else {
|
else {
|
||||||
DialogHelper.hideLoadingDialog();
|
DialogHelper.hideLoadingDialog();
|
||||||
ApiErrorUtils.parseError(response);
|
ApiErrorUtils.parseError(response);
|
||||||
|
getStoreList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -128,6 +129,7 @@ public class SplashActivity extends BaseActivity {
|
|||||||
public void onFailure(Call<ResponseObject<String>> call, Throwable t) {
|
public void onFailure(Call<ResponseObject<String>> call, Throwable t) {
|
||||||
DialogHelper.hideLoadingDialog();
|
DialogHelper.hideLoadingDialog();
|
||||||
DialogHelper.showFailedDialog();
|
DialogHelper.showFailedDialog();
|
||||||
|
getStoreList();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -266,6 +268,7 @@ public class SplashActivity extends BaseActivity {
|
|||||||
else{
|
else{
|
||||||
DialogHelper.hideLoadingDialog();
|
DialogHelper.hideLoadingDialog();
|
||||||
ApiErrorUtils.parseError(response);
|
ApiErrorUtils.parseError(response);
|
||||||
|
getCategoryList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -273,6 +276,7 @@ public class SplashActivity extends BaseActivity {
|
|||||||
public void onFailure(Call<ResponseObject<WelcomeMessageModel>> call, Throwable t) {
|
public void onFailure(Call<ResponseObject<WelcomeMessageModel>> call, Throwable t) {
|
||||||
DialogHelper.hideLoadingDialog();
|
DialogHelper.hideLoadingDialog();
|
||||||
DialogHelper.showFailedDialog();
|
DialogHelper.showFailedDialog();
|
||||||
|
getCategoryList();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user