Chat APIs and In-app Messaging SDKs for Developers

Applozic provides Chat APIs and In-app Messaging SDKs for Android, iOS and Web apps to power cross-device, multi-platform rich messaging.
Find comprehensive guides and platform-specific Chat API documentation to get started with In-app Messaging.

Get Started    

React Native

React Native chat sdk

Get your Application Id

Sign up for Applozic to get your APP_ID from the install section of applozic console.

Install chat plugin

install plugin in root directory of your react-native project.

npm install react-native-applozic-chat

Android

Add applozic-chat in gradle

STEP 1: Open project's android/app/build.gradle file add below dependency

dependencies {
    ...
    compile project(':react-native-applozic-chat')
}

STEP 2: Open android/settings.gradle and include below.

include ':react-native-applozic-chat'
project(':react-native-applozic-chat').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-applozic-chat/android')

STEP 3: Add ApplozicChatPackage in MainApplication.java

import com.applozic.ApplozicChatPackage;

@Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),new ApplozicChatPackage()
      );
    }

AndroidManifest.xml

Add entries for permission, activities,meta in the manifest files from documentaion below.

https://docs.applozic.com/docs/android-chat-sdk#section-androidmanifest

iOS

Add Pod

Setup your Podfile located at /ios/Podfile and add below pod dependency.

pod 'Applozic', '~>6.9.0'

I do not have pod dependency

Check out how you can add pod in your react-native here

Add Bridge Files

STEP 1: Copy applozic folder from here to /ios/ folder to your project.

STEP 2: Open project from /ios/ folder in xcode.

Note

Please make sure to use .xcworkspace, not .xcproject after that.

STEP 3: Add all .h and .m files to your project from applozic folder in step (1)

What's Next

Authentication

Updated 6 months ago

React Native


React Native chat sdk

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.