Note: Xcode Version 8.0 (8A218a) was used to create this sample.
Building the sample:
- Get an API key from Flybits Inc.
- Set the API key in 'AppDelegate.swift' and then remove the 'assert' statement on line 27 and 28.
- Change the app bundle identfier i.e., com.mycompany.flybitslite_sample
- Fix certificate issues (if any)
- Build and run
To test APNs push:
- You have to create an app id on developer.apple.com
- Enable push for the app id, and generate a certifiate and download it to your keychain
- Export the certificate from your keychain (.p12)
Note: In keychain, certificates will be named as: Development: Apple Development IOS Push Services: com.mycompany.flybitslite_sample Production: Apple Push Services: com.mycompany.flybitslite_sample
- Upload the exported certificate (.p12 file) in developer.flybits.com under
APNs settingsfor the active project. - Test sending push message using 'Notification' moment or 'Push Portal'.
Screenshots:


