Started testing Silent Push Notifications again, after a pause, but this time it is not working at all. Really weird.
I had a look at the EDIT (the link you added) and followed your updated instructions. Deleted the main.m file in the Special folder and downloaded the main.m file in the first post and put it in my b4i project folder (c:\Anywhere Software\B4i\Project). Modified my server as you wrote in the first post and so forth...
I am testing this on my device, and not on the simulator. I have built the app in release mode using both my local MAC and the hosted compiler but no luck.
The Application_RemoteNotification sub/event is not triggering - I checked this using a local notification (as in your example) but also by monitoring the logs using iReleaseLogger.
I am wondering why you commented the following line in your example-code?
Code:
'#ProvisionFile: Push.mobileprovision
If I comment this line in my code, I get an error.
Of course, maybe the Apple-servers could be down but I have been trying this at different times during the day so I don't think so since Apple would surely ensure their servers would be up and running in a short time. Just to be sure I made a telnet connection from my server:
Code:
telnet gateway.sandbox.push.apple.com 2195
and it connected fine....
I am really getting lost here. Maybe the changes Apple did to Xcode 7 when it builds the project have broken something? Is it working for others?