Universal Apps and Push Notifications (Question on both Store and Phone app)

I have a Universal App and trying to implement notifications. I have an Azure Notification Hub and the code in the app.xaml.cs (shared) file that is creating the channel and binding to my notification hub. This all works great for the Windows Store app.
However, I don't receive any notifications on the Phone app (running in the emulator). I am wondering if this is because the code to create the PushNotificationChannel is only registering once (the Store app) and has the same URI as the phone app. This line
of code is what I am referring to:
var channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();
Since this is by application, and I am essentially running the same app twice on the same machine, via the phone emulator, is only one URI being generated for this?
Thanks for any assistance.

When you created the push notifications in the Azure, you chose the code fr Windows Store, not Windows Phone. as you mentioned you having a universal apps. 
Hint: Did you enabled push notifications for local testing ?
This is the 4 steps to have a successful Push notification integration with your app 
Register your app for push notifications
Update the service to send push notifications
Enable push notifications for local testing
Test push notifications in your app
For more info please follow this
link 

Similar Messages

  • Problems with iPod Touch- YouTube and Push Notifications

    After installing iOS4 on my 64gb iPod Touch I've noticed I cannot view YouTube videos and push notifications do not work.
    The YouTube app launches, however if I try to search or play a video a pop up will read "Cannot connect to YouTube". If I go to YouTube's newly redesigned mobile site they work fine.
    Although all my settings are the same as they have ever been, push notifications do not work. When launching any app with push notification support it always states "Connect to iTunes to use push notifications". I've done this, but nothing works.
    For the record, I've never jailbroken or in any other way altered my device. I've tried performing a hard reset with no success, as well as letting the battery drain completely and shutting off before recharging.
    Thanks for any help.

    Downgrading is not supported by Apple.
    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync/delete all music and resync
    To delete all music go to Settings>General>Usage>Storage>Manage Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                                                              

  • Since i have updated my iphone everytime i open an app it comes up with a message 'connect to itunes to use push notifications, may include alerts, sounds and icon badges, i have backed up my phone on itunes and restored phone but its still doing it, :(

    since i have updated my iphone everytime i open an app it comes up with a message 'connect to itunes to use push notifications, may include alerts, sounds and icon badges, i have backed up my phone on itunes and restored phone but its still doing it  can anyone help?
    Em

    Return the iPhone and get your money back. It has been
    hacked/modified/jailbroken and likely cannot be made
    operative.

  • I downloaded what's app and snap chat and it keeps coming up about connect to I tunes to turn on push notifications. I'm connected and turned them on but it still says I haven't when I have opened the app. Any ideas how to solve it?

    I downloaded what's app and snap chat and it keeps coming up about connect to I tunes to turn on push notifications. I'm connected and turned them on but it still says I haven't when I have opened the app. Any ideas how to solve it?

    Hey did anyone get back to you on what you can do? I'm having the same problem, it's bugging me! Lol

  • IOS 7.0.3 upgrade killed Facetime, iMessage and Push Notifications

    Facetime, iMessage and Push Notifications were working fine on my iPhone 4.
    Since I upgraded to iOS 7.0.3 Facetime and iMessages cannot be activated because of 'Network error' and every app that supports 'Push Notifications' suggest to 'Connect to iTunes to use Push Notifications' at start.
    Already tried to 'Reset as new phone' and restore from iCloud without any luck.
    Suggestions ?

    Ever since I got the 7.0.3 update on my iPhone 4 I get the "iMessage Activation: Could not sign in. Please check your network conection and try again". I can access icloud stuff using my apple ID fine elsewhere. I received iMessages on my laptop through the Messages app but anyone else who uses Messages has their iMessage sent to my laptop and not to my phone. I used to get the messages both at the same time.
    I've tried removed the locate iphone app, reset the network settings, rebooted the phone, reconnected to my wifi and synched with iTunes. Nothing has worked.
    I'm getting ready to restore the phone now in hopes that doing that works. Never had a problem with updates till now and while this is annoying at least my data is intact!

  • HT3576 how do you stop the connect to itunes to use push notifications to stop poping up in my app it will not let me get into the app

    how do you stop the connect to itunes to use push notifications to stop poping up in my app it will not let me get into the app

    I have had this same issue but thankfully fixed it. Follow he steps below:
    Sync your iPhone with you iTunes therefore your info is backed up. Unplug your phone.
    Go to Settings > Reset > Erase All Content and Settings
    Once your phone has reset and come back on answer the question until it asks if you want to back up from itunes Click this then plug your phone in.
    After everything has sync'd back to your phone everything should work fine.
    Hope this helps.

  • Out of nowhere my iMessage,FaceTime,YouTube and push notifications don't work at all!!!!

    Out of nowhere my iMessage,FaceTime,YouTube and push notifications will not work!! I get an activation error saying that there is a problem with my network. I've tried everything I have read, but still no success. My iPad and all of its apps have worked perfectly since Christmas, and without doing anything differently this happened one morning!! Lame huh?? Well, I'm SO FRUSTRATED!!!!
    Please help me!
    I have tried changing the DNS, I have turned wifi off and on, I've tried connecting elsewhere, restarting my whole iPad, soft reset and hard reset. Resettled my wifi. And still NOTHING!!! My dad went away for a few months, and that's why I got my iPad, now I haven't been able to talk with him for over a week... I'm desperate people!! ;) help mee pretty please with a cherry on top!

    Hi Brian,
    If you are having an issue with your iPhone and other devices not being able to make or receive phone calls I would suggest that you troubleshoot using the steps in this article - 
    Get help using Continuity with iOS 8 and OS X Yosemite
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • IPhone 4s Wifi button dimmed and Push Notifications aren't working.

    My wifi button has been dimmed out for 4 months and only just recently my push notifications havent been working.
    My phone has been updated to the iOS 7.1
    and no changes to my problems have occured.
    How the wifi button doesnt work:
    - I tap on button nothing happens
    - i can still use my data/credit
    - i swipe up the screen,and tap on the wifi button,it turns on but wifi doesnt come up
    - its not a dead spot on the screen
    How Push Notifications dont work:
    -Facebook,Twitter,Tumblr,Instagram etc wont show any notification signs
    -i have to go onto the app to recieve my notifications
    - text messgaes still pop up on my lock screen
    I dont know if these sort of problems should be taken to the Apple store,im uncertain on to how much it would cost to get my phone fixed due to i have no warrenty on my phone.
    It would be appreciated if you could help me with anything you know that could help me fix my phone.
    Thank You

    can you tell me exactly what you did to fix this.  I am having the same problem.  I have deleted the affected apps and reloaded them and it still wont work right.

  • IMessage and push notifications not working after installing iOS 7!!

    My iMessages and push notifications don't work after installing iOS7..!!! I can't even log in to iMessages using my Apple ID.. And every time I log into Facebook or whatsapp it keeps telling me to connect to iTunes to receive push notifications..!!
    I connected to iTunes on my comp and tried resetting my phone.. Nothing works!! HELP

    Its stuffed, iMessage and facetime are both sitting on "waiting for activation" so they are not working, 1 post suggested resetting the phone again setting up as a new phone and then turning iMessage and Facetime on and then restoring.  After the reset iMessage and Facetime started working, I did the restore and it stopped working again.  Nice waste of 2 hours.

  • What's the difference between "local reminder" and "push notification?

    A friend has been bugging me about this, does anyone know what's the difference between "local reminder" and "push notification" in an iPhone app?

    In a nutshell, local notifications are popup notifications from applications on your phone, based on data that's already on the local phone.  Push notifications are popup notifications you get when new info (like an email, tweet, or update from something like Facebook) gets pushed to your device from a server. 

  • Enterprise App with push notifications signed with client's certificate.

    Hello all,
    We have an enterprise application that we wrote for a client that will only be deployed internally. The application has push notifications bound to our store account. The build fails with:
    Error 1
    The Publisher attribute of the Identity element in the app manifest must have the value of the Publisher ID value from your developer account: CN=607****
    How do I do one of the following:
    1. Get the client cert to be our app cert.
    2. Associate a cert when you sign up for a developer account.
    Thanks!

    Hi Larry,
    >> Error 1  The Publisher attribute of the Identity element in the app manifest must have the value of the Publisher ID value from your developer account: CN=607****
    Right click on your manifest file and choose view code option. Modify Publisher element in Identity like the following image.
    About client certification, please post more information to make it clear, I don’t understand what do you want to do.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • HT3576 I accidently cleared the push notifications on my i pad and now i want to see them back.is there any way to see them,because i have to see all the application what the notifications was for.it takes a lot of time.i am isking this to save my time in

    I accidently cleared the push notifications on my i pad and now i want to see them back.is there any way to see them,because i have to see all the application what the notifications was for.it takes a lot of time.i am isking this to save my time in future

    I found one other way to do it.  I just deleted them all out of my iTunes library. Now I can re-import them from Window's My Music file with the original artists' names intact.
    Thanks for your help, Matt!

  • There is any need to production certificate for push notification upload on admin panel when our app is on app store ?

    there is any need to production certificate for push notification upload on admin panel when our app is on app store ?

    there is any need to production certificate for push notification upload on admin panel when our app is on app store ?

  • I bought an app Camera  and it is installed in both IPhone4S and mini IPad, now I have also one IPhone 5s and this app doesn't  look like I have purchased it yet.

    I bought an app Camera+ and it is installed in both IPhone4S and mini IPad, now I have also one IPhone 5s and this app doesn't  look like I have purchased it yet.
    If I want to install I have to buy it again. Please, somebody has some advise?
    Thank you.

    Sorry, maybe I didn't express myself well.
    I have the same Apple ID in the 3 devices, iPad mini, iPhone 4s and iPhone 5s. In the 2 first the app camera+ is installed, but it is the unique app that doesn't show up in my purchased items in the iPhone 5s. If I want it I have to buy again. I really didn't understand what happened that I can't install it free again.
    Thank you. 

  • HT4528 My wife had a problem with her iPhone 5C with no voice on th Maps app.  I visited my local Apple store and they said the problem was in iCloud.  We did a new install and it works great now.  Now my iPhone 5 has the same problem.

    My wife had a problem with her iPhone 5C with no voice on the Maps app.  I visited my local Apple store and they said the problem was in iCloud.  We did a new install and it works great now.  Now 4 days later my iPhone 5 that is tied to the same iCloud has the same problem with the Maps app.  I really don't want to go through a new set-up with my iPhone 5.  What's going on with iCloud?

    I had major issues with the iPhone 4s battery, however it’s resolved.
    The tech who set the phone up at the Apple store did so with little training.
    if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
    Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
    turning of locator and the push notifications from facebook--they have a lot!

