I use it wall on WM (MC65)
Thanks for the reply, In this case am using iPhone 5, I have already tried this method but it is not working.
1 of 1 people found this helpful
Apple does not permit applications to acquire the unique device ID. It's a security concern. (This used to be possible.)
You can try to synthesize one, but if you use it in an App Store app and get caught, the app will not be approved. If it is approved, you risk subsequent removal.
Basically, if you get caught trying to identify the specific device in any way, your app will be banned.
You can get a unique ID per installation of your product. I don't know if Rhodes supports this. The ID will change if the user removes your app and then re-installs it.
Thanks for the reply. Yes, I have gone through some stuff about this in the internet. So how can we achieve it?
Is there any alternative way ?
Is this app meant to be published in the App Store?
If so, it doesn't matter. If you find an alternative way, Apple will ban the app in any case. What you want to accomplish is not allowed, and is a violation of the Developer Agreement to do so.
If it is an Enterprise app, then you are free to do as you please, as Apple does not vet your apps. There are a number of open-source projects to synthesize unique IDs for iPhone. I don't have any details, as I don't have a need. But I am aware that they exist, and a search should turn them up.
I am also facing the same issue when i use Rho::System.phoneId for iPhone 5
All i get is nil.Though it works for android.
i Can't rely on on d's Being Synthesized as its a concern to security
Has anybody got a solution for this ??
Apple does not permit developers to access the unique device ID. Nor to attempt to synthesize one. Period. This is an easy way to get yourself banned from the App Store.
If you are creating an Enterprise app that will not be placed in the public App Store, though, your app is not vetted by Apple, and then you are free to synthesize a unique device ID. The APIs still will not give you the actual device ID.
If you have an Enterprise app that will not be going in the public App Store, there are probably other ways to get a unique ID without synthesizing it.
For example, I think you might be able to get an interface MAC address. (e.g. from WiFi, Bluetooth, etc.) As well, push IDs are device-unique, but are not to be used for any other purpose other than push, at least for App Store apps. This WILL get your app banned if they find out, and they will find out.
Enterprise - find some work-around. App Store - fergidaboutit! Do not risk your developer agreement, as they can get nasty and will not only ban your app but cancel your developer agreement. Don't do it. Apple has gotten very serious about protecting user's privacy to the extent that they and the U.S. government are now sitting across a (virtual) table frowning at each other and making unpleasant gestures. Prosecutors, police, etc. are NOT happy. Apple is not budging for the government, and they aren't going to budge for you.