Skip to content

This is an example Chat application that integrates Atlas + Layer with RingCaptcha

License

Notifications You must be signed in to change notification settings

ringcaptcha/ChatApp-Layer-Example

Repository files navigation

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.

About

This is an example Chat application that integrates Atlas + Layer with RingCaptcha

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published