Embedding ios SDK to build a business chat app



Similar documents
Tag Specification Document

Login with Amazon Getting Started Guide for ios

Tutorial: ios OData Application Development with REST Services. Sybase Unwired Platform 2.2 SP04

Send from your App Part 1

Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions

Building Applications with ArcGIS Runtime SDK for ios Part II. Eric Ito and Scott Sirowy

Optimize Your Earning Power with iad

Salesforce Mobile Push Notifications Implementation Guide

What s New in Security

ITP 342 Mobile App Dev. Alerts

Salesforce Mobile Push Notifications Implementation Guide

ios Development Tutorial Nikhil Yadav CSE 40816/60816: Pervasive Health 09/09/2011

BAM Checkout Mobile Implementation Guide for ios

An Introduction to Box.com

GETTING STARTED. AppSher In-App Analytics for ios

1. Introduction What is Axis Camera Station? What is Viewer for Axis Camera Station? AXIS Camera Station Service Control 5

What's New in Bomgar 13.1

TARGETPROCESS HELP DESK PORTAL

Foglight Application Performance Monitoring SaaS Edition Mobile App Developer Guide for ios Platforms

QGDocs Documentation. Release 1.0. QuantumGraph Engineers

Data storage and retrieval in ios

Supporting Apple ios Devices

Contents Release Notes System Requirements Administering Jive for Office

This guide is to help you get started with Live Chat Support on your Wix website. If you have any additional questions after reading this guide,

Gathering customer information from a mobile application James Adams, SAS Institute Inc.

Game Center Programming Guide

Praktikum Entwicklung von Mediensystemen mit ios

Learn iphone and ipad game apps development using ios 6 SDK. Beginning. ios 6 Games. Development. Lucas Jordan. ClayWare Games tm

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

ABTO Software VoIP SIP SDK for iphone Developer Manual

Contents Jive StreamOnce

Using Windows Azure Mobile Services to Cloud-Enable your ios Apps

The fabryq IoT prototyping platform

Star Micronics Cloud Services ios SDK User's Manual

Poking a Hole in the Sandbox: Using URLs on ios

1 Overview Configuration on MACH Web Portal 1

Citrix Worx App SDK Overview

Getting Started With AT&T Web Meeting

What s New in ios Notifications

Adobe Marketing Cloud ios SDK 4.x for Marketing Cloud Solutions

Soft Solutions, Inc. 4-Sight FAX 7.5. Getting Started. Soft Solutions, Inc.

MA-WA1920: Enterprise iphone and ipad Programming

CT30A8902 Service Oriented Architecture Exercises

Avigilon Control Center System Integration Guide

Brainshark/Salesforce.com Integration Installation Procedures

Egnyte for Salesforce v2.1 Administrator s Guide

Feature Sheet. Mobile Access. With INXPO s mobile experience, you can connect with your audience, anywhere at anytime!

Administering Jive for Outlook

MultiSite Manager. Setup Guide

INSTALLATION GUIDE. Installing PhoneBurner for Salesforce. PhoneBurner for Salesforce

Building the next generation of Mobile Apps with Facebook. Bo Zhang Head of Platform Partner Engineering, APAC

Software Development Kit for ios and Android

Datatrans ios Payment Library

Oracle Fusion Middleware

BOMGAR.COM BOMGAR VS. GOTOASSIST UPDATED: 9/8/2015

MOBILE APP TRAINING MANUAL

Work Together Tools Social Collaboration with Novell Vibe Cloud

Sophos Mobile Control Installation guide. Product version: 3

PEGA MOBILITY A PEGA PLATFORM WHITEPAPER

Phone: Fax: Box: 230

Supported Client Devices: - SIP/H.323 hardware and software end-points

Building Apps for iphone and ipad. Presented by Ryan Hope, Sumeet Singh

umobilecam Setup Guide All-in-One Mobile Surveillance for Android, ios, Mac, Windows Webcam, IP camera (version 1.0)

New Features in XE8. Marco Cantù RAD Studio Product Manager

Going Social with ReplayKit and Game Center

NAS 242 Using AiMaster on Your Mobile Devices

CONTENT PROTECTION DEVELOPER GUIDE

SPC Connect Configuration Manual V1.0

Marketo GoToWebinar Adapter. User Guide Version 3.5

Contents Jive for Outlook

Upgrading Your Development Skills to SharePoint 2013 Course 55014A; 5 Days, Instructor-led

Experimental Comparison of Hybrid and Native Applications for Mobile Systems

jfqbi= = eqji=qççäâáí= = = aéîéäçééêûë=dìáçé=== oéäé~ëé=oko=

REDCap project creation is not possible in the Mobile App

Kony Mobile Application Management (MAM)

Soonr Workplace Enterprise Plan Overview

Microsoft Tag Scanning SDK for iphone & Android Apps

DevOps Best Practices for Mobile Apps. Sanjeev Sharma IBM Software Group

Mobile Application Development

Donky Technical Overview

Integrating Cisco ISE with GO!Enterprise MDM Quick Start

THE NEW DIGITAL EXPERIENCE

Identity Implementation Guide

DroboAccess User Manual

Developing and deploying mobile apps

