iPhoneUtils.isApplicationGenuine

Is there anyway that iPhoneUtils.isApplicationGenuine can be tested other than having an unauthorised app ?

thanks

this topic has been already discussed. please use search.

still the answer is mostly no. boolean returns TRUE only after Apple signs it

Go into search and type ’ isApplicationGenuine’ for the iPhone forum.

let me know what you get because I get nothing other than this thread

thanks for the reply

I am sorry for bugging you. You’re right. We might have discussed this on beta mailing list.

still. the long story:

isApplicationGenuine triggers false because the dev build isn’t encrypted. It will trigger true only when it’s passed Apple’s tests and is downloaded from the App store.

Thanks for the reply. I wondered why the designer could not access the high score table. Its set up that non genuine apps can play the game but not submit scores (they get a screen asking them to buy the app).

So this will have to be put in place just before we send to Apple and then hope the code is ok :slight_smile:

thanks again

if(iPhoneSettings.internetReachability  != iPhoneNetworkReachability.NotReachable  rookieHighScore > 0) 
				{
					if(iPhoneUtils.isApplicationGenuine)
						ScoreloopManager.instance.sl_scoreloopSubmitScoreLevelMode(rookieHighScore,0,0);
					if(!iPhoneUtils.isApplicationGenuine)
						Application.LoadLevel("Unauthorised");
					PlayerPrefs.SetFloat("rookieHighScore",0);				
				}
			if(iPhoneSettings.internetReachability  == iPhoneNetworkReachability.NotReachable)
				{
					Application.LoadLevel("noInternet");						
				}

I’ve heard this can be a problem with apple since they review it before encrypting it. If your app doesn’t work without encryption, the review process might reject your app immediately.

I think it would be a good thing if Unity mentioned how their developers should use this feature, as in, what would be appropriate to do when detecting a non-genuine install, but wouldn’t cause Apple to reject it.

Only apple knows when apple rejects it.
There are no rules that are commonly applied.

if they don’t like it, they reject it

There are some general guidelines, however. Such guidelines should be mentioned in the documentation for this feature. I’m not saying Unity knows exactly what it takes to get approved/rejected, but there should be some suggested guidance with this feature.

I’ve never heard of any kind of guidelines in relation to protection schemes.

There are only guideline in relation to other things but those are mostly lined out already in the NDA all sign but nobody reads

I never said protection guidelines. I was referring to some of the more community-discovered guidelines when it comes to avoiding app rejection.

Maybe it’s just me, but I see people seeing this way to detect a cracked version, and then disabling features. Making levels/play modes/features/etc non-accessible.

We know that Apple will reject an app which has inaccessible content. This was demonstrated by releasing a Lite Version with grayed-out options which would have been selectable in the Full Version.

Should someone try to make content, or even the entire game, inoperable in such a manner, I suspect it would be rejected on the same basis as the example above. My suggestion is merely to mention such examples so people don’t get their application rejected.

It has been mentioned several times, by several different people, of how they would love to do harm to a device with a cracked app, or even redirect the user to NSFW websites as ‘punishment’ for installing their cracked app. Now that there is a way to more accurately detect a cracked app, I would just say it would be a good idea, even for Unity, to simply mention the proper usage of such a feature.

Well thats not task of the Documentation is it.

The documentation covers behavior and functionality of the Unity technology and how to use it.

The iphone tech as well as everything related to deployment is Apples duty to document where not done yet and its any iPhone and want to be iPhone developers duty to read those documentations as well as the licensee only apple iphone dev boards (which is where most the problems come from. The majority here obviously has not even read the NDA, as many would have lost their license already again if apple would handle it as strict as they legaly could! So we better don’t talk about the documentation which is a few hundred pages, if already the short nda is too long to read)

Can’t be the idea that UT starts to document “experience and guessing”, especially not when not needed at all. Just because some Unity users here think they can do iphone dev with “click and deploy” that does not free them from reading the apple documentation and boards. Thats the base duty of a dev starting to do iphone development, if the first thing you do is reading the Unity docs and hope for such informations,then something is wrong and the user should skip iphone development plans at all for the time beeing as he does not understood the importance of learning the base knowledge first before trying to apply it

Was just suggesting something which I thought was beneficial, considering the human factor. Yes, if everyone read the manuals to everything, things would be much simpler. If people took the time to read Unity documentation, even, there would be even less questions on this forum.

When I do a dev build isApplicationGeniune returns True and a distribution build also returns True.

Please fill a bug report with your project attached and I will take a look at what is going on here :slight_smile:

Just bouncing through some threads.

Obvious question here. If Dev builds aren’t encrypted, then why do they:-

A) Only work on one iPhone.
B) Need to have a provisioning profile to verify them.

I thought that they were encrypted. Otherwise what the heck does a provisioning profile actually do.

Apple doesn’t want visible inaccessible content. If the content wasn’t just grayed out, but was entirely not visible then it would likely be passed.

Yes, and that distinction should be made more clear to developers. Upon detecting a non-genuine install, completely hide the feature, don’t just disable the button or gray it out.

Anyone that got rejected because of this? Do we have to worry about it?

I second that question…anybody submit a game for review that got rejected because of this?

We just submitted a game and are now worried we’ll encounter a problem.

If the reviewers check out the apps before encryption, wouldn’t every game that checks for genuineness have gotten rejected?