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
rejectPromise("104", newError("check the HUAWEI ID sign-in status"));
157
+
rejectPromiseHMS("104", newError("check the HUAWEI ID sign-in status"));
149
158
// Prompt the user to check the HUAWEI ID sign-in status.
150
159
Log.e("huawei_errorrr1 check the HUAWEI ID sign-in status", "");
151
160
} elseif (resultCode == 105) {
152
-
rejectPromise("105", newError("The user does not meet the conditions for displaying the comment pop-up"));
161
+
rejectPromiseHMS("105", newError("The user does not meet the conditions for displaying the comment pop-up"));
153
162
Log.e("huawei_errorrr1 The user does not meet the conditions for displaying the comment pop-up", "");
154
163
} elseif (resultCode == 106){
155
-
rejectPromise("106", newError("The commenting function is disabled"));
164
+
rejectPromiseHMS("106", newError("The commenting function is disabled"));
156
165
Log.e(" huawei_errorrr1 The commenting function is disabled", "disabled");
157
166
} elseif (resultCode == 107){
158
-
rejectPromise("107", newError("The in-app commenting service is not supported. (Apps released in the Chinese mainland do not support this service.)"));
167
+
rejectPromiseHMS("107", newError("The in-app commenting service is not supported. (Apps released in the Chinese mainland do not support this service.)"));
159
168
Log.e("huawei_errorrr1 The in-app commenting service is not supported. (Apps released in the Chinese mainland do not support this service.)", "in-app commenting service is not supported");
160
169
} elseif (resultCode == 108){
161
-
rejectPromise("108", newError("The user canceled the comment"));
170
+
rejectPromiseHMS("108", newError("The user canceled the comment"));
162
171
Log.e("huawei_errorrr1 The user canceled the comment.", "user canceled");
0 commit comments