Maybe you are looking for

  • Yosemite (10.10.3). Any browser don´t work with by wifi

    Hi I think i have the same problem that most the Mac users have had after upgrade from Mavericks to Yosemite (10.10.3) and are connected to internet by wifi. This new version don´t work fine, or in any way, with any internet browser (Safari, Mozilla,

  • Tips and tricks on how to start using iCloud

    I'm currently using plain iTunes sync to sync my calendars between my iMAC and various iPods and iPads. It's a bit labour intensive to keep all devices in sync, so I've decided to use iClouds for that purpose. But before I start I would like some adv

  • Error in execution of mdx formula in ASO::  Recursion limit[31] reached

    Hi, We are implementing the ASO cube using the Hyperion Essbase version 9.3.1. Few dimension members need to have formulas which we are writing using the mdx. Mdx formulas are successfully verified but at retrieval time, it is throwing the following

  • Weebly Editor on Netfirms will not open using Firefox but does with Explorer

    I have been trying to open the Weebly Editor on Net firms using Firefox but it won't open it. Explorer opens it though. I talked to the techs at Net firms and they told me to dump my cache, make sure plugins are up to date etc. Still nothing. They sa

  • Implicit character or charactered structure -- to String  Conversion

    Hi everybody, that sounds trivial but i am struggeling.... which is the most elegant way to do a implicit "To-String" Conversion in ABAP Objects... I have e.g.     data lok_string type string.     lok_string = wa.     m_object->addline( lok_string ).