How to cancel Huawei AppGallery subscription with HMS API?
My app was rejected from AppGallery with the following reason:
Issue 2:
Your app provides an auto-renewal service but does not offer a simple and convenient way for users to unsubscribe from the service within the app, which may harm user rights and interests and does not comply with relevant laws and regulations.
Suggestion:
The steps for unsubscribing from auto-renewal should be simple and convenient, and no unreasonable conditions should be set. For example, the app should ensure that users can directly complete the unsubscription within the app without being redirected to a third-party app; users should not need to submit sensitive information (such as ID card) to complete the unsubscription.
You can refer to item 6.2 in the Review Guidelines: https://developer.huawei.com/consumer/en/doc/app/50104-06
For FAQs about the auto-renewal service in your app, please refer to:
https://developer.huawei.com/consumer/en/doc/app/50166
I don't see any cancelPurchase(...) or similar in Huawei IAP client.
How can i do it? Any other SDK provided?