Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with InstantApps.showInstallPrompt and postInstallIntent #84

Open
svsorokina opened this issue Sep 25, 2020 · 2 comments
Open

Comments

@svsorokina
Copy link

svsorokina commented Sep 25, 2020

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?

@svsorokina
Copy link
Author

@keyboardsurfer @wojtek-kalicinski May be you can help? It's real problem for us.

@keyboardsurfer
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants