androidhuawei-mobile-services

Is there an equivalent for In-App Review for Huawei services


I just implemented the In - App Review SDK for my application. But this will work on devices that have Google services as I understand it.

Is there an equivalent to In - App review for Huawei devices without Google services or in this case should I invite the user to rate the app through a link to the App Gallery?


Solution

  • Huawei has their own solution for in-app reviews targeting the huawei app gallery, which can be triggered for released apps this way:

    val intent = Intent("com.huawei.appmarket.intent.action.guidecomment")
    intent.setPackage("com.huawei.appmarket")
    activityContext.startActivityForResult(intent, inAppReviewResultCode)
    

    You find the official documentation here.