Apple push notification not working in production(Ad Hoc Certificate)

We are totally stucked, please help.
I and my team made a iPhone application, and this is the first time we try on iOS.
Everything is fine, until we submitted our app and became available on app-store -- the push notification service is not working. I searched around the web and tried double check on our app by people's advices, but I couldn't find what's wrong. so this question is posted here.
These are what we did:
We build the application, suppose it's named "AppMaster".
We created AppId on iOS Provisioning Portal called: "pushtest". This ID enabled the Push Notification on both development and production.
We created a Provisioning for development named "AppMasterPushTest" from the appId above. This provisioning is for inside test, everyone of the team installed it on their mac.
Our server is implemented by Java and we used the java-apn package. during the test, We downloaded the certification file for development and write out the .p12 file, and pushed our message to the "sandbox" server by using the package's api -- withSandboxDestination() with that .p12 file. test goes fine, notifications are received.
I thought we were ready, so we created another AppId called "AppMaster", and enable Push Notification only for production. This Id is written in the app's bundle identifier.
We made another Provisioning for production named "appMaster" from AppId in step 5, with distribution method set as "App Store". downloaded it and rebuild app. This one was submitted to apple, and goes alive on app-stroe.
Server side, We downloaded the certification for production and write out the .p12 file again. and made program to push message to production server by using the api -- withProductionDestination(), with the .p12 just been write out.
We installed the app from App Store. sadly, the notification was never delivered.
Is there something we missed? BTW, the id we created in step5 was looks like "XXX.com.company.appname", but in the app's bundle identifier, we just set "com.company.appname" part without prefix. is this could be the problem?
any idea is welcomed.
please be our saver. thanks.

