Apple push notifications in Xojo iOS app

  1. 5 years ago

    How to receive and manage Apple push notifications in Xojo iOS app?
    Until now I used CoronaLab SDK and it allows easily to create apps to manage Apple push notifications sent by using my external server.

  2. Jaap C

    5 Feb 2015 Pre-Release Testers, Xojo Pro Europe, Holland

    Someone need to create a declare for it!

  3. Jason K

    5 Feb 2015 Pre-Release Testers

    It can be done with declares. I'm busy now but will post a project for this in several hours.

  4. Jason T

    5 Feb 2015 Pre-Release Testers, Xojo Pro Sydney, Australia

    Looking forward to this!

  5. Jason K

    5 Feb 2015 Pre-Release Testers

    In order to implement this right so that almost all of the push notification system is exposed, I have to create several other classes for the notifications, user settings, actions, time and timezone, etc so it is a little more involved than I had first thought. That means I am unfortunately not finished yet, but I anticipate that it will be ready tomorrow. Sorry for the inconvenience, but I don't want to give you a half completed project!

  6. Jason K

    11 Feb 2015 Pre-Release Testers

    I'm pretty much done with this, but one of the delegate methods is not behaving as described in the Apple docs. I'm trying to figure out if there is a way it can be overcome right now. (The problem is that the delegate method to inform the app that a local notification was delivered is not firing, which is not ideal since it's then hard to know what actions should be performed.) Everything else seems to be working as far as I can tell, although I will need someone with an APN server already set up in order to test the remote notification methods.

  7. Antonio R

    11 Feb 2015 Pre-Release Testers, Xojo Pro, Third Party Store Europe (Italy)

    I can test the remote notification

  8. Jaap C

    11 Feb 2015 Pre-Release Testers, Xojo Pro Europe, Holland

    Me too!

  9. Jason K

    12 Feb 2015 Pre-Release Testers

    Ok great! I'll take another stab at the problem sometime today and post the project tonight.

  10. Jason K

    12 Feb 2015 Pre-Release Testers

    Alright here you go . It currently doesn't have support for custom alert actions, but everything else should work as far as I can tell. Also, I'm not sure what form the device token for remote notifications should be, so it is currently returned as an NSData object which will automatically convert to the underlying pointer when it is used in declares so that the NSData object can be used correctly. Let me know if you find any bugs and I will try to fix them :)

  11. Antonio R

    13 Feb 2015 Pre-Release Testers, Xojo Pro, Third Party Store Europe (Italy)

    Good work

  12. Jason K

    13 Feb 2015 Pre-Release Testers

    Thanks. Have you been able to confirm if remote notifications work?

  13. Antonio R

    13 Feb 2015 Pre-Release Testers, Xojo Pro, Third Party Store Europe (Italy)

    No, I was working on homeKit today

    This afternoon I'll make some test and then I'll send you (privately) the results

  14. Jason K

    13 Feb 2015 Pre-Release Testers

    Ok no problem. I look forward to it.

  15. 4 years ago

    Jason T

    25 May 2015 Pre-Release Testers, Xojo Pro Sydney, Australia

    Hi Jason

    Just bumping this old thread :-).

    I want to add APN to my app. Is this project still valid or is there a newer version?

    Jason

  16. Richard G

    16 Aug 2015 Pre-Release Testers Atlanta, GA

    Gentle bump too :)

  17. Jason K

    16 Aug 2015 Pre-Release Testers

    It wasn't possible before but maybe with the new beta. I'll have to do some testing.

  18. Richard G

    17 Aug 2015 Pre-Release Testers Atlanta, GA

    Thanks, at least saves me a rabbit hole if you say it wasn't possible before. :) That is the voice of knowledge on iOS.

  19. Jason T

    8 Sep 2015 Pre-Release Testers, Xojo Pro Sydney, Australia

    Hey @Jason K , there's another "push" for me to add APN to my app so I was just wondering whether you ever found the time to look any further into this?

  20. Jason K

    8 Sep 2015 Pre-Release Testers

    Not yet unfortunately. Maybe this weekend. Maybe next week. My schedule is hectic right now.

  21. Newer ›

or Sign Up to reply!