Install SDK for Ionic
Use our Amity Social Cloud SDK with the 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.
We will walk you through the process of installing ionic and all the necessary dependencies for development.
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
In the root of your application, install Capacitor:
npm install @capacitor/core --save
Now, we need to copy the native platform template into your application:
ionic capacitor add <platform>
The platform template to add (e.g.
To open the application in your IDE, run:
npx cap open <platform>
The platform you are using (e.g.
For Android, it will open Android Studio. For iOS, it will open Xcode.
Now you’re ready to start integrating our chat SDK into your application.