This is a simple hybrid App (iOS, Cocoa, Objective-C)
- Load your site, for example : github profile
- Receive push notification token and messages.
-
Step 1 : First of all
pod install --verbose
Create Firebase project and replace the GoogleService-Info.plist file with yours. -
Step 2 : Build and run
Open Xcode project with "Cube.xcworkspace"
Build and run project -
Step 3 Check token and messages
Check token, for example : [dsmG***** ... ...]
Send messages with Firebase util.
pod 'Firebase/Core'
pod 'Firebase/Messaging'
-
CocoaPods : https://cocoapods.org
-
Firebase guide : https://firebase.google.com/docs/guides