Integrate the Email SDK
Integrate the Email SDK into your application
Last updated
Integrate the Email SDK into your application
Last updated
To use the Email SDK in a Web or Node.js project, you must add @sudoplatform/sudo-email
as a dependency to your project.
To instantiate and initialize a client in your application, add the following:
Install pod dependencies by running the following command in your project directory:
This will update the local CocoaPods repository and install the latest version of the Email SDK.
To instantiate a client in your application, add the following:
You only need one client instance for a given user per device. Instantiating multiple clients with the same configuration and using them at the same time may cause unexpected runtime errors to occur.
The Android SDK is open source and compatible with Android 7 (API level 24) and above.
Add this line to the dependencies section of the app module build.gradle
and synchronize your project with Android Studio.
To instantiate a client in your application, add the following:
You only need one client instance for a given user per device. Instantiating multiple clients with the same configuration and using them at the same time may cause unexpected runtime errors to occur.
Add this line to your :
In order to instantiate an Email client, make sure you have followed instructions for , and (see above)
See it in action. Be sure to take a look at the on GitHub that our team published as a reference for integrating the Email SDK into your app as quickly and seamlessly as possible.
The latest version of the SDK can be found at .
In order to instantiate an Email client, make sure you have followed instructions for and and (see Prerequisities above)
See it in action. Be sure to take a look at the on Github that our team published as a reference for integrating the Email SDK into your app as quickly and seamlessly as possible.