app-bundle-samples
app-bundle-samples copied to clipboard
Problem with InstantApps.showInstallPrompt and postInstallIntent
postInstallIntent lose bundle extras after installation.
val intent: Intent?
intent = Intent(Intent.ACTION_VIEW, Uri.parse("https://www.test.ru/activity/main/"))
intent.setPackage(context.packageName)
intent.addCategory(Intent.CATEGORY_BROWSABLE)
intent?.putExtra(EXTRA_FIRST, data1)
intent?.putExtra(EXTRA_SECOND, data2)
But when I try to get data from intent intent.extras in installed app the bundle is empty.
What am I doing wrong or it's a problem of showInstallPrompt?
@keyboardsurfer @wojtek-kalicinski May be you can help? It's real problem for us.
I don't see anything wrong with your implementation here, according to the documentation. It seems like you're describing an issue that is not directly related to the sample. Please use the Google issue tracker or [StackOverflow](stackoverflow.com] for this.