{"id":18857545,"url":"https://github.com/fasky-software/react-native-appgallery","last_synced_at":"2025-09-17T21:18:17.769Z","repository":{"id":182545261,"uuid":"465462308","full_name":"fasky-software/react-native-appgallery","owner":"fasky-software","description":"A tiny library to support Huawei AppGallery in-app rating/commenting for React-Native ⭐️","archived":false,"fork":false,"pushed_at":"2022-03-06T14:05:38.000Z","size":953,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T11:48:26.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fasky-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-02T20:39:58.000Z","updated_at":"2022-09-23T03:46:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"e787ec99-8b1b-4133-ac41-42154b9fa16c","html_url":"https://github.com/fasky-software/react-native-appgallery","commit_stats":null,"previous_names":["fasky-software/react-native-appgallery"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fasky-software/react-native-appgallery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasky-software%2Freact-native-appgallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasky-software%2Freact-native-appgallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasky-software%2Freact-native-appgallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasky-software%2Freact-native-appgallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fasky-software","download_url":"https://codeload.github.com/fasky-software/react-native-appgallery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasky-software%2Freact-native-appgallery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275665630,"owners_count":25506158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T04:06:57.887Z","updated_at":"2025-09-17T21:18:17.729Z","avatar_url":"https://github.com/fasky-software.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/fasky-software/react-native-appgallery/main/assets/logod.svg\" width=\"110\" height=\"110\"/\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n# react-native-appgallery\n![GitHub package.json version](https://img.shields.io/github/package-json/v/fasky-software/react-native-appgallery.svg)\n[![GitHub license](https://img.shields.io/github/license/fasky-software/react-native-appgallery.svg)](https://github.com/sultan99/react-on-lambda/blob/master/LICENSE)\n\n\u003e A tiny library to support Huawei AppGallery in-app rating/commenting for React-Native\n\n\u003c/br\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/fasky-software/react-native-appgallery/main/assets/rate.png\"/\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\nWith this library you can open the native AppGallery in-app rating popup to allow an smooth rating/feedback process for your users.\n\n\n## Installation\n\n```sh\nnpm install react-native-appgallery\n```\n\n## Usage\n\n```ts\nimport { rate } from \"react-native-appgallery\";\n\nconst result = await rate();\n```\n\n## Result\n\nThe function `rate` will throw an exception if AppGallery is not installed\n\n| Code | Name                             | Description                                                                                                          |\n|------|----------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| 0    | UNKNOWN_ERROR                    | Unknown error.                                                                                                       |\n| 101  | APP_NOT_RELEASED                 | The app has not been released on AppGallery.                                                                         |\n| 102  | RATING_SUBMITTED                 | Rating submitted.                                                                                                    |\n| 103  | COMMENT_SUBMITTED                | Comment submitted.                                                                                                   |\n| 104  | HUAWEI_ID_SIGN_IN_STATUS_INVALID | The HUAWEI ID sign-in status is invalid.                                                                             |\n| 105  | USER_NOT_MEET_CONDITIONS         | The user does not meet the conditions for displaying the comment pop-up.                                             |\n| 106  | COMMENT_DISABLED                 | The commenting function is disabled.                                                                                 |\n| 107  | NOT_SUPPORTED                    | The in-app commenting service is not supported. (Apps released in the Chinese mainland do not support this service.) |\n| 108  | CANCELLED                        | The user canceled the comment.                                                                                       |\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasky-software%2Freact-native-appgallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffasky-software%2Freact-native-appgallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasky-software%2Freact-native-appgallery/lists"}