This is an example Chat application that integrates Atlas + Layer with RingCaptcha
Objective-C Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ChatApp.xcodeproj
ChatApp.xcworkspace
ChatApp
ChatAppTests
Resources
.gitignore
CHANGES
LICENSE
Podfile
README.md

README.md

ChatApp with Layer Example

This repository contains an example project that includes the basics on how to implement a Chat application on iOS with messaging services provided by Layer, user interface components from Atlas and phone-based authentication service and two-step verification UI provided by RingCaptcha.

Requirements

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

Setup

  1. Clone the project from Github: $ git clone https://github.com/ringcaptcha/ChatApp-Layer-Example.git
  2. Install the dependencies in the root directory via CocoaPods: $ pod install
  3. Open ChatApp.xcworkspace in Xcode.
  4. Add a plist file named Secrets.plist under Resources with your RingCaptchaAppKey , RingCaptchaSecretKey , LayerAppId, and AuthenticationURL. -- AuthenticationURL must be a HTTP URL to GET with user and nonce parameters of the form: http://siteexample.com/layer/jwt?user=%@&nonce=%@
  5. Build and run the application on your Simulator and begin messaging!

Highlights

  • Uses RingCaptcha to perform two-step phone based authenticate to users.
  • Uses Atlas, Layer's UI components
  • Uses LayerKit for messaging

License

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