简体   繁体   中英

Accessing safari session data from iOs app

I have a web page that redirects to the appstore, once the user has installed the app I'd like it to go fetch some data based on a parameter passed to the web page. so http://myapp.com/?q=123 redirects to app store for app installation, once the app is opened it should go fetch data from something like http://myapp.com/data/123 Would it be possible to start a session on the web page and store the 123 there, and then make a call from the app to any page on the domain and retrieve the 123 from there?

As far as I know it is not possible to pass some value to the appstore that will then somehow be retained for the app when/if it is installed. What you will have to do is find some means of identifying the user or device both on your site and in the app. Anything from a username, email, facebook account will do. Anything like device ID and MAC addresses are pretty much off limits as well, if not impossible. I hope this helps, or maybe there is another solution out there that I do not know of.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM