Remove some app integration errors
This commit is contained in:
parent
30329ea3ba
commit
b40880c85a
@ -86,7 +86,7 @@ class MobileAppIntegrationManager {
|
|||||||
registrationData = null;
|
registrationData = null;
|
||||||
}
|
}
|
||||||
if (registrationData == null || registrationData.isEmpty) {
|
if (registrationData == null || registrationData.isEmpty) {
|
||||||
Logger.e("No registration data in response. MobileApp integration was removed or broken");
|
Logger.w("No registration data in response. MobileApp integration was removed or broken");
|
||||||
_askToRegisterApp();
|
_askToRegisterApp();
|
||||||
} else {
|
} else {
|
||||||
if (INTEGRATION_VERSION > ConnectionManager().appIntegrationVersion) {
|
if (INTEGRATION_VERSION > ConnectionManager().appIntegrationVersion) {
|
||||||
@ -99,10 +99,10 @@ class MobileAppIntegrationManager {
|
|||||||
completer.complete();
|
completer.complete();
|
||||||
}).catchError((e) {
|
}).catchError((e) {
|
||||||
if (e is http.Response && e.statusCode == 410) {
|
if (e is http.Response && e.statusCode == 410) {
|
||||||
Logger.e("MobileApp integration was removed", skipCrashlytics: true);
|
Logger.w("MobileApp integration was removed");
|
||||||
_askToRegisterApp();
|
_askToRegisterApp();
|
||||||
} else {
|
} else {
|
||||||
Logger.e("Error updating app registration: $e");
|
Logger.w("Error updating app registration: $e");
|
||||||
_showError();
|
_showError();
|
||||||
}
|
}
|
||||||
completer.complete();
|
completer.complete();
|
||||||
|
Reference in New Issue
Block a user