Skip to content

Open-source Chat Push Notification App for Objective-C (iOS)

Notifications You must be signed in to change notification settings

stjordanis/ios-objective-c-chat-push-notification-app

Repository files navigation

ios-Objective-C-push-notifications-app



Platform Languages

Table of Contents

  1. Screenshots

  2. Installation

  3. Running the sample app

  4. Contributing

Screenshots

















Installation

Simply clone the project from iOS-swift-chat-app repository. After cloning the repository navigate to project's folder and use below command to install the require pods.

$ pod install

Build and run the Sample App.

Note :

If you are using Swift v4.2 or lower version of xcode than 10.2 then use pod CometChatPro_Swift4.2 or using Swift v5.0 and xcode 10.2+ then use pod CometChatPro inside the project's podfile.

Add CometChatPro SDK in project

CocoaPods:

We recommend using CocoaPods, as they are the most advanced way of managing iOS project dependencies. Open a terminal window, move to your project directory, and then update the SDK by running the following command.

$ pod install

If the pod installation fails due to Cocoapods dependancy issue then use the below command to install the framework through cocoapods.

 pod install --repo-update

Manually:

You can download the CometChatPro SDK from link below and manually add it in the project.

Download CometChatPro SDK from ios-chat-sdk



Running the sample app

To Run to sample App you have to do the following changes by Adding APP_ID and API_KEY and s user's UID for which you wants to send the push notification.

You can obtain your APP_ID and API_KEY from CometChat-Pro Dashboard

  • Open the project in Xcode.

  • Go to SampleApp-PushNotifications --> AppConstants.h.

  • modify apiKey and appID with your own API_KEY and APP_ID.

  • Enter toUserUID for which you wants to send the push notification.

Contribute

Feel free to make a suggestion by creating a pull request.

About

Open-source Chat Push Notification App for Objective-C (iOS)

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages