Upgrade to Pro — share decks privately, control downloads, hide ads and more …

FirebaseでPush通知を送る

taminif
October 02, 2016

 FirebaseでPush通知を送る

taminif

October 02, 2016
Tweet

More Decks by taminif

Other Decks in Technology

Transcript

  1. APNs • Apple Push Notification service Certificates • Apple Developer͔Βμ΢ϯϩʔυՄೳ

    • Push NotificationΛONʹͨ͠΋ͷ • FirebaseެࣜͷGUIDES͕ࢀߟʹͳΓ·͢
  2. Firebase Messaging SDK • CocoaPodsͰΠϯετʔϧՄೳ • Firebase/Core • Firebase/Messaging •

    AppDelegate.swiftͰfirebaseΛimport͠ɺ
 ConfigureΛηοτ
 -> ࣍ͷϖʔδ
  3. Source Code(Swift3) func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?)

    -> Bool { // Override point for customization after application launch. // Use Firebase library to configure APIs FIRApp.configure() return true }