FacebookやTwitter、LINEなど多くのサービスで使われているPUSH通知機能を実装してみます。証明書の準備やサーバ側の実装などの説明は省きますので、詳細に知りたい方は下記をご参考下さい。 * PUSH通知機能を持ったiPhoneアプリを作る(証明書の作成) * iPhoneアプリにPush通知機能を実装する方法のまとめ - もとまか日記 デバイスの登録 「デバイストークン」をサーバ側へ送信します。 PUSH通知を送る際には、このデバイストークンを指定してメッセージを送ります。 // アプリ起動時 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // PUSH通知を登録 [[UIApplication sh
仕事を持つ女性が一段と増えて来ています。 自立する女性が多くその結果、晩婚化や少子化の原因とも言われています。 しかしながら自分で生活して男性に頼らなくてもいいということは、女性のが男性に依存しなくてもいいので自由度が多くなって来たと言えるでしょう。 働きながらでも結婚して仕事を辞める事なくやっていく事も、可能になってきました。 今でもいわゆるマタニティハラスメントと呼ばれるものもあり、妊娠したら辞めるように言われる事もあるみたいですが働きながらでも育児休業を利用している人も多くいるのです。 しかし、そのような環境で勤務されている人もまた少ないのではないでしょうか? 公務員や大企業では、育児休業などもきちんととれると思いますが一般の中小企業では難しいものがあると思います。 今の時代は女性が働ける環境が整っているところは、まだ少ないと思います。 その上この不景気が続いていては、給料が少ないた
App開発チーム 【テラシュールウェア】 アプリ紹介/アップデート予告/unity関連/マイクラスキンこの記事は、前回の続き [Unity3D]ローカル通知を使う http://terasur.blog.fc2.com/blog-entry-184.html 前回はとりあえず通知は成功したけど、バッジが消せない問題が残った。 その問題の解消法がわかったので紹介。 ■バッジの数値を消す どうやらバッジが指定する数値は、applicationIconBadgeNumberが 「最後に指定した値」らしい。 これがわかればあとは簡単。 applicationIconBadgeNumberの数が0未満の通知を与えてやれば、バッジは消える。 また、ついでに通知センターに表示される履歴も消してやる。 これはNotificationServices.CancelAllLocalNotifications(
リモート通知はシュミレータではサポートされていないので実機転送する必要がある。 プロヴィジョニングプロファイルに含めるApp IDのBundle Identifierにワイルドカード(*)は使用出来ない。 作成したApp IDのConfigureでDevelopment Push SSL CertificateをEnabledにする必要がある。 App IDを作成後、作成されたAppIDを選択しEditボタンを押したら、Push Notifications の Development SSL Certificate の Create certificateボタンをおしてcertificateする必要があります。 認証局に証明書を要求する際に「鍵ペア情報を指定」にチェックを入れておく。 「アプリケーションの有効な"aps-environment"エンタイトルメント文字列が見つかりません」って
APNs(Apple Push Notification Service)のテストをしたのだが、本番(Production)で動かすとPush通知が来ない現象がおこった。大まかな構成は... iOS用アプリ・・・APNsよりトークンの取得、APNsからのPush通知の受け取り プロバイダー(Webサーバー)・・・任意デバイスへのPush情報をAPNsに送信 尚、iOSアプリは「Ad Hoc」、プロバイダーは「ApnsPHP」を使用した。 APNsの仕組みや具体的な実装については、「iPhoneアプリで稼げるのか」さんが、ApnsPHPは、「PROGRAMMING NOTE」さんが、それぞれ詳しく解説されていてとてもありがたい。 push-notificationの実装方法 Apple Push Notification サービス(APNs) の実装方法 Development用に実装した場
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く