My app needs configuration after the user installs it, which can be done using custom URL scheme. I can use the method described here: Launching app OR app store from Safari? but it means the user will have to visit the URL twice or at least go back go the safari page after the installs the app, to get it configured using the customer URL scheme (on the 2nd visit the html page will detect the app is now installed).
I would like to have the user visit the html page only ONCE and have his app installed+configured.
Questions:
Is there a way to send parameters to the AppStore which will be injected into the app after installing?
Can an app perform the following actions on its first launch:
a. Check whether it was installed from a URL (rather than just a user looking for it on the app store) by checking the last URL visited on Safari
b. Switch to the Safari tab and have a timeout timer reload the html page?
Upon the app first launch go to a 2nd URL that finds out if this user used a URL to install the app (by IP? by device identifiier?)
Thanks