
Firebase CloudMessaging具有服务器端API,您可以调用它们来发送消息。
发送消息就像使用
curlHTTP端点一样简单。
curl -X POST --header "Authorization: key=<API_ACCESS_KEY>" --Header "Content-Type: application/json" https://fcm.googleapis.com/fcm/send -d "{"to":"<YOUR_DEVICE_ID_TOKEN>","notification":{"body":"Yellow"},"priority":10}"欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)