AWS meets Android - "AWS SDK for Android"で開発を楽にしよう!SORACOM, INC
はじめに 8月13日(現地時間)、Amazon SNS にモバイルデバイス用の新機能「Mobile Push」がリリースされました。これによって SNS と GCM を組み合わせたプッシュ通知機能を簡単に実装することができます。ちなみに iOS は APNS、Kindle Fire は ADM といったようにクロスプラットフォームなプッシュ通知を簡単に実装することができます。しかも100万件まで無料! ということでサクッとサンプルコードを試してみました。 ちなみに SNS ってなんじゃーってかたはこちらを、GCMについてはこちらをご参照ください! iOS 版はこちら! 事前準備 AWSアカウントの作成 Google APIアカウントの作成 (自分の Google アカウントで OK です) Google Play Services SDK のインポート AWS SDK for Java の
APNs に Push する配信サーバーの課題 みなさま、Amazon SNS (※以降 SNS) は活用されていますでしょうか? APNs (Apple Push Notification service) を利用してサーバーから iOS デバイスに Push 通知を送りたい、という要件はよくあると思います。 しかし次の記事にあるように、APNs の仕様上 エラーが発生したあとの Push 通知が無効になる という問題があります。ヘタすると 10 万ユーザーに送っているつもりが 1,000 ユーザーにしか届いていないという問題にもなりかねません。 Apple Push Notification Serviceのエラー処理について | hagino3000's blog また、APNs の仕様を読んでみると、次のような記述があります。 If you send a notification
※iOS Dev Centerの開発者のみ閲覧が可能な画面キャプチャの公開はNDA違反になるというご指摘を頂いた為削除しました。 最近、巷で話題?のBaasですが、古くはParse.comやらWindows Azure Mobile Serviceなどがあるわけですが、AWSのSimple Notification Service(SNS)にMobile Push機能が実装されたという事で試してみました。 今回はAmazon SNSのコンソール画面を使ってiOSアプリにメッセージを通知してみたいと思います。 実装するに辺り色々と準備することがあります。大枠は下記の通りです。 iOSに通知するメッセージを送るサーバーを準備(今回はAmazon SNSサービスを使用) 通知サービスが有効になったApp IDを作成 Apple Push Notification Service(APNs)とサー
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く