Is it possible to have some piece of data passed in to the app on the very first app run through via the Google Play link (maybe as an Intent
).
The scenario I envision is this:
- I share a special url to my app in the market for special clients (promotion, etc)
- They download the app, install the app.
- On the first run, I can pull off the data I put on the url somehow
- Magic happens
Current Solution
My current solution to this problem is sending out a generic link to the market, and have a second url that they click that my app has an intent-filter
. I'd really like to have only one url for people to click.
Thoughts
An alternative I've considered, is having the link go to my server, save some unique information about the HTTP Request, then try to correlate that information with a web request on the first app run, but that seems very error prone (IP isn't unique on Wi-Fi behind a NAT, User Agents don't match...).
Any advice would be greatly appreciated.