Add New App

  • Register App

    It is the package name of your Application class if you are using your own application. For White label app, Bundle Id is constant.
  • Register Firebase Account

    To enable push notifications in your application, please register your Firebase Cloud Messaging details with us.
    • If you already have an existing Firebase project, please visit Firebase to add Applications.
    • In case , you don’t have a Firebase account, create a new account by visiting Firebase Sign Up page and then create a project to add Android and/or IOS app.
    Register by uploading the JSON file here.
    Not sure about How to download this JSON file from Firebase, please visit this link to learn more.
    Json File Added
    To update Json File click here
  • Add SDK

    Adding the Chat SDK to your project
    • Add the eRTC SDK development pods to your Podfile.
      use_frameworks!
                      pod “eRCTSDK”
    • Run pod install to get the latest version of the code.
    • Run pod update to get the latest version of the code (optional for pod update).
    Read more on eRTC documentation
  • Add initialization Code

    Open the App Delegate and add the following code to initialise the chat

    Objective C

    AppDelegate.m -> application: didFinishLaunchingWithOptions

    #import <eRTC/eRTCSDK.h>
    Add the following code to the start of your
    didFinishLaunchingWithOptionsfunction:
    [eRTCSDK alloc]initWithApiKey:API_KEY];
  • Run your app to test

    You are ready to go !
    Refer eRTC documentation for more details.