Skip to content

Commit

Permalink
README.md changes commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshtatekonda committed Nov 1, 2017
1 parent f1ddc89 commit aeba503
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit aeba503

Please sign in to comment.