NSScreencast Episode #19 Push Notifications
Push Notifications - NSScreencast
- Provisioning Portal
- Urban Airship
- Upload certificate (.p12)
- Rails app
- gem 'urbanairship'
- initializers/urbanairship
- key, secret, master_secret
- Urbanairship.logger
- console
- Urbanairship.register_device("tokenxxxxx")
- notification = {:schedule_for, :device_tokens, :aps => {:alert, :badge}
- Urbanairship.push(notification)
- xcodeproj
- application didRegisterForRemoteNotificationsWithDeviceToken
- stringReplacingOccurrencesWithString
- application didFailToRegisterForRemoteNotificationsWithError
- get notification (test)
- see log in Organizer
- テストケース:アプリの起動中、停止中など
- [application setApplicationIconsBadgeNumber]
- application didRegisterForRemoteNotificationsWithDeviceToken
push ムズイ
Urban Airshipとは