Looking at our app submission I spotted that our app states that it requires access to the phones identity:
Looking at the WMAppManifest.xml shows that the app doesn’t state that it will do this:
So it must be my code.
As you can image this may make the end user quite jumpy. As it happens our app doesn’t really need to use the phone’s identity it’s code that I used to check if the app was running on the emulator or not.
The code looks like this:
So I have now changed this with a handy preprocessor directive that will leave the code out for submission (as long as I remember to compile as release):
Hopefully when I submit again I won’t give false impressions.
Remembering to build as ‘Release’ shouldn’t be an issue as apps will (should) fail marketplace ingestion if compiled with debug symbols.
As an alternative, you can also detect if running in the emulator like this:
Environment.DeviceType == DeviceType.Emulator
Cheers Matt, I hadn’t spotted that method of detection.
Thanks for the read!
[…] The busiest day of the year was October 21st with 211 views. The most popular post that day was WP7 Don’t give false impressions.. […]