Skip to content

Quick Start is a sample application highlighting how to integrate LayerKit...

License

Notifications You must be signed in to change notification settings

rishi-lambe/quick-start-ios

 
 

Repository files navigation

Layer Quick Start for iOS

Example code for integrating LayerKit.

Quick Start is a sample application highlighting how to integrate LayerKit, the iOS SDK for the Layer communications platform. It presents a very simple example of a chat app using Layer.

Requirements

The Quick Start application requires Xcode and the iOS SDK v8.0. Dependencies are managed via CocoaPods to simplify installation.

Usage

  1. Clone the project from Github: $ git clone https://github.com/layerhq/quick-start-ios.git
  2. $ cd quick-start-ios
  3. Install the dependencies via CocoaPods: $ pod install
  4. Open QuickStart.xcworkspace in Xcode.
  5. Replace LAYER_APP_ID in LQSAppDelegate.m (line 16) with your App ID from the developer dashboard (http://developer.layer.com) under the "Keys" section. If you skip this step you will get an error on app launch.
  6. Build and run the Quick Start application on a Simulator and a physical Device to start a 1:1 conversation between them.

Quick-Start gif

NOTE: If you shake the Device the navbar color will change on both the Simulator and Device.

Highlights

Configuration

In order to populate the sample app with content, you must configure the following variable inside Constants.h:

  • LAYER_APP_ID: The Layer application identifier for you application.

The authentication process requires that you provide a sandbox app identifier that has been configured to use the Layer Identity Provider.

Credits

QuickStart was lovingly crafted in San Francisco by Abir Majumdar during his work on Layer. At Layer, we are building the Communications Layer for the Internet. We value, support, and create works of Open Source engineering excellence.

Abir Majumdar

License

QuickStart is available under the Apache 2 License. See the LICENSE file for more info.

About

Quick Start is a sample application highlighting how to integrate LayerKit...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 95.2%
  • Shell 4.5%
  • Ruby 0.3%