1. Settings > General > Reset > Reset Network Settings
2. Bite the bullet - Restore as new without using a backup (which may have corrupted data/settings.

Similar Messages

  • Push notifications not working with production (apnagent nodes Js)

    Hi,
    When we tested the push notification in sandbox using apnagent node JS it worked well. But when we switch the sandbox to production it is not working. When we debug the server side we are not getting any errors also in production, but push notifications are delivered to the devices.
    First we thought it is a certificate issues and then revoked all the certificates in the portal and created new certificates still no luck.
    Can any one tell me why push notifications are not working in production.
    Thanks in advance!

    You're welcome. The request has been sent in. I first saw your post in the Using Apple Support Communities Forum, now I see it's been moved to the iPod Forum, hopefully it will get moved again.
    iIt's been moved.

  • Exchange push notifications not working on iphone5

    My work email is exchange, and it doesn't push on my new iPhone 5. I have all of the settings right for pushing. If I go to my mail, it says 'Checking Mail' and then new message show up. Any help with push notifications not working on the 5? Thank you.

    This is an issue that a lot of people are having...   it's all on this thread.  
    https://discussions.apple.com/thread/4345374?start=0&tstart=0
    The 'fix' that is decribed in the first post does not work.  The only workaround is if you are on Wi-Fi, turn off Cellular Data and then reset the push service by turning on Airplane mode for a few seconds and then turn it back off.  Seems to be an issue with the iOS talking to the new LTE CDMA chip on Verizon and Sprint iPhone 5s.  

  • After sharing itunes with MP3 rocket I get a pop up window telling me that my Apple Push is not working at present. Do I need apple push?Everything is working well for me with itunes and Rocket. Also what is Apple push.

    I have been sharing itunes with MP3 rocket but I still purchase many songs and books from itunes normally.I have not had any trouble. Just recently a pop up window appears after I have been sharing and it tells me that my Apple Push is not working corectly and windows is looking for the problem. What is Apple Push and do I need it. as everything seems to be working well for me.Can you please advise me.

    Has any had you try a reset yet? Sometimes the WiFi & Cellular anntennas get wacky.
    Hold Sleep/Wak & Home buttons until the screen goes dark and you see the Apple logo

  • Iphone5 push notifications not working

    iphone5 push notifications not working. But All ok with my iphone4s. All settings are same. Any idea what is wrong?

    I am having this problem, too. I have several apps I require to notify me of things going on in my business but none of them appear or make a sound to alert me.

  • Facebook For iOS App Push Notifications Not Working

    Been seeing a lot of Threads for this problem but with no proper solution.
    Ever since I updated my Facebook App to v9.0, I havent had any push notifications come to my phone. I've tried uninstalling/deleting the app & other connected apps (Paper, FB messenger) , logging out of the iOS integration, Resetting my phone, etc. but nothing's worked. The App doesn't even ask me if I want to Activate Notifications anymore when I Re-Install it.... 
    The Phone Notifications are set to show in the lock screen & all, and the Push Notifications in the app are set to push for "All Notifications", but On the Web client I noticed that I had "Some notifications" listed in the settings (and I can't change those on the web, because it tells you to change them in the app) . The only way I know i have Notifications now is through the App Badge,, via Email or through Paper's Notification setup (But i still dont get all of them) ...
    I wonder if it could be a server issue on Faceobook's End. There has to be some way to fix this problem....Help!!!

    Hi C_S1,
    Welcome to the Apple Support Communities! I understand that you are having some issues with Facebook notifications on your iPhone. It sounds like you have already done some great troubleshooting. I suggest looking at the Troubleshooting notifications section of the following article just to verify your previous steps.
    iOS: Understanding notifications
    http://support.apple.com/kb/ht3576
    Troubleshooting notifications
    Push notifications require an active Wi-Fi or cellular connection.
    Note: Notifications use Wi-Fi only when a cellular connection is unavailable. Firewalls and proxy servers may affect your ability to receive notifications. For more information, see Unable to use Apple Push Notification service (APNs).
    If you're not receiving notifications for a specific app, try these steps:
    Verify that the app supports notifications.
    After installing an app or restoring a backup to a different iOS device, open the app to begin receiving notifications. If the app requires entering or logging in to an account, you will need to do this before receiving notifications.
    Check Settings > Notification Center to ensure that the app is configured for notifications. If notifications do not appear in the Notification Center, verify that the Notification Center setting for the app is enabled.
    I hope this helps,   
    -Joe

  • Push Notifications not working on any app (Whatsapp, Beejive, Mail) after update 5.1.1, Help!

    I'm gonna try to be clear with my problem. I have a Gmail Account working on Microsoft Exchange, for IM messaging I'm using Beejive IM with Push and I'm also using Whatsapp.  Before Updating it to iOS 5.1.1 all Push notifications were working flawless, however, after I upgraded it to 5.1.1, I began having troubles. After 1 minute of having the Iphone locked, I don't get any push notification, nor on the email, nor on the Whatsapp, neither on the Beejive. If I unlock it and I re-open one of them, for ex, I go to check my contact list on Beejive, I get all the mails, and all the instant msgs that people had sent to me after I locked my iPhone; it's like, my iPhone was locked for 30 minutes. In those 30 minutes people sent me 4 msgs on whatsapp, 4 msgs on beejive and 4 mails. Once I unlock my iPhone and I go to one of the 3 apps (mail, whatsapp or beejive), I get the 12 items (4 msg from whatsapp, 4 msgs from beejive and 4 mails) at that exactly time. It's crazy, it's like, with this new update push notifications got disabled for every app or what happened to my iPhone on this upgrade? I really need help. WIthout Push, none of them apps works cool for me. I'm using Iphone 4 on a 3G network.
    Ps: I tried restoring it x3, I unistalled the apps, mail, etc and nothing worked.
    PS2: If someone is using whatsapp or beejive im with push on the new iOS 5.1.1 and push notifications are working good for them, please let me know it so I will know it's my iPhone hardware problem to bring it to technical service
    Thanks in advance

    SAME PROBLEM
    The Apple store are trying to say they know nothing of this problem,  they know that if  you delete your yahoo mail and then add the account again then push notification works for a day.  So they do that for you, but won't listen when you tell them that it won't be working by the next day! This is to get you out of the shop.  They don't have an answer to why your other notifications aren't working (like alerts etc) even though you have push on.
    So what are we to do?  The main point for me getting an iPhone was being able to be alerted when I received an email as I am out and about all day!
    How can we get somebody in Apple to admit this problem and find a resolve for it before we all have to go buy a phone that will notify you of your email, messages ans alert?

  • Why are AOL push notifications not working with OS 6?

    After installing IOS6 I am unable to get my AOL Push notifications to work on my Iphone4 or Ipad2.  I did try to delete the accounts and then installed them again.  After that I re-booted each device, but no luck.  Is this a problem others are having?
    Thanks,
    Bruce

    You're welcome. The request has been sent in. I first saw your post in the Using Apple Support Communities Forum, now I see it's been moved to the iPod Forum, hopefully it will get moved again.
    iIt's been moved.

  • Push notifications not working on 4g/cellular data

    i have an iphone 5s with latest ios 7.
    recently the push notification stopped working under cellular data (lte most of the time, 3g other times). if i turn on wifi, push notification works fine. in fact if i turn on wifi after a few days i get al the push notification from the past few days.
    i have 'background refresh' turned on for al the apps concerned but doesn't seem to have any affect.

    Same thing is happening to me when using silent push notifications for my app.  They do not get received on my iPhone 6 when cellular data is being used.  On wifi they get through just fine.  Have you had any feedback on this?

  • 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.

  • Push notifications not working in ios 7 on iphone 5

    Since upgrading to ios 7 on my iphone 5 push notifications are not working, specifically for mail, mailbox, whatsapp and messages. I have checked all settings multiple times, hard reset and restored from back up a number of times with no results. I set the notification centre so show on the lock screen just for notifications, but get nothing.
    Is anyone else having the same problem? Is it a bug with ios7 or a bug with the apps?
    Regards

    Hi mr_black,
    If you are having issues with notifications after updating to iOS7, you may find the following article helpful:
    iOS: Understanding notifications
    http://support.apple.com/kb/HT3576
    Regards,
    - Brenden

  • Work Manager 6.0 Push Notification not working

    Hi All,
    I have configured Standard Work Manager 6.0 application and now I am trying to configure Work Manager 6.0 Push Notification.
    I have completed all Post Installation(optional and required) which are mentioned in Standard product document.
    I am getting new work order entries in /SYCLO/PSH01 and /SYCLO/PSH02. After that Agentry server is also calling /SYCLO/PM_DOPUSHWORKORDER_GET Function Module and /SMERP/CL_PM_PUSHWORKORDER_DO Class Handler.
    I am getting result in final export table(ls_mdo_output_vals) of /SMERP/CL_PM_PUSHWORKORDER_DO.
    My problem is still I am neither getting this work order into ATE nor push notification message.
    When I went to Syclo Admin panel, status of the push notification is also NEW.
    I have configured 8282 port in [HTTPXML-2] section of Agentry,ini and Syclo Config panel outbound trigger.
    Kindly let me know what can be an issue?
    Regards,
    Mohit Verma.
    Message was edited by: Michael Appleby

    Mohit,
    I noticed the following in your Backend-Java.log.
    ~~~~~~~~error 1~~~~~~~~
    2014/06/27 17:37:36.947: Error in initializing the StepHandler from the ini file or SAP configurations (com.syclo.sap.component.serviceorder.stephandler.ServiceOrderRemovePushStepHandler). Please check the JavaBE.ini file. java.lang.ClassNotFoundException: com.syclo.sap.component.serviceorder.stephandler.ServiceOrderRemovePushStepHandler
    ~~~~~~~~end~~~~~~~~~
    <-- Make sure this is corrected. For some reason your java code is not being detected during start up. Check your Java folder in the root directory of your Work Manager 6.0 to see if it can be seen.
    Based on history of Support tickets the following SAP Note is mandatory to make Push work:
    1. Do mandatory SAP Note: 1954444
    2. Please review: 1828657 - Release strategy for the ABAP add-ons SMFND, SMERP, SMISU, and SMCRM (Make sure you installed the correct add-on - look at the spelling in detail)
    3. SCN Push threads that may help: http://scn.sap.com/thread/3494003
    See if any of the comment above will work for you.
    4. After you tried the above and it didn't work for you to try the latest SMP 2.3 SP04 version and let us know. This is for what I can see on the logs.
    ~~~~~~~~Error 2: Backend-java log~~~~~~~~~
    2014/06/27 17:40:35.471:             Getting Java results in the the 'WorkOrderPushForEventSteplet' step (java class com/syclo/sap/component/workorder/steplet/WorkOrderPushForEventSteplet)
    2014/06/27 17:40:35.471:             : 1 lines, 0 non-printing characters, 20 total characters
      The module is 'PM'
    2014/06/27 17:40:35.471:             The root object is 'WorkOrder'
    2014/06/27 17:40:35.471:             Trying to read results by calling getReturnData()
    2014/06/27 17:40:35.471:             : 1 lines, 0 non-printing characters, 81 total characters
      getReturnData() method returned null, falling back to reading _returnData field
    2014/06/27 17:40:35.471:             Processing public field _returnData: Ljava/lang/Object;
    2014/06/27 17:40:35.471:             _returnData is a single object: 'Ljava/lang/Object;'
    2014/06/27 17:40:35.472:             Mapping public fields of Java Class 'java/lang/Object' to Agentry object 'WorkOrder'
    2014/06/27 17:40:35.472:             No public field userid found in java/lang/Object for user ID, and not in per-user mode: cannot determine user for data.
    ~~~~~~~~~end~~~~~~~~~~~~~~~~~~
    The log comment above is stating that the push is trying to be sent to the PDA/handheld but it does not know where to send it to.  This is proven from your backend setup and when you have no errors in your push retry.
    The last line above is still a mystery to me as there are lots of upgrades with patches and SMP 2.3 SP# and with the userid is not found (especially when it states it is not in per-user mode: cannot determine user for data) then the Agentry Server cannot determine where to send the push to.   Hopefully somebody in this thread knows this.
    Regards,
    Mark Pe
    SAP Senior Support Engineer (Mobility)

  • Exchange 2003 push notifications not working on iPhone4 running iOS 5

    My Exchange 2003 push notifications are not working on my iPhone4 (iOS5).  For this account I need to fetch.  I know that at one point I was receiving push notifications from the Exchange 2003 account prior to upgrading to iOS 5 but unfortunately I did not actively monitor push notifications for this accout prior to upgrading to iOS 5.  Push notifications work fine for other email accounts on this phone including an Exchange 2007 account.  Are there any issues specific to iOS 5 and Exchange 2003 with regard to push notifications?

    This is an issue that a lot of people are having...   it's all on this thread.  
    https://discussions.apple.com/thread/4345374?start=0&tstart=0
    The 'fix' that is decribed in the first post does not work.  The only workaround is if you are on Wi-Fi, turn off Cellular Data and then reset the push service by turning on Airplane mode for a few seconds and then turn it back off.  Seems to be an issue with the iOS talking to the new LTE CDMA chip on Verizon and Sprint iPhone 5s.  

  • Iphont battery meter not working/ push notifications not working/restarting over and over again.

    A few weeks ago, I went on a vacation out of the country. I had my iphone 5 on airplane mode for a week. When I got back and turned it off of airplane mode, it started restarting over and over again right after being plugged into the charger. Eventually, it seems to get ahold of itself and stops turning on and off, but the phone battery meter freezes where ever it is at that point. If it has 100% battery, it says it has 100% battery until it dies. If it only has 1% battery, I'll leave it on the charger long enough to have 100%, but it will still say 1%. The battery life itself is not any different. According to the meter, my phone will stay on all day with 1%. Also, after being dead, my phone would turn on immediately after being plugged in (rather than waiting a few minutes to get enough charge as usual). I think this is because since my phone does not know how much battery it has, it thinks it has enough to turn on right away.
    I visited the apple store, and they told me to restore it as a new phone. When I did this, it did not work at first. But after a day, my phone battery life meter started working normally again, and it stopped doing the turn on/turn off continuously thing. BUT imessage no longer worked. It said "waiting for activation" for two weeks. Also, push notifications no longer worked. Every time I openned an app, it would notify my that i could not have push notifications and to connect to itunes. Certain apps wouldnt work at all (snap chat, lulu). They would just give the alert about push notifications over and over again.
    I wanted imessage back, so I restored my phone as new once again. This time, imessage, push notification, snapchat, ect. started working again. But, it has gone back to not knowing how much battery life it has and restarting over and over again after being turned on from a dead state. WHAT DO I DO?! I don't want to have either of these problems. It's kind of like my phone has a virus.
    note: the first time i turned it on after coming back from vacation, it said "no sim card" for a few minutes.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • Iphone 4 push notifications not working for any app

    hi, Actually I own an iPhone 4 os 4.2.1(8c148). The thing is that push notification for all the apps that support this feature is not working, I've been an iphone user for long time now, so I konw all the stuff about turning on the push notifications etc. the problem is that my phone give me the pushes like 1 hr or 2 late, or some times never , i just have to open the apps to see my new messages and stuff. Since i live in colombia I have brought the iphone to the store and they take it for like a week and then they give me the phone back saying that is ok , but it isn't. I' have reinstalled the software, I've done anything you can think of, like turning on an of push notification, put it in plane mode, restore as new, backups, and I don't know what else to do, and the thing is that in colombia they don't exchange your phone that easy as it is in the US. So please any advise? ANd I'm sorry about my English. Thank you!

    Unfortunately you have already done everything we can possibly instruct you to do.. at this point the only option is getting them to exchange it its under warranty its not working you have to get a exchange

Maybe you are looking for