C#のコード自体はこちらに。。。 https://github.com/Redth/APNS-Sharp このライブラリのおかげで楽々送信できました。 ところで、実はプロバイダーの開発よりも証明書の設定に非常に手間取りました。 Provisioning Portalの[App IDs]で、該当のApp IDのNotificationを有効にする。 有効にする際には、キーチェーンでCRSを作成し証明書を作成する。 .cerファイルをダウンロードし、キーチェーンの「ログイン」にインポートする。(ここがうまくいかなかったです。チュートリアルでは.cerをダブルクリックすると書いてあるんだけれども、私のMacの場合ダブルクリックすると[システム]にインストールされてしまうのです。キーチェーンのメニューで[ファイル]-[読み込む…]とポイントすることでダイアログが表示され、「ログイン」にインストール
Warning Apple will no longer support the legacy binary protocol after March 31, 2021. Java-Apns will stop working. See details in their announcement. It is recommended to use Pushy instead, which supports Apple's HTTP/2-based APNs protocol. Build status: Main fork Development Development - Version 1.0.0 There currently is a perelease for 1.0.0 which fixes a number of problems over 0.2.3. There's s
2011/11/14 : 追記 moruguさんに指摘頂いてdeviceTokenのPOST処理を追記しました。 連絡手段がなかったのでここにお礼として書いておきます。どもです! m(_ _)m iPhoneアプリ開発でプッシュ通知を使ったので、まとめ。 仕組み 1、APNsにPush通知許可の登録する。 2、APNsからデバイストークンが帰ってくる。 3、そのデバイストークンをサーバー(これは自分で用意します)に送ってDBなりに保存する。 4、サーバーからAPNsにPush通知依頼を出す。 5、APNsは登録済みの指定デバイスにPush通知を出す。 6、受け取ってAlert出すなり色々する。 実装前に準備 Push通知を行うには、iOSDeveloperCenterでPush通知用の証明書をインストールしたりしなければならない。 このフェーズは自分ではやってないので省略orz 参考サイト
perlハッカー1のドラゴンズファンと自負しております、typesterです。 今回はあんまりちゃんとした記事がないiPhoneのプッシュ通知の仕組みと、それをperlから実装するにはどうしたらええんじゃ、という話をします。 iPhoneプッシュ通知の概要 iPhoneのプッシュ通知とはサーバーアプリケーションからリアルタイムにiPhoneに通知を送ることができる仕組みのことで、 通知対象のiPhoneアプリケーションが起動していなくても、またiPhoneがロック状態であってもいつでも通知を送ることができます。 通知が送られるとiPhoneでは以下のような画面が表示され、その通知からアプリケーションを起動することができます。 iPhoneプッシュ通知の仕組み サーバーアプリケーション(通知プロバイダーと言います)はiPhoneに直接通知パケットを送るわけではなく、代わりにアップルが用意して
新作でTwitter,はてな,Google Readerから横断的に情報収集し、マルチポストするアプリを作っているのですが、そこでTwitterのリプライPush機能を実装したので、Push Notificationを実装する方法をまとめてみます。 Push Notificationの流れ Push Notificationに関する登場人物は、 iPhone Apple Push Notification Service(APNs) Provider の3者です。 iPhoneはいわずもがな、みんなの手元にあるiPhone。APNsはAppleが用意しているPushしてくれるやつです。Providerは、開発者が用意するもので、こいつがPushしたい情報を送る役割を持ちます。 この3者間でのデータの流れは大きくデバイス登録とPush通知の2つのフェーズに分かれます。 デバイス登録
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く