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:
- 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.
- Delete the following files from your project:
ChatSDK[Swift].xcworkspace
Podfile.lock
Pods
-
Run
pod update
-
Delete any Chat SDK Firebase code that you've added to your project directly
-
(Swift) Update the ChatSDK-Bridging-Header file. Remove the following lines:
#import "FirebaseAdapter.h"
#import "BFirebasePushModule.h"
#import "BFirebaseFileStorageModule.h"
#import "BFirebaseSocialLoginModule.h"
- 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>