can an iOS app read data written by my website? - ios

I would like to redirect from my website to the AppStore to let users download my app. Afterwards, as soon as the user downloads and opens the app I need to identify it. So my question is if my website and app can read/write to the same storage/keychain/whatever. Is there a way to do that?

Related

How to share data between browser and my app

I'm building chat app for iOS using Xamarin.
My user starts with the browser version of my chat (using their favorite browser) and then can decide to download my app and continue from there.
My question -
On the web, I create cookie with userID. I need to pass the userID to the app to keep the user in context. How can I do it?
Thanks,

AppLinks in iOs app How to pass data to a freshly installed app

If I have a iOs app that has multiple content that a user can access, can I do the following:
Allow a user that is currently consuming a content (stream radio/some streamed video) to post from the app to his Facebook page "I am currently viewing X using APP".(this is clearly doable)
Another user that has the app installed can click the link will be redirected from the Facebook app to my app (o app links seem to be the solution in this case). If the user that clicks the link does not have the app installed Facebook will ask him to install the required app. I understand that all this is possible using Facebook iOs SDK and App Links.
My question is after the user installs the app how will I direct him to the original content in the link (X)? Is this handled automatically by Apple/Facebook? Or will I need a backend server which will track what the user tapped on before downloading the app?
Can the same be done from the native iOs twitter app?

Detect app url download location after iOS app install

I have a requirement where i publish the iTunes app link to download the app in the website.
say i have 3 websites A, B, C
After the app is downloaded from the link, based on the website from where it has redirected i need to show custom message or image .
Say if the user click on download app on website A, then after the app is opened it should show "you have downloaded from website A"
No you can't, simply because the user downloads the app from the App Store and not from the website.
I do not have much experience with website development but I think you can set something on website where if you click on AppStore link it triggers an event to database and stores website name and whenever App is opened for the first time you call a web-service that interacts with your database and tells you the website name. But I do not think Apple will be happy seeing something like that in an App.

iOS how can open app from url or redirect to app store to download the app

I'm tryin to implement sending email or message with url to be open in the app but in case the user doesn't have the app install the url should redirect to download the app in the app store. For example:
1.- user1 sends email to his family with the url to load information in the app
2.- the family doesn't have the app install on there iOS devices and when they click on the url loads the itunes store to download the app. When they download the app the click the url again and the information is load it.
any of you knows how can implement something like this?
I'll really appreciate your help
The email should contain a link to a webpage for the content if possible. Then, that webpage should be designed so content can be opened in the app (see this question).
Since it is difficult to detect if the app is installed from a webpage, the webpage can have a link to install the app if it is not installed.
You are going to have to launch the app using the already suggested method:
window.location = "myapp://myparam";
Then you are going to need to check if that page launches or not (whether your app starts up or not). If it does not then you can launch a search in the app store by this means:
window.location = "itms-apps://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=(your company/app name)"
Instead of doing this search you could also just provide the link directly in the app store to your app. I see the hardest part being checking whether or not your app launches from the original attempt to launch your app through window.href, I don't know how to accomplish that check.

Form to send iOS app via text message

Is there a service that allows me to put a form on my site that will send a link to my iOS app to a user?
User goes to my site
User inserts their cell phone number in a field
User receives a text message with the link to download my app
Does this make sense? Is there a better way? I've seen this before but can't remember where...
Currently do people really just take out their iPhones, open the app store, search for the app name to download it?
PS: Before posting I searched Google and this site but didn't find any answer.
Not quite what you're looking for, but probably a lot easier for you to do: You could create a QR-Code that contains a link to your app in the App Store. Then people can scan it with their phones (there are tons of popular apps that can do this), and when it opens the URL, the user will be redirected to the app store.
Just use the https://itunes.apple.com/us/app/[...] link from iTunesConnect for your app.

Resources