Install SDK for Ionic

Use our Amity Social Cloud SDK with the Ionic Framework

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:

sudo npm install -g @ionic/cli 

Adding Capacitor to your app

In the root of your application, install Capacitor:

npm install @capacitor/core --save

Adding support for native platform

Now, we need to copy the native platform template into your application:

ionic capacitor add <platform>

Opening the Application

To open the application in your IDE, run:

npx cap open <platform>

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

  • Ionic with JavaScript framework

Last updated