Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Candy 🍎 To Fire πŸš€ Push Notification πŸš€ With Custom Payloads 🀞

License

Notifications You must be signed in to change notification settings

karthiikmk/TestPushNotification

Repository files navigation

πŸš€ 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, karthik.samy@a-cti.com

License

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

About

Candy 🍎 To Fire πŸš€ Push Notification πŸš€ With Custom Payloads 🀞

Resources

License

Stars

Watchers

Forks

Packages

No packages published