【问题标题】:android pass rating (1-5 stars) to play store via deeplinkandroid 通过评级(1-5 星)通过深度链接玩商店
【发布时间】:2021-08-25 05:47:42
【问题描述】:

我正在尝试通过深度链接通过评级(1-5 星)来玩商店,这可能吗?

  val uriBuilder = Uri.parse("https://play.google.com/store/apps/details")
                                .buildUpon()
                                .appendQueryParameter("id", PACKAGE_NAME)
                            val intent = Intent(Intent.ACTION_VIEW).apply {
                                data = uriBuilder.build()
                                setPackage("com.android.vending")
                            }
                            startActivity(context,intent, bundleOf())

【问题讨论】:

    标签: android google-play parameter-passing deep-linking


    【解决方案1】:

    不,这种注入是不可能的,但你可以使用官方Google Play In-App Review API

    【讨论】:

      【解决方案2】:

      您始终可以使用 Google Play Review API 来允许用户通过显示一个对话框来审核您的应用。你可以在这里找到更多信息:https://developer.android.com/guide/playcore/in-app-review

      【讨论】:

        猜你喜欢
        • 2021-12-06
        • 1970-01-01
        • 1970-01-01
        • 2021-12-07
        • 1970-01-01
        • 1970-01-01
        • 2017-01-22
        • 2013-08-15
        • 1970-01-01
        相关资源
        最近更新 更多