Closed AnupamSingh0211 closed 5 years ago
You can access the extra data from the post-install intent launched in your installed app.
Intent launchIntent = getIntent();
if ( launchIntent != null ) {
userToken = launchIntent.getStringExtra(USER_PARAM);
}
private val postInstallIntent = Intent(Intent.ACTION_VIEW, Uri.parse("https://install-api.instantappsample.com/")). addCategory(Intent.CATEGORY_BROWSABLE). putExtras(Bundle().apply { putString("The key to", "sending data via intent") })
Where to catch value of "the key to" In the installed app