From aeba503eba7ce107dc42e351fbdbff7e709efa65 Mon Sep 17 00:00:00 2001 From: rakeshtatekonda Date: Wed, 1 Nov 2017 18:20:23 +0530 Subject: [PATCH] README.md changes commit --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 43a0b1c..807af0e 100644 --- a/README.md +++ b/README.md @@ -128,10 +128,11 @@ If you haven't added NSAppTransportSecurity till now, add the below permissions -6. You can use ANA Chat SDK from anywhere using the below code +6. You should import ANAChat and can use ANA Chat SDK from anywhere using the below code Swift: + let storyboard = UIStoryboard(name: "SDKMain", bundle: CommonUtility.getFrameworkBundle()) let controller = storyboard.instantiateViewController(withIdentifier: "ChatViewController") as! ChatViewController controller.businessId = "#businessID" @@ -163,7 +164,7 @@ Note: 1. Use the above codes with valid businessID and baseAPIUrl If you wish to install ANAChat directly into your application from source, then clone the repository and add code and resources to your application: -1. Clone the respository and navigate to ANAChat-iOS-master/ANAChat/ and Drag and drop Classes folder from the an your project, instructing Xcode to copy items into your destination group's folder. +1. Clone the respository and navigate to ANAChat-iOS-master/ANAChat/ and Drag and drop Classes folder into your project, instructing Xcode to copy items into your destination group's folder. 2. FCM configuration is required to use this SDK please check the documentation [here](https://firebase.google.com/docs/cloud-messaging/ios/client) to install and configure.