Catalyst :: View :: APNS.

APNS ºä Ŭ·¡½º
Áö±Ý ´Ù¿î·Îµå

Catalyst :: View :: APNS. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Soshi Tamura
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~haoyayoi/

Catalyst :: View :: APNS. ű×


Catalyst :: View :: APNS. ¼³¸í

APNS View Ŭ·¡½º Catalyst :: View :: APNÀº Apple Push Notification Service ¿ë Catalyst View Handler Ŭ·¡½ºÀÔ´Ï´Ù .Synopsis # lib / myApp / View / apns.pm ÆÐÅ°Áö MyApp :: View :: APNS; Base QW / Catalyst :: View :: APN /; 1; # lib / myApp.pm myApp-> config ({apns => {certification => cert => private_key => key #require¸¦ ÁöÁ¤ÇϱâÀ§ÇÑ }require}}); ÇÏÀ§ ¾È³çÇϼ¼¿ä : ·ÎÄà {³» ($ self, $ c) = @_; $ c-> stash -> {apns} = {device_token => $ device_token, message => $ message, badge => $ badge, sandbox => 0 | 1 #Optional}; $ c-> ¾ÕÀ¸·Î ( 'myApp :: View :: APN'); } µµ¿ì¹Ì¸¦ »ç¿ëÇÏ¿©º¸±â¸¦ ¸¸µì´Ï´Ù. myApp_create.plº¸±â APNS APNS ¿ä±¸ »çÇ× : ¡¤ Perl.


Catalyst :: View :: APNS. °ü·Ã ¼ÒÇÁÆ®¿þ¾î