You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
console.log(`[CodePush] Api calls are disabled, skipping queryUpdateWithCurrentPackage`);
97
+
return;
98
+
}
99
+
95
100
if(!currentPackage||!currentPackage.appVersion){
96
101
thrownewCodePushPackageError("Calling common acquisition SDK with incorrect package");// Unexpected; indicates error in our implementation
97
102
}
@@ -115,7 +120,7 @@ export class AcquisitionManager {
115
120
116
121
if(response.statusCode!==200){
117
122
leterrorMessage: any;
118
-
this.disableApiCalls(response.statusCode)
123
+
this.handleRequestFailure(response.statusCode)
119
124
if(response.statusCode===0){
120
125
errorMessage=`Couldn't send request to ${requestUrl}, xhr.statusCode = 0 was returned. One of the possible reasons for that might be connection problems. Please, check your internet connection.`;
121
126
}else{
@@ -159,7 +164,11 @@ export class AcquisitionManager {
0 commit comments