タグ

2017年9月22日のブックマーク (2件)

  • Firebase Cloud Messaging

    Your server environment and FCM The server side of Firebase Cloud Messaging consists of two components: The FCM backend provided by Google. Your app server or other trusted server environment where your server logic runs, such as Cloud Functions for Firebase or other cloud environments managed by Google. Your app server or trusted server environment sends message requests to the FCM backend, which

    Firebase Cloud Messaging
    willnet
    willnet 2017/09/22
  • Apple Push Notification Serviceのエラー処理について

    iOSアプリにPush通知をするのに利用するApple Push Notification service(APNs)について。配信数がある程度の規模になると面倒事が増えるのでまとめた。 稿では疎結合なサービスとして稼動させるPush通知配信サーバーを考える。 Push通知配信サーバーの機能要件 個々のアプリケーションから分離したPush通知配信サーバーを考える場合、要件は大きく分けて次の二つになるだろう。 A. デバイストークンを溜め込んでおき、配信日時を指定して一斉に配信する ゲームのイベントが始まった事を全ユーザーに通知したい ユーザーセグメントを指定してキャンペーンの通知をしたい B. 都度送信対象のデバイスをアプリケーションから受け取って即時配信をする チャットルームで発言がある度に、チャットルームのメンバーに通知をしたい ユーザー間のmentionを通知したい Bの場合は、ア

    Apple Push Notification Serviceのエラー処理について
    willnet
    willnet 2017/09/22
    “8のInvalid tokenは実際に送るまでそうであると判定できない曲者”