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.
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!
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.
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 :)