This article gives you an overview of the steps involved in integrating the Applozic iOS SDK.
The first step is installation. Where our iOS framework will be added to your project.
There are different ways to do it. Check out the detailed steps for installation here. Our preferred way of installation is Cocoapods.
Once the installation is done then the next step is authentication. Here your users will be authenticated before they can use the messaging feature.
It involves downloading
ALChatManagerfile and using the methods present in it to register/login a user. Check out our authentication section for detailed steps.
The next step is creating a conversation. Whether we want to create a new conversation or we want to show the list of conversations a user already has, this is the section you should check.
The first thing that we need to do is adding the permissions in
info.plist file. This will have a description of why certain features are used like Camera, Gallery, etc. Next is starting the conversation with a user or a group. Check out our Conversation section for detailed steps.
- One of the most important steps in this whole process is the
push notificationsetup. Only after this setup, you will receive real-time messages and notifications. Here we need to upload our APNS certificates on the Applozic dashboard. And add methods in the AppDelegate file required to register and receive push notifications.
Also, you need to add push notification capability in your project by going to the
Capabilities section in Xcode. Once this setup is done then we can receive the push notification in our app. Check out detailed steps here.
- If the above setup is done then we have already covered all the major points required to receive and send messages. We have a few more sections where we cover some topics like Contact setup(where we can create and show contacts), Customization (involving UI customization and feature settings), Localization, etc.
Updated 9 months ago