WP7 Don’t give false impressions.

Looking at our app submission I spotted that our app states that it requires access to the phones identity:

2010-10-21 08h57_58

Looking at the WMAppManifest.xml shows that the app doesn’t state that it will do this:

2010-10-21 09h22_52

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:

2010-10-21 09h04_03

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):

2010-10-21 09h16_03

Hopefully when I submit again I won’t give false impressions.

About these ads
Tagged with: , ,
Posted in C#, Phone, WP7
4 comments on “WP7 Don’t give false impressions.
  1. Matt Lacey says:

    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

  2. mikehole says:

    Cheers Matt, I hadn’t spotted that method of detection.

  3. cod4 hack says:

    Thanks for the read!

  4. […] 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.. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: