iOS Question Push Notifications for iOS (Help!)

Discussion in 'iOS Questions' started by Darren69, Apr 13, 2015.

  1. Darren69

    Darren69 Member Licensed User

    Hello,

    would it be possible for someone cleverer than I to post a step by step guide on how to get push notifications working. I have tried following the steps in the setting up the certificates, and the apple side of things, I have managed to get my device token, but the PushServer software I have compiled (in B4J) and have running as a java app doesn't seem to connect I get error messages that others are seeing. I know in Erel's post on the matter he said you had to be patient, and I have been, but I think there has to be some easy steps to follow that will ensure success.

    any and all help appreciated as I am sure others would find it useful too.

    many thanks

    Darren
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you post the B4J server logs?
     
  3. Darren69

    Darren69 Member Licensed User

    Do you mean these?
     

    Attached Files:

  4. Erel

    Erel Administrator Staff Member Licensed User

    Yes. As you said it is the same problem where Apple servers reject the connection. Based on my experience recreating all of the keys can solve this issue.
     
  5. Darren69

    Darren69 Member Licensed User

    ok will try again, but these were with newly created keys, once I get this working and compiled, I take it I need to run the PushServer in Java and leave it alone and running, and I need to make my application always point to the push server to send it the device tokens from the user that have my app installed? then assume the PushServer stores all the device tokens so when I send a message it goes to all the users of my installed application?
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Yes. The push server builds a database of tokens. You can either send messages to all devices or modify the code and send messages to a subset of devices.
     
  7. Darren69

    Darren69 Member Licensed User

    Cool, thanks for the clarification, guess I just need to crack the first bit, have apple accept the connection, feel like I can at least stop banging my head against the wall for now, I was starting to get a lump!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice