I'm looking to open the google play install modal instead of opening up google play store app like this for my own app:
However, looking online [1][2], it seems that you need permission from google to do so for your app?
And deducing from source 2, I believe the code would looks something like this:
But the above code does not make the modal show up.
I'm wondering if anybody in this forum has any luck getting the dialog to show up or know the best person from the Android Development team to ask for access.
Thanks in advance!
However, looking online [1][2], it seems that you need permission from google to do so for your app?
And deducing from source 2, I believe the code would looks something like this:
val intent = Intent(Intent.ACTION_VIEW).apply {
data = Uri.parse(packageName)
component = ComponentName("com.android.vending", "com.google.android.finsky.activities.InlineAppDetailsDialog")
}
context.startActivity(intent)
But the above code does not make the modal show up.
I'm wondering if anybody in this forum has any luck getting the dialog to show up or know the best person from the Android Development team to ask for access.
Thanks in advance!
Last edited: