Ionic
Use our chat SDK to build high-performance messaging services for all platforms

Ionic Framework

We now support the Ionic framework in building your application using our web SDK. You can use our Chat natively to support your mobile or web applications built using the Ionic framework.
Since Ionic is an HTML5 framework, it needs a native wrapper to access native SDK functionalities and run as a native app. We recommend using Capacitor.
Capacitor will wrap your application in a native container so you can easily integrate our web SDK to run on iOS, Android, and web platforms.

Getting Started

We will walk you through the process of installing ionic and all the necessary dependencies for development.

Installing Ionic

Ionic comes with a convenient command line utility to start, build, and package Ionic apps. To install it, simply run:
1
sudo npm install -g @ionic/cli
Copied!

Adding Capacitor to your app

In the root of your application, install Capacitor:
1
npm install @capacitor/core --save
Copied!

Adding support for native platform

Now, we need to copy the native platform template into your application:
1
ionic capacitor add <platform>
Copied!
platform
The platform template to add (e.g. android, ios).

Opening the Application

To open the application in your IDE, run:
1
npx cap open <platform>
Copied!
platform
The platform you are using (e.g. android, ios).
For Android, it will open Android Studio. For iOS, it will open Xcode.

Where to go next

Now you’re ready to start integrating our chat SDK into your application.

Using our Chat SDK

Last modified 1mo ago