Skip to content

Latest commit

 

History

History

chat-ios

Amazon Chime SDK iOS Chat Demo

Overview

This application is designed in a way that can be used as a starting point for your own application, or as a quick way to explore the features of the Amazon Chime SDK messaging. Please read blog posts below to start with various features.

image

Prerequisites

  1. Deploy the AWS CloudFormation Template.
  2. Run the Amazon Chime SDK Chat Web Demo.
  3. Create Amazon Cognito Users OR Use Credential Exchange Service to join a chat session.
  4. You have installed Xcode version 11.0 or later.
  5. You have CocoaPods installed.

Build and Run iOS Chat Demo Application

  1. Clone the project from Github.
    git clone https://github.com/aws-samples/amazon-chime-sdk.git
    
  2. Navigate to the root folder of the iOS chat demo application.
    cd apps/chat-ios
    
  3. Install dependencies.
    pod install
    
  4. Open AmazonChimeMessagingSDKDemo.xcworkspace using Xcode.
  5. Open AmazonChimeMessagingSDKDemo/amplifyconfiguration.json and update the configuration with the values from outputs from the deployment of AWS CloudFormation template.
  6. Open AmazonChimeMessagingSDKDemo/AppConfiguration.swift and update the configuration.
  7. Run the application on a simulator or a physical device. Sign in with username and password of desired Amazon Cognito user or via Credential Exchange Service.