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
// Check table for errors and code number that can return in catch.
194
198
console.log(error);
195
199
});
200
+
196
201
```
197
202
198
-
# Error could happen and code number
203
+
# Huawei In-App Comment (App Gallery Review)
204
+
205
+
Before You Start
206
+
- First of all, you must integrate HMS into the project. I am not going to explain these steps You can check [this article](https://medium.com/huawei-developers/android-integrating-your-apps-with-huawei-hms-core-1f1e2a090e98).
207
+
- You have released your app officially on AppGallery.
208
+
- Users have installed AppGallery 11.3.2.302 or later and signed in using HUAWEI IDs.
209
+
210
+
211
+
```javascript
212
+
// trigger UI in app comment to request review for App Gallery;
213
+
InAppReview.requestInAppCommentAppGallery()
214
+
.then((resultCode) => {
215
+
// when return resultCode (102,103) in android it means Rating submitted or Comment submitted
|[DYNAMIC ERROR NAME]| 23 | Unexpected error occur may return different error from different user and device check code number to get discovered errors messages that could be happen. | ❌ | ✅ |
| Ensure that your app has been correctly released on AppGallery | 101 | Ensure that your app has been correctly released on AppGallery | ✅ |
243
+
| check the HUAWEI ID sign-in status | 104 | check the HUAWEI ID sign-in status | ✅ |
244
+
| The user does not meet the conditions for displaying the comment pop-up | 105 | The user does not meet the conditions for displaying the comment pop-up | ✅ |
245
+
| The commenting function is disabled | 106 | The commenting function is disabled | ✅ |
246
+
| The in-app commenting service is not supported. (Apps released in the Chinese mainland do not support this service.) | 107 | The in-app commenting service is not supported. (Apps released in the Chinese mainland do not support this service.) | ✅ |
247
+
| The user canceled the comment. | 108 | The user canceled the comment. | ✅ |
After publishing you app to test your integration in production or either internal test tracks or internal app sharing and prompt in app review flow you may face issue that not showing review popup after you followed all guidelines very well,
213
259
**Note that this issue was classified as google play api issue.**
@@ -244,8 +290,13 @@ In-app reviews only work on the following devices:
244
290
# Please Note, To test your integration using the Google Play Store
245
291
246
292
- In-app reviews require your app to be published in Play Store. However, you can test your integration without publishing your app to production using either internal test tracks or internal app sharing.
293
+
294
+
# Please Note, To test your integration using the App Gallery Store
295
+
- If your app has been released on AppGallery, you need to release an open testing version for it and then perform the testing.
296
+
- If your app has not been released on AppGallery, you need to release an open testing version for it and then perform the testing. Otherwise, app authentication will fail.
247
297
248
-
# Troubleshooting:
298
+
299
+
# Troubleshooting (Google Play):
249
300
250
301
As you integrate and test in-app reviews, you might run into some issues. The following table outlines the most common issues that can prevent the in-app review dialog from displaying in your app:
251
302
@@ -259,6 +310,19 @@ As you integrate and test in-app reviews, you might run into some issues. The fo
259
310
| The quota has been reached. | Use an internal test track or internal app sharing. |
260
311
| There is an issue with the Google Play Store or Google Play Services on the device. | This commonly occurs when the Play Store was sideloaded onto the device. Use a different device that has a valid version of the Play Store and Google Play Services. |
261
312
313
+
---
314
+
315
+
# Troubleshooting (App Gallery):
316
+
317
+
Device Restrictions
318
+
- Users must have installed AppGallery 11.3.2.302 or later.
319
+
- Users must have installed HMS Core (APK) on their devices.
| Applicable scope | The in-app comments function is available only for apps released on AppGallery outside the Chinese mainland. |
324
+
| Audiences | - The in-app comment pop-up is displayed only for users who have signed in to AppGallery using HUAWEI IDs. <br/> - The in-app comment pop-up is displayed only for users who have opened your app for 10 or more times within the last three months since you have called the in-app comments API <br/> - If the user has submitted a rating and a comment for the current app version, the in-app comment pop-up will not be displayed for the user in this app version. The in-app comment pop-up will be displayed again only after the user updates the app to a later version, has not submitted a rating and a comment for more than a calendar year, and the preceding conditions for displaying the pop-up are met. <br/> - If a user chooses not to receive any app comment notifications under Me > Settings on AppGallery, the pop-up will not be displayed for the user. |
0 commit comments