APNS苹果消息推送服务
APNS - Apple Push Notification Service 's php extension
苹果消息推送服务,基于PHP 扩展(Extension) 所开发的APNS 消息推送模块
示例代码:
<?php apns::$passphrase ="xxxxx"; //password apns::$certificate="./ck.pem"; //certificate file try{ apns::connect(); $token=str_replace(" ","","811111111111111111111111111111"); echo apns::send($token,"{\"aps\":{\"alert\":\"test1\",\"badge\":1}}"); echo apns::send($token,"{\"aps\":{\"alert\":\"test2\",\"badge\":1}}"); }catch(exception $e){ echo $e->getMessage(); } ?>
评论
APNS/2Go 苹果消息推送
APNS/2是一个Go语言实现的ApplePushNotificationsoniOS,OSX和Safari开发包,使用全新的HTTP/2PushproviderAPI,特点是简单、灵活和快速。特性:
APNS/2Go 苹果消息推送
0
Knuff苹果推送消息服务调试应用
Knuff是APNs(ApplePushNotificationService,苹果信息推送服务)的调试应用。特性:向APNS(ApplePushNotificationService)发送推送通知非
Knuff苹果推送消息服务调试应用
0