Catalyst :: Ver :: APNS Classificação e resumo
- Licença:
- Perl Artistic License
- Nome do editor:
- Soshi Tamura
- Site do editor:
- http://search.cpan.org/~haoyayoi/
Catalyst :: Ver :: APNS Tag
Catalyst :: Ver :: APNS Descrição
APNS Ver classe. Catalyst :: Ver :: APNS é Catalyst Exibir Classe Handler para Apple Push Notification Service.synopsis # lib / myapp / view / apns.pm Package MyApp :: Ver :: APNs; Use Base QW / Catalyst :: Ver :: APNs /; 1; # Configurar em lib / myapp.pm myapp-> config ({apns => {certification => cert #require para especificar private_key => chave #require para especificar}}); sub hello: local {my ($ auto, $ c) = @_; $ c-> STASH -> {APNS} = {Device_token => $ Device_token, mensagem => $ message, badge => $ crachá, sandbox => 0 | 1 #opcional}; $ c-> Forward ('MyApp :: Ver :: APNS'); } Use o ajudante para criar sua exibição: myapp_create.pl Ver requisitos de APNS APNS: · Perl.
Catalyst :: Ver :: APNS Software Relacionado