I use this code from my instant app. I expected that I will get some functional prompt that will install the app. But it shows some white dialog that is thin and tall but not functional
I have no idea how to proceed, can you share your experience how do you install the full version from instant app? I found the code at this documentation, and I adjusted for my package etc. https://developer.android.com/topic/google-play-instant/getting-started/instant-enabled-app-bundle#test-publish-internal-test-track
private fun showInstallPrompt() {
val postInstall = Intent(Intent.ACTION_MAIN)
.addCategory(Intent.CATEGORY_DEFAULT)
.setPackage(your-installed-experience-package-name)
// The request code is passed to startActivityForResult().
InstantApps.showInstallPrompt(this@MyInstantExperienceActivity,
postInstall, request-code, /* referrer= */ null)
}