quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

NSScreencast Episode #19 Push Notifications

Push Notifications - NSScreencast

  • Provisioning Portal
    • App IDs
      • Enable for Apple Push Notification service
      • Development Push SSL certificate
  • 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]

push ムズイ

Urban Airshipとは