We have a request for an enterprise application on Windows Phone 8.1. We need to be able to publish the application on Hockey and use push notifications. What we have done until now:
- We have generated the build file
- We have bought an ‘Enterprise Mobile Code-Signing Certificate’ from Symantec so that we can sign and distribute the application.
- We have signed the application build with the certificate and successfully published on Hockey
- We have successfully downloaded and installed the application and the company profile from Hockey (application is working on the devices)
What we still need to do is to enable the push notifications on our application. What we have found regarding this is to use WNS, reserve an application name on dev center and use the generated PackageSID and Client Secret (from the dev center) to instantiate Push notifications. This works well but we than run into a CONFLICT: to use the ‘reserved application name’ we need to use the Publisher Name generated by the Dev Store, but to sign the application with the ‘Enterprise Mobile Code-Signing Certificate’ we need to use the Publisher Name from the certificate which is different from the one on the Dev Center. How can we overcome this? Is our approach correct in terms of publishing enterprise applications and/or use Push Notifications for enterprise applications?
We would like to know what are Microsoft recommendations in terms of using Push Notifications for enterprise applications.
config.xml
and/or theappsettings.config
.To Sign the app you'll need to use the certificate's "subject" (the one you're already correctly using) as the PublisherID and as far as I know there's no way around that. – Klors