Question

Charles Tatum on Wed, 01 Oct 2014 03:32:18


To all:

I have a Windows Phone app that's self-contained, meaning it doesn't need to "talk" to any external server or IP address. When I prepare the app for submission I get the following cryptic message under the "Validation Errors" section:

Missing certificate for authenticated push notifications: Certificate for authenticated push notifications

I looked in the Visual Studio project in C# for something where I can disable this capability but have been unable to find it. Can someone direct me to where I could find the option, setting or property where I can turn off push notifications? Or does the Windows Phone 8/8.1 platform even allow such a thing with its close relationship to Azure?

Many thanks,
Charles


Sponsored



Replies

Jeff Sanders on Wed, 01 Oct 2014 12:05:49


What do you mean 'when you prepare the app for submission'?  What tool is giving you that error?

Ramakant Verma on Wed, 01 Oct 2014 12:31:47


In  WP8.1

Package.appxmanifest file

In WP8

WMAppmanifest.xml file

If you do not see design mode then open the above mentioned file in code mode( i mean right click -->view code ). There you will see something like

<Capabilities> <Capability Name="ID_CAP_PUSH_NOTIFICATION" /> <Capabilities>

Delete it

May be it solve ur problem

Eric Fleck on Wed, 01 Oct 2014 16:39:05


In your code, are you using the HttpNotificationChannel constructor with one parameter or the one with two parameters?

ex:
    httpChannel = new HttpNotificationChannel(channelName);
 -or-
    httpChannel = new HttpNotificationChannel(channelName, serviceName);

If you're not using authenticated push then you should use the constructor with only one parameter.  You may have more than one reference to this constructor, perhaps in some test code you forgot about, so search your code for any duplicate calls to this constructor.