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:
In the root of your application, install Capacitor:
Now, we need to copy the native platform template into your application:
To open the application in your IDE, run:
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.
Ionic with JavaScript framework
platform
The platform template to add (e.g. android
, ios
).
platform
The platform you are using (e.g. android
, ios
).