My application is going to be preinstalled on a vendor device (eg. Vodafone/T-Mobile/ATT is going to sell phones with my app preinstalled). This preinstalled app is very lightweight - only landing page with Update button, which redirects to the Google Play.
I'd like to track how many users coming from this preinstalled app (how many of them sign up, bought subscription, etc.).
Scenario 1:
- User starts a phone for a first time
- User opens preinstalled app
- I can save in shared preferences that user opened app and read it in real updated version
Scenario 2:
- User starts a phone for a first time
- Preinstalled app is being updated in background through Play Store
- I do not recieve any broadcasts (eg. BOOT_COMPLETED) because app was never opened
- User opens updated version -> I do not know if he's coming from preinstalled app or not
My question is how to solve scenario 2?