Skip to content

Latest commit

 

History

History
executable file
·
56 lines (37 loc) · 1.35 KB

v4.6.0 Update Guide.md

File metadata and controls

executable file
·
56 lines (37 loc) · 1.35 KB

v4.6.0 Update Guide

Goals of this update:

  • Allow Firebase dependencies to be added with pods
  • Simplify module names - ChatCore -> Core etc... so that the Cocoapods subspec names are the same as the main header file names
  • Simplify translation - all project translations move to core module

Bugs:

  • Fixed constraint issue when opening an image message

Steps:

  1. Add the following to your Podfile:
  pod "ChatSDK/UI", :path => "../"
  pod "ChatSDK/FirebaseAdapter", :path => "../"
  pod "ChatSDK/FirebaseFileStorage", :path => "../"
  pod "ChatSDK/FirebasePush", :path => "../"
  pod "ChatSDK/FirebaseSocialLogin", :path => "../"

Comment out any other lines related to the Chat SDK or Firebase.

  1. Delete the following files from your project:
ChatSDK[Swift].xcworkspace
Podfile.lock
Pods
  1. Run pod update

  2. Delete any Chat SDK Firebase code that you've added to your project directly

  3. (Swift) Update the ChatSDK-Bridging-Header file. Remove the following lines:

#import "FirebaseAdapter.h"
#import "BFirebasePushModule.h"
#import "BFirebaseFileStorageModule.h"
#import "BFirebaseSocialLoginModule.h"
  1. Update any imports

<ChatSDK/ChatCore.h> -> <ChatSDK/Core.h>

<ChatSDK/ChatUI.h> -> <ChatSDK/UI.h>

<ChatSDK/ChatCoreData.h> -> <ChatSDK/CoreData.h>

<ChatSDK/ChatFirebaseAdapter.h> -> <ChatSDK/FirebaseAdapter.h>