Wise Flutter SDK
Send an email to info@wiseapp.live to get your VENDOR_ID and NAMESPACE to be used in the Android Integration steps below
1. Wise Flutter Package
Add wisesdk package to your pubspec.yaml and execute flutter pub get command to install the package.
dependencies:
wisesdk: 0.1.8Package home page:https://pub.dev/packages/wisesdk
2. Android Integration
Prerequisites
Project specifications:
Gradle 8.6
Kotlin Extension: 1.9.20
Minimum API: 24
Compile API: 34
Recommended target API: 34
Open
your_project_folder/adroid/build.gradleand add maven and jcenter repositories toallprojects
Download Zoom SDK and unzip the file. After unzipping the downloaded file, you will find
mobilertcinside.Move
mobilertcfolders intoflutter_project_folder/androidfolder.Open
android/settings.gradleand inlcude mobilertc and commonlib apps.
3. iOS Integration
Follow the iOS integration guide here.
4. SDK Initialisation
In order to use the Wise SDK, it should be initialised first.
Set your Vendor ID and Namespace
Set Lens icon (Optional)
Enable / Disable screen capture (Optional)
5. 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)
5.1 Join Meeting by Classroom Public ID
5.2 Join Meeting by Classroom ID
6. 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.
7. Meeting listeners
WiseSDKMeetingListener provides necessary callbacks to listen to meeting status.
8. Example
You can refer the full example here.
9. 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
10. Proguard Rules
Add the below proguard rules to your android/proguard-rules.pro when minification is enabled.
Last updated