Netswipe Mobile Implementation Guide for ios

Employee Active Directory Self-Service Quick Setup Guide

SAS Drug Development Integration & PheedIt

First initial of their first name Last name sign Client ID (selected by Client upon isi set-up)

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

Please note that this SDK will only work with Xcode or above. If you need an SDK for an older Xcode version please support.

Portability Study of Android and ios

Sage CRM 7.3 SP2. Release Notes. Revision: SYS-REA-ENG-7.3SP2-1.0 Updated: April 2016

Getting Started. Send a file in 3 easy steps Quickly organize and share your files

Transcription:

Embedding ios SDK to build a business chat app Objective: To embed smart messaging and build an ios app for business communication between employees Implementation: 1. Add TeamchatSDK.framework to your project. 2. Add TeamchatSDK.framework to 'Embedded Binaries' field under 'General' tab of your project target. 3. Add TeamchatSDK.framework/TeamChat.momd folder to your project using the "Create folder references" option as shown below. Now project navigator will look like:

4. To support some HTTP requests in ios 9.0 and above, add the key 'NSAppTransportSecurity' as a dictionary in Info.plist of your project and within the dictionary add the key 'NSAllowsArbitraryLoads' with BOOL value 'YES'. Now you need to initialize the Teamchat object with appid in the AppDelegate method application:didfinishlaunchingwithoptions:. - (BOOL)application:(UIApplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions [Teamchat initializewithappid:<app ID> withcompletionhanlder:^(bool success, NSError *error) if (!success) [[[UIAlertView alloc] initwithtitle:@"failed" message:[error localizeddescription] delegate:nil cancelbuttontitle:@"ok" otherbuttontitles:nil, nil] show]; ]; return YES; Enable remote notifications by setting deviceid in the AppDelegate method application:didregisterforremotenotificationswithdevicetoken: - (void)application:(uiapplication *)application didregisterforremotenotificationswithdevicetoken:(nsdata *)devicetoken

[Teamchat setremotenotificationsdevicetoken:devicetokenstring]; You can login to Teamchat in two ways: 1. Set Authentication code, emailid and userid. [Teamchat setauthenticationcode:@"<auth-code>"]; [Teamchat setuseremailid:@"<email-id>"]; [Teamchat setuserid:@"<user-id>"]; 2. Use Teamchat login view controller. UIViewController *loginviewcontroller = [Teamchat teamchatloginviewcontroller:^(bool success, NSError *error, NSString *errmsg) // Successful login // Login error ]; if (loginviewcontroller) [self presentviewcontroller:loginviewcontroller animated:yes If you want to configure UI of the Teamchat screens, you can set them as follows: [Teamchat setnavigationtitle:@"chats"]; [Teamchat setnavigationtitlecolor:[uicolor greencolor]]; [Teamchat settableviewseparatorcolor:[uicolor redcolor]]; To get the chat groups list controller, you can use the following API: *errmsg) UIViewController *teamchatgroupsviewcontroller = [Teamchat TeamchatGroupsViewController]; if (teamchatgroupsviewcontroller) [self presentviewcontroller:teamchatgroupsviewcontroller animated:yes

]; called before calling groups list API. To get the chat window controller, you can use the following API: *errmsg) NSError *error; TeamchatGroup *group = [Teamchat teamchatgroupwithid:@"<groupid>" error:&error]; UIViewController *groupviewcontroller = [Teamchat createteamchatwindowviewcontrollerwithgroup:group]; if (groupviewcontroller) [self presentviewcontroller:groupviewcontroller animated:yes ]; called before calling chat window controller API. To get user profile view controller, you can use the following API: *errmsg)

UIViewController *userprofileviewcontroller = [Teamchat userprofileviewcontroller]; if (userprofileviewcontroller) [self presentviewcontroller:userprofileviewcontroller animated:yes ]; called before calling chat window controller API. To get the public groups view controller, you can use the following API: *errmsg) UIViewController *publicgroupsviewcontroller = [Teamchat publicgroupsviewcontroller:^(teamchatgroup *selectedgroup) if (selectedgroup) // Push the selected group's chat window. UIViewController *chatwindowviewcontroller = [Teamchat createteamchatwindowviewcontrollerwithgroup:selectedgroup]; if (chatwindowviewcontroller) [self.navigationcontroller pushviewcontroller:chatwindowviewcontroller animated:yes]; ]; if (publicgroupsviewcontroller) [self presentviewcontroller:publicgroupsviewcontroller animated:yes

]; called before calling public group API. To get Teamchat settings view controller, you can use the following API: *errmsg) UIViewController *settingsviewcontroller = [Teamchat settingsviewcontroller]; if (settingsviewcontroller) [self presentviewcontroller:settingsviewcontroller animated:yes ]; called before calling public group API. Teamchat is a messaging app for enterprises. It enables messaging among teams of any size (yes, unlimited!), by structuring the messages to reduce clutter. This is done through "smart" messages that aggregate, organize and summarize the responses, updating themselves without adding new messages to the conversation stream. Examples include polls, surveys, sales reports, registration forms, lookups and more. It's as simple as the other messaging apps, but a lot more powerful. Get your teams productive instantly with Teamchat.