I am running web app and trying to verify user's installed app with URL scheme.
iPhone Web App
Know user's UDID and IMEI
Know specific app's URL scheme.
I have tried a lot of scripts but it doesn't really help me to verify installed app.
Checking time delay and transfer to App Store by Javascript doesn't verify whether its installed or not.
Our hypothesis are these.
Get return result by checking Safari cookie with Custom URL scheme. (ex. twitter:// )
Send a UDID parameter to iTunes Store to find its installation.
Some people might say it is impossible, but I believe, as a programmer, there should be a way to solve this problem.
Thank you.
Related
In my iPhone/iPad app's use case, there is a voting system and one device can send its vote once to the server. Therefore my server needs to identify user's device. I don't want the user to register an account because that makes the app complicate. However, I couldn't find a solution that works.
UDID is deprecated
I presume getting MAC address will get your app rejected by the app review process
I tried creating my own UUID using [[NSUUID UUID] UUIDString] and then storing it using NSUserDefaults, but the settings disappear if the user uninstalls the app
identifierForVendor is also reset when the user uninstalls the app
I considered advertisingIdentifier but because I'm not using it for advertisement, I presume it will also be rejected by the app review process
I'm not asking for a bulletproof solution in every situation. Just a solution that works even if the user uninstalls the app. Because I can generate my own UUID, I guess my question boils down to: How I can save data for the app that survives app uninstallation?
However if any of you have other approach, please feel free to inform me. Thanks.
Save the UUID into the keychain.
I have made a social application, since I don't like apps that asks to create a profile...remember passwords...etc, my app works without login needed.
In order to identify an user, I use the UDID. In iOS6, Apple doesn't provide no more access to UDID, but forces developer to use the identifierForVendor, the problem is that this identifier changes if the application is deleted and installed again...or if the application is upgraded.
What are your suggestions to save users profiles?
Is there other ways to have a kind of "login" without an account?
Thank you very much.
User downloads my iPhone app from the appStore link I provide from invite email. Is it possible to persist/cache the user-data say email Address and pre-fill when the app launched.
Thank you.
You can get all the data that Apple allows you to get, which is absolutely none - you can't get the user's email, you can't get his phone number, you can't get his UDID. No way to identify him. If you want anything from the user, he needs to enter it manually. If you think about it - it's actually a good thing. All your iphone information is completely secure and protected.
No, this can't be done. Your special link might take the user to the app store, but then that's it. The act of installing the app has nothing to do with your link anymore and no data can be passed to the freshly installed app.
Of course once the app is installed, if the user taps on a special link you provide, it could force your app to run and provide data to it.
Maybe you could provide a QR code the use can scan with your app the first time they run it. The QR code can contain the data you want. Of course the user may choose to not scan the code. Then again, the user can install your app without using your link to begin with.
I am new to iphone development .I am in to project where application iTunes should be able to share on Facebook,twitter.I want to know how to obtain the iTunes link of the application.
Thanks in advance
No you can't. You should give the link manually to the app or you should program the app to get the link from your own web server using web service. Here also you should update the link in you web server
The iTunes link needs your app id from iTunes connect. There is no way for your application to actually know that number. However the app does not need to be released already to get the link, only to be created in iTunes Connect. That way you can still implement sharing functionality within your app using the link, and only then upload your binary.
As everyone suggested, you need to create your app within iTunes Connect to get the App ID.
Once you have this, you can hardcode it into your app. An alternate way is to query your own server and have this information ready at the time the app is launched.
I would really suggest going for the hardcode method since the App ID doesn't ever change once it is assigned to your app.
Here's an example of how I usually embed the URL for my apps with its App ID: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=APP_ID&mt=8&partnerId=30
I'd like to build a mobile Web app that:
If my iPhone app is already installed, launches it by redirecting to a URL handled by the app
If my iPhone app is not installed, displays a web page encouraging users to download it from the App Store
The problem is, I don't know how to detect whether the app is installed before redirecting. Does anyone know a trick for doing this? Maybe a JavaScript hack of some sort, leveraging the App registered URL in an iframe or similar?
You very likely can't do this. Even in a native app, all you can call is UIApplication's canOpenURL: method, which just tells you if some app will open the URL, not which one. I have no idea if this function is exposed in JavaScript; very likely not (I wouldn't want malicious javascript probing my phone for which URLs it can open).