I am trying to stick information from a web page to an iPhone application that offers a web page for download. I control both the web page and the downloadable application.
The scenario is as follows:
The user visits my web page on which I recognize the user (he may have logged in and I store his information in a cookie). I then submit a link to it in the app on the App Store, which it must download for the “advanced experience” of this web service. Now, when the user launches the downloaded application on his iPhone, I like to re-identify the user who previously visited the specified web page.
Everything would be easy if the iPhone application could read Safari cookies. But he cannot.
A somewhat outdated solution may be that the web server stores the visitor’s IP address and uses it to recognize it as soon as it launches the iPhone app. But it is unreliable.
Another would be to give the user a token (code), which he must remember, and then re-enter into the application. In my opinion, it’s still quite uncomfortable.
Any best deals?
source share