How to disable location tracking service?

Jun 29, 2011 at 8:33 AM

I've submitted my first winphone app with  Analytics Framework using Google analytics. But I've got a reject because of MS location tracking policy.
In general, the app must inform the user that location services are enabled "and provide in-application settings that allow the user to enable and disable location service".
How can I disable the location service? It's enabled by default. What I do when initializing the analytics system is executing following code:
               new AssemblyCatalog(
                  new AssemblyCatalog(typeof(Microsoft.WebAnalytics.AnalyticsEvent).Assembly),
                  new AssemblyCatalog(typeof(Microsoft.WebAnalytics.Behaviors.TrackAction).Assembly));
I even don't need location data in my analytics :) but I can see it in my GAnalytics account.
Version of Analytics Framework I use is 1.4.10.
Help me please!
Jun 30, 2011 at 6:14 AM

What analytics assemblies are included in your app?

Make sure you aren't including Microsoft.WebAnalytics.Location.WP7


Jun 30, 2011 at 6:47 AM


It was a mistake from MS Certification service side. No LoactionService is really used :)