How to implement APNS server using EasyAPNS?

0

I'm trying to use EasyAPNS in a project for iOS 8. But because the project is old and there are no updates to it, I'm having problems.

More specifically, regarding the server, which although correctly configured according to Raphael Caixeta's video tutorial, presents the following problem in the log file:

  

10-Nov-2014 20:18:03 America / Sao_Paulo] PHP Fatal error: Push Badge   must be either Enabled or Disabled.

     

1) APNS :: __ construct - > File: apns.php (line 55) 2)   APNS :: _ registerDevice - > File: class_APNS.php (line 252) 3)   APNS :: _ triggerError - > File: class_APNS.php (line 319)

     

in /home/pensesof/public_html/apns/classes/class_APNS.php on line 706

Does anyone use or are using EasyAPNS on current projects?

    
asked by anonymous 11.11.2014 / 00:11

1 answer

0

Well, thanks for the help!

I gave up using EasyAPNS because it was giving a lot of trouble, and I did a reusing the source code of the tutorial of www.raywenderlich.com.

For anyone looking for a copy of the tutorial source code here: link

Based on this file, I created a simple server.

    
21.11.2014 / 21:41