Wise Android SDK (Java)
1. Prerequisites
Project specifications:
Minimum API: 23
Compile API: 33
Recommended target API: 33
Send an email to info@wiseapp.live to get your
VENDOR_IDandNAMESPACEto be used in the Android Integration steps below
2. Android SDK Integration
Gradle version older than 7.x.x
If you are on gradle version older than 7.x.x, add the below maven dependency to project level
build.gradlefileallprojects { repositories { google() mavenCentral() jcenter() **// START Wise SDK maven { url "<https://wise-maven.s3.ap-south-1.amazonaws.com/android/releases>" } // END Wise SDK** } }Gradle version greater than 7.x.x If you are using gradle plugin 7.x.x, add the maven depency to
settings.gradlefile located under project’s root directorydependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() jcenter() // Warning: this repository is going to shut down soon **// START Wise SDK maven { url "<https://wise-maven.s3.ap-south-1.amazonaws.com/android/releases>" } // END Wise SDK** } }Download Zoom SDK and import them as modules in your project. After unzipping the downloaded file, you will find two folders
mobilertcandcommonlibinside.Import the Zoom SDK by navigating to File → New → Import Module and select the folder. You need to do this step for both
mobilertcandcommonlibfolders.Open
app/build.gradleand add Wise and Zoom SDK dependencies and sync the project.
3. SDK Initialisation
In order to use the Wise SDK, it should be initialised first. This step can be done in your Application class or before starting / joining a meeting.
Set your Vendor ID and Namespace
Enable tracking meeting attentiveness
Set Lens icon
Enable / Disable screen capture
4. Joining a meeting
You can use joinMeeting() to join a meeting. The required {token} can be found in the {public link} of a classroom. To get the {public link} you should call /user/v2/classes/:classId API (documentation)
4.1 Join Meeting by Classroom ID
4.2 Join Meeting by Classroom Public ID
5. Login using SSO Token
To login into SDK using SSO Token, pass tho SSO token to loginUsingSSOToken() method.
To logout from SSO, call logoutSSO() method.
5. Meeting listeners
WiseSDKMeetingListener provides necessary callbacks to listen to meeting status.
6. Error Codes
In case of an error, onSDKError() will be triggered with an error code.
Error Code
Description
1
JWT Token error has occurred. This can be due to invalid vendor Id.
2
Zoom SDK failed to initialise.
3
Wise SDK failed to communicate with it’s servers.
4
Error fetching the SDK config
7. Proguard Rules
Add the below proguard rules to your proguard-rules.pro when minification is enabled.
Last updated