CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

TestPushNotification 1.1

TestPushNotification 1.1

Maintained by karthik.



 
Depends on:
Alamofire~> 4.7
SwiftyJSON= 4.0
 

🚀 TestPushNotification 🚀

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

TestPushNotification is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'TestPushNotification'

🤞 Usage 🤞

        let authKey = "{your auth key goes here}"
         
        let fcmKey = ["c7igErTWSB0:APA91bFoYmSqQa-v-xZkpWRYvXWEfvE79fme4jVAQTTyhHjdFi6_Q9tP3uskevnnB2_5_WTeLkrCZyok2F_JFR3b2NgAoyEVCgwVWAgFcPZoRTZR5neaibqaTTgad4AyeOnew5sGEyHf"]
        
        let data = NotificationData(title: "Karthik", body: "Hi, there this is test")
        
        let pushData = PushNotificationData(authKey: authKey, fcmToken: fcmKey, notificationData: data)
        
        let testPush = TestPushManager(pushData: pushData)
        
        testPush.fire()

Author

karthikAdaptavant, [email protected]

License

TestPushNotification is available under the MIT license. See the LICENSE file for more info.