diff --git a/README.md b/README.md
index 97869aa..1fe3c7e 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
3. [Prerequisites](#prerequisites)
- [Android](#android)
- [Add Plugin](#add-plugin)
- - [Hilt](#hilt)
+ - [Authentication](#authentication)
- [iOS](#ios)
- [Require Configurations](#require-configurations)
- [Info.plist Changes](#infoplist-changes)
@@ -29,12 +29,11 @@ In Flutter Plugin , you'll find a range of powerful features designed to enhance
2. **Participant Panel**: Manage and monitor participants in real-time meetings or video calls for a seamless user experience.
-3. **Virtual Background**: Customize the background of your video calls, adding a touch of professionalism or fun to your communication.
+3. **Screen Sharing and Whiteboard Sharing**: Empower collaboration by sharing your screen or using a virtual whiteboard during meetings or video conferences.
-4. **Screen Sharing and Whiteboard Sharing**: Empower collaboration by sharing your screen or using a virtual whiteboard during meetings or video conferences.
+4. **Group Conversation**: Easily engage in text-based conversations with multiple participants in one chat group.
-5. **Group Conversation**: Easily engage in text-based conversations with multiple participants in one chat group.
-6. **Inspect Call Health**: Monitor the quality and performance of your audio and video calls to ensure a seamless communication experience.
+5. **Inspect Call Health**: Monitor the quality and performance of your audio and video calls to ensure a seamless communication experience.
## Prerequisites
@@ -44,73 +43,36 @@ Before you begin, ensure you have met the following requirements:
### Android:
#### Add plugin:
-You need to add the necessary configurations to your project's `pubspec.yaml` file:
+1. You need to add the necessary configurations to your project's `pubspec.yaml` file:
```yaml
coresdk_plugin:
git:
url: https://github.com/JioMeet/JioMeetCoreTemplateSDK_Flutter.git
- ref: 0.0.16
+ ref: 0.0.17
```
+#### Authentication
+2. Add `credentials.properties` File to Your Project Root
-#### Hilt:
+To securely add your GitHub credentials, follow these steps to create a `credentials.properties` file in the root directory of your project:
-To set up Hilt in your flutter project, follow these steps:
+### Step 1: Generate a Personal Access Token for GitHub
-1. First, add the hilt-android-gradle-plugin plugin to your project’s root build.gradle file (**android/build.gradle**)
+1. Go to **Settings** > **Developer Settings** > **Personal Access Tokens** > **Tokens (classic)** > **Generate new token**.
+2. Select the following scope:
+ - `read:packages`
+3. Generate the token and **copy it immediately**. You cannot view the token again once you leave the page. If lost, you will need to generate a new one.
- ```gradle
- plugins {
- id("com.google.dagger.hilt.android") version "2.44" apply false
- }
- ```
-
-2. Add the Hilt dependencies to the app-level build.gradle(**android/app/build.gradle**)
-
- ```gradle
- plugins {
- kotlin("kapt")
- id("com.google.dagger.hilt.android")
- }
-
- android {
- ...
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_11
- targetCompatibility = JavaVersion.VERSION_11
- }
- }
-
- dependencies {
- implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
- implementation "com.google.dagger:hilt-android:2.44"
- kapt "com.google.dagger:hilt-android-compiler:2.44"
- }
- ````
-
-3. Create a Custom Application Class: If your users don't already have a custom Application class in their Android project, they should create one. This class will be used to initialize Hilt.
-
-```kotlin
-import android.app.Application;
-import dagger.hilt.android.HiltAndroidApp;
-
-@HiltAndroidApp
-class MyApplication : Application {
- // ...
-}
-```
+### Step 2: Create the `credentials.properties` File
-4. Modify AndroidManifest.xml: In the AndroidManifest.xml file of their app, users should specify the custom Application class they created as the application name. This tells Android to use their custom Application class when the app starts.
+1. In the root directory of your project, create a file named `credentials.properties`.
+2. Add the following content to the file, replacing placeholders with your actual GitHub credentials:
-```xml
-
- android:icon="@mipmap/ic_launcher"
- android:label="@string/app_name"
- android:theme="@style/AppTheme">
-
-
-```
+ ```properties
+ username=your-github-username
+ password=your-personal-access-token
+ ```
+
---
### iOS
### Require Configurations
@@ -162,7 +124,8 @@ final _jioCoreSdkPlugin = JioCoreSdkPlugin();
#### Join Meeting :
```dart
try {
-await _coresdkPlugin.launchMeetingCoreTemplateUi("meeting_id", "meeting_password", "meeting_title","pass bool value of isInitialAudioOn", "pass bool value of isInitialVideoOn");
+var meetingDetails = MeetingDetails(meetingId: "meeting_Id", meetingPin: "meeting_pin", displayName: "display_name", isInitialAudioOn: false, isInitialVideoOn: false, hostToken: "host_token");
+await _coresdkPlugin.launchMeetingCoreTemplateUi(meetingDetails);
} on PlatformException {
_meetingStatus = "error while joining";
}
@@ -205,6 +168,7 @@ we can find all feature flags in SetCoreSdkConfig class.
import 'dart:async';
import 'package:coresdk_plugin/coresdk_plugin.dart';
+import 'package:coresdk_plugin/meeting_details.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
@@ -256,8 +220,8 @@ class _MyAppState extends State {
TextButton(
onPressed: () async {
try {
- await _coresdkPlugin.launchMeetingCoreTemplateUi(
- "meeting_id", "meeting_password", "meeting_title");
+ var meetingDetails = MeetingDetails(meetingId: "meeting_id", meetingPin: "meeting_pin", displayName: "display_name", isInitialAudioOn: false, isInitialVideoOn: false, hostToken: "hostToken");
+ await _coresdkPlugin.launchMeetingCoreTemplateUi(meetingDetails);
} on PlatformException {
_meetingStatus = "error while joining";
}
diff --git a/android/build.gradle b/android/build.gradle
index d3fb2c8..5321bb8 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -1,11 +1,10 @@
group 'jio.coresdk.coresdk_plugin'
-version '0.0.16'
+version '0.0.17'
buildscript {
ext {
kotlin_version = '1.7.20'
- hiltVersion = "2.44"
}
repositories {
google()
@@ -15,20 +14,29 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltVersion"
}
}
-def credentialsProperties = new Properties()
-def credentialsPropertiesFile = rootProject.file('credentials.properties')
-if (credentialsPropertiesFile.exists()) {
- credentialsProperties.load(new FileInputStream(credentialsPropertiesFile))
+def properties = new Properties()
+def rootPropertiesFile = file("${rootDir}/../../credentials.properties")
+
+if (rootPropertiesFile.exists()) {
+ System.out.println("Exists")
+ rootPropertiesFile.withInputStream { stream ->
+ properties.load(stream)
+ }
+}
+
+def githubUsername = properties['username'] ?: ''
+def githubPassword = properties['password'] ?: ''
+
+if (!githubUsername || !githubPassword) {
+ throw new GradleException("GitHub credentials not found. Please ensure `credentials.properties` exists at the project root.")
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
-apply plugin: 'com.google.dagger.hilt.android'
android {
compileSdkVersion 31
@@ -61,8 +69,8 @@ rootProject.allprojects {
repositories {
maven {
credentials {
- username credentialsProperties['username']
- password credentialsProperties['password']
+ username githubUsername
+ password githubPassword
}
url = uri("https://maven.pkg.github.com/JioMeet/JioMeetCoreTemplateSDK_ANDROID")
}
@@ -75,7 +83,5 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10"
- api "com.google.dagger:hilt-android:$hiltVersion"
- kapt "com.google.dagger:hilt-android-compiler:$hiltVersion"
- implementation 'com.jiomeet.platform:jiomeetcoretemplatesdk:3.0.1-virgin-groups'
+ implementation 'com.jiomeet.platform:jiomeetcoretemplatesdk:4.1.1'
}
diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml
index 7137c0b..f553344 100644
--- a/android/src/main/AndroidManifest.xml
+++ b/android/src/main/AndroidManifest.xml
@@ -41,12 +41,21 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/android/src/main/java/jio/coresdk/coresdk_plugin/LaunchMeetingCoreTemplateUIActivity.kt b/android/src/main/java/jio/coresdk/coresdk_plugin/LaunchMeetingCoreTemplateUIActivity.kt
index 06efb7e..7c4abb5 100644
--- a/android/src/main/java/jio/coresdk/coresdk_plugin/LaunchMeetingCoreTemplateUIActivity.kt
+++ b/android/src/main/java/jio/coresdk/coresdk_plugin/LaunchMeetingCoreTemplateUIActivity.kt
@@ -1,27 +1,21 @@
package jio.coresdk.coresdk_plugin
-import android.content.Intent
-import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
+import android.util.Log
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContracts
-import androidx.compose.foundation.layout.Column
-import com.jiomeet.core.main.models.Audience
+import com.jiomeet.core.CoreApplication
+import com.jiomeet.core.constant.Constant
import com.jiomeet.core.main.models.JMJoinMeetingConfig
import com.jiomeet.core.main.models.JMJoinMeetingData
import com.jiomeet.core.main.models.JMMeetingUser
import com.jiomeet.core.main.models.Speaker
-import dagger.hilt.android.AndroidEntryPoint
-import org.jio.sdk.analytics.AnalyticsEvent
-import org.jio.sdk.common.customview.CustomView
-import org.jio.sdk.common.utilities.Log
+import com.jiomeet.core.utils.BaseUrl
import org.jio.sdk.sdkmanager.JioMeetConnectionListener
-import org.jio.sdk.templates.core.CoreNav
-import org.jio.sdk.templates.core.model.CoreData
+import org.jio.sdk.templates.core.LaunchCore
-@AndroidEntryPoint
class LaunchMeetingCoreTemplateUIActivity : ComponentActivity() {
private val jioMeetConnectionListener = object : JioMeetConnectionListener {
override fun onLeaveMeeting() {
@@ -53,6 +47,7 @@ class LaunchMeetingCoreTemplateUIActivity : ComponentActivity() {
Toast.makeText(applicationContext, getString(R.string.internet_message),Toast.LENGTH_SHORT).show()
finish()
} else if (HelperClass.checkPermission(this)) {
+ CoreApplication().recreateModules(this@LaunchMeetingCoreTemplateUIActivity)
openMeetingCoreTemplateUI()
} else{
requestPermissionLauncher.launch(PermissionConstant.requiredPermissions)
@@ -66,10 +61,13 @@ class LaunchMeetingCoreTemplateUIActivity : ComponentActivity() {
val displayName = data?.getString(Constants.MeetingDetails.DISPLAYNAME) ?: ""
val isInitialAudioOn = data?.getBoolean(Constants.MeetingDetails.ISINITIALAUDIOON) ?: false
val isInitialVideoOn = data?.getBoolean(Constants.MeetingDetails.ISINITIALVIDEOON) ?: false
+ val hostToken = data?.getString(Constants.MeetingDetails.HOSTTOKEN) ?: null
+
val jmJoinMeetingData = JMJoinMeetingData(
meetingId = meetingId,
meetingPin = meetingPin,
displayName = displayName,
+ hostToken = hostToken,
version = "",
deviceId = ""
@@ -80,17 +78,11 @@ class LaunchMeetingCoreTemplateUIActivity : ComponentActivity() {
isInitialVideoOn = isInitialVideoOn,
)
setContent {
- val coreData = CoreData(
- clientToken = "",
- coreListener = jioMeetConnectionListener,
- hostToken = "null",
+ LaunchCore(
+ jioMeetConnectionListener = jioMeetConnectionListener,
jmJoinMeetingConfig = jmJoinMeetingConfig,
jmJoinMeetingData = jmJoinMeetingData
)
- Column {
- Log.d("**CoreScreen","$coreData")
- CoreNav(coreData = coreData)
- }
}
}
}
\ No newline at end of file
diff --git a/android/src/main/kotlin/jio/coresdk/coresdk_plugin/Constants.kt b/android/src/main/kotlin/jio/coresdk/coresdk_plugin/Constants.kt
index 8d5088d..a670d68 100644
--- a/android/src/main/kotlin/jio/coresdk/coresdk_plugin/Constants.kt
+++ b/android/src/main/kotlin/jio/coresdk/coresdk_plugin/Constants.kt
@@ -7,6 +7,7 @@ class Constants {
const val DISPLAYNAME = "displayName"
const val ISINITIALAUDIOON = "isInitialAudioOn"
const val ISINITIALVIDEOON = "isInitialVideoOn"
+ const val HOSTTOKEN = "host_token"
}
object MethodNames {
@@ -20,5 +21,6 @@ class Constants {
const val RC = "rc"
const val PRESTAGE = "prestage"
const val VirginGroups = "virginGroups"
+ const val Prod = "prod"
}
}
\ No newline at end of file
diff --git a/android/src/main/kotlin/jio/coresdk/coresdk_plugin/JioCoreSdkPlugin.kt b/android/src/main/kotlin/jio/coresdk/coresdk_plugin/JioCoreSdkPlugin.kt
index d19b185..e91d47b 100644
--- a/android/src/main/kotlin/jio/coresdk/coresdk_plugin/JioCoreSdkPlugin.kt
+++ b/android/src/main/kotlin/jio/coresdk/coresdk_plugin/JioCoreSdkPlugin.kt
@@ -32,30 +32,40 @@ class JioCoreSdkPlugin : FlutterPlugin, MethodCallHandler {
override fun onMethodCall(call: MethodCall, result: Result) {
when (call.method) {
Constants.MethodNames.LAUNCHMEETINGCORETEMPLATEUI -> {
- val bundle: Bundle = Bundle().apply {
- putString(
- Constants.MeetingDetails.MEETINGID,
- call.argument("meetingId").toString()
- )
- putString(
- Constants.MeetingDetails.MEETINGPIN,
- call.argument("meetingPin").toString()
- )
- putString(
- Constants.MeetingDetails.DISPLAYNAME,
- call.argument("displayName").toString()
- )
- putBoolean(
- Constants.MeetingDetails.ISINITIALAUDIOON,
- call.argument("isInitialAudioOn") ?: false
- )
- putBoolean(
- Constants.MeetingDetails.ISINITIALVIDEOON,
- call.argument("isInitialVideoOn") ?: false
- )
+ val meetingDetailsJson = call.argument("meeting_details").toString()
+ val meetingDetails = MeetingDetails.fromJson(meetingDetailsJson)
+ meetingDetails?.let {
+ val bundle : Bundle = Bundle().apply {
+ putString(
+ Constants.MeetingDetails.MEETINGID,
+ it.meetingId
+ )
+ putString(
+ Constants.MeetingDetails.MEETINGPIN,
+ it.meetingPin
+ )
+
+ putString(
+ Constants.MeetingDetails.HOSTTOKEN,
+ it.hostToken
+ )
+
+ putString(
+ Constants.MeetingDetails.DISPLAYNAME,
+ it.displayName
+ )
+ putBoolean(
+ Constants.MeetingDetails.ISINITIALAUDIOON,
+ it.isInitialAudioOn
+ )
+ putBoolean(
+ Constants.MeetingDetails.ISINITIALVIDEOON,
+ it.isInitialVideoOn
+ )
+ }
+ launchNativeActivity(bundle = bundle)
+ result.success("")
}
- launchNativeActivity(bundle = bundle)
- result.success("")
}
Constants.MethodNames.SETENVIRONMENT -> {
@@ -63,9 +73,12 @@ class JioCoreSdkPlugin : FlutterPlugin, MethodCallHandler {
Constants.Environments.PRESTAGE -> Constant.Environment.PRESTAGE
Constants.Environments.RC -> Constant.Environment.RC
Constants.Environments.VirginGroups -> Constant.Environment.VirginGroups
- else -> Constant.Environment.PROD
+ Constants.Environments.Prod -> Constant.Environment.PROD
+ else -> {
+ Constant.Environment.PROD
+ }
}
- BaseUrl.initializedNetworkInformation(context, selectedEnvironment = environment)
+ BaseUrl.initializedNetworkInformation(selectedEnvironment = environment)
}
Constants.MethodNames.SETCORESDKCONFIG -> {
@@ -83,6 +96,7 @@ class JioCoreSdkPlugin : FlutterPlugin, MethodCallHandler {
isRecordingEnabled = it.isRecordingEnabled
isShareEnabled = it.isShareEnabled
isVirtualBackgroundEnabled = it.isVirtualBackgroundEnabled
+ isReactionEnabled = it.isReactionEnabled
}
JioMeetCoreTemplateUiConfig.FeatureManager.TopControlBar.apply {
showAudioOptions = it.showAudioOptions
@@ -90,7 +104,6 @@ class JioCoreSdkPlugin : FlutterPlugin, MethodCallHandler {
showMeetingTimer = it.showMeetingTimer
showMeetingTitle = it.showMeetingTitle
showConnectionStateIndicator = it.showConnectionStateIndicator
-
}
}
}
diff --git a/android/src/main/kotlin/jio/coresdk/coresdk_plugin/SetCoreSdkConfig.kt b/android/src/main/kotlin/jio/coresdk/coresdk_plugin/SetCoreSdkConfig.kt
index f537ed3..398aa00 100644
--- a/android/src/main/kotlin/jio/coresdk/coresdk_plugin/SetCoreSdkConfig.kt
+++ b/android/src/main/kotlin/jio/coresdk/coresdk_plugin/SetCoreSdkConfig.kt
@@ -15,7 +15,8 @@ data class SetCoreSdkConfig(
var showConnectionStateIndicator: Boolean,
var showAudioOptions: Boolean,
var showMeetingInfo: Boolean,
- var showMeetingTimer: Boolean
+ var showMeetingTimer: Boolean,
+ var isReactionEnabled: Boolean
) {
fun toJsonString(): String {
return Gson().toJson(this, SetCoreSdkConfig::class.java)
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index e8a6e3d..685d4b8 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -24,7 +24,6 @@ if (flutterVersionName == null) {
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
-apply plugin: 'com.google.dagger.hilt.android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
@@ -68,6 +67,4 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- api "com.google.dagger:hilt-android:$hiltVersion"
- kapt "com.google.dagger:hilt-android-compiler:$hiltVersion"
}
diff --git a/example/android/app/src/main/kotlin/jio/coresdk/coresdk_plugin_example/MainApplication.kt b/example/android/app/src/main/kotlin/jio/coresdk/coresdk_plugin_example/MainApplication.kt
index abb7bdb..738e2c3 100644
--- a/example/android/app/src/main/kotlin/jio/coresdk/coresdk_plugin_example/MainApplication.kt
+++ b/example/android/app/src/main/kotlin/jio/coresdk/coresdk_plugin_example/MainApplication.kt
@@ -1,8 +1,6 @@
package jio.coresdk.coresdk_plugin_example
import android.app.Application
-import dagger.hilt.android.HiltAndroidApp
-@HiltAndroidApp
class MainApplication: Application() {
}
\ No newline at end of file
diff --git a/example/android/build.gradle b/example/android/build.gradle
index 405202a..cd89d3a 100644
--- a/example/android/build.gradle
+++ b/example/android/build.gradle
@@ -1,6 +1,5 @@
buildscript {
ext.kotlin_version = '1.7.20'
- ext.hiltVersion = "2.44"
repositories {
google()
mavenCentral()
@@ -9,7 +8,6 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltVersion"
}
}
diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist
index 9625e10..7c56964 100644
--- a/example/ios/Flutter/AppFrameworkInfo.plist
+++ b/example/ios/Flutter/AppFrameworkInfo.plist
@@ -21,6 +21,6 @@
CFBundleVersion
1.0
MinimumOSVersion
- 11.0
+ 12.0
diff --git a/example/ios/Podfile b/example/ios/Podfile
index c64ed7b..154e217 100644
--- a/example/ios/Podfile
+++ b/example/ios/Podfile
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
-# platform :ios, '11.0'
+# platform :ios, '12.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
new file mode 100644
index 0000000..b06d421
--- /dev/null
+++ b/example/ios/Podfile.lock
@@ -0,0 +1,103 @@
+PODS:
+ - coresdk_plugin (0.0.1):
+ - Flutter
+ - JioMeetChatUIKit_iOS (= 4.0.7)
+ - JioMeetParticipantPanelSDK_iOS (= 4.0.7)
+ - JioMeetReactions_iOS (= 4.0.7)
+ - JioMeetUIKit_iOS (= 4.0.7)
+ - JioMeetVBGUIKit_iOS (= 4.0.7)
+ - Flutter (1.0.0)
+ - integration_test (0.0.1):
+ - Flutter
+ - JioMeetChatUIKit_iOS (4.0.7):
+ - JioMeetCoreSDK_iOS (= 4.0.7)
+ - JioMeetUIFoundation_iOS (= 4.0.7)
+ - JioMeetCoreSDK_iOS (4.0.7):
+ - JMMediaStackSDK_iOS (= 1.0.8-alpha.10)
+ - JioMeetParticipantPanelSDK_iOS (4.0.7):
+ - JioMeetCoreSDK_iOS (= 4.0.7)
+ - JioMeetUIFoundation_iOS (= 4.0.7)
+ - JioMeetReactions_iOS (4.0.7):
+ - JioMeetCoreSDK_iOS (= 4.0.7)
+ - JioMeetUIFoundation_iOS (= 4.0.7)
+ - lottie-ios (~> 4.3)
+ - JioMeetUIFoundation_iOS (4.0.7):
+ - JioMeetCoreSDK_iOS (= 4.0.7)
+ - JioMeetUIKit_iOS (4.0.7):
+ - JioMeetCoreSDK_iOS (= 4.0.7)
+ - JioMeetUIFoundation_iOS (= 4.0.7)
+ - JioMeetVBGUIKit_iOS (4.0.7):
+ - JioMeetCoreSDK_iOS (= 4.0.7)
+ - JioMeetUIFoundation_iOS (= 4.0.7)
+ - JMMediaStackSDK_iOS (1.0.8-alpha.10):
+ - JMMediaWebRtc_iOS (= 1.0.0)
+ - JMMMWormhole (~> 3.0.0)
+ - JMWebRtcVad (~> 3.0.0)
+ - Socket.IO-Client-Swift (~> 16.1.0)
+ - Starscream (~> 4.0.6)
+ - SwiftyJSON
+ - JMMediaWebRtc_iOS (1.0.0)
+ - JMMMWormhole (3.0.2):
+ - JMMMWormhole/Core (= 3.0.2)
+ - JMMMWormhole/Core (3.0.2)
+ - JMWebRtcVad (3.0.0)
+ - lottie-ios (4.5.0)
+ - Socket.IO-Client-Swift (16.1.1):
+ - Starscream (~> 4.0.8)
+ - Starscream (4.0.8)
+ - SwiftyJSON (5.0.2)
+
+DEPENDENCIES:
+ - coresdk_plugin (from `.symlinks/plugins/coresdk_plugin/ios`)
+ - Flutter (from `Flutter`)
+ - integration_test (from `.symlinks/plugins/integration_test/ios`)
+
+SPEC REPOS:
+ trunk:
+ - JioMeetChatUIKit_iOS
+ - JioMeetCoreSDK_iOS
+ - JioMeetParticipantPanelSDK_iOS
+ - JioMeetReactions_iOS
+ - JioMeetUIFoundation_iOS
+ - JioMeetUIKit_iOS
+ - JioMeetVBGUIKit_iOS
+ - JMMediaStackSDK_iOS
+ - JMMediaWebRtc_iOS
+ - JMMMWormhole
+ - JMWebRtcVad
+ - lottie-ios
+ - Socket.IO-Client-Swift
+ - Starscream
+ - SwiftyJSON
+
+EXTERNAL SOURCES:
+ coresdk_plugin:
+ :path: ".symlinks/plugins/coresdk_plugin/ios"
+ Flutter:
+ :path: Flutter
+ integration_test:
+ :path: ".symlinks/plugins/integration_test/ios"
+
+SPEC CHECKSUMS:
+ coresdk_plugin: cf2e04e5963aa24b8ed76ad7b69e285ab4aaf91f
+ Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
+ integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
+ JioMeetChatUIKit_iOS: 3ce8d9598f349fbe311c3f44a2f4d1297474d49e
+ JioMeetCoreSDK_iOS: 726a244930880ef645af62f790fb0cea7479ac65
+ JioMeetParticipantPanelSDK_iOS: 0df24066c63a88c0a77d8ba859a6b9fa6552117b
+ JioMeetReactions_iOS: 86065bf3fb53c9dc5f10aa69133d8e8ab47c3fbb
+ JioMeetUIFoundation_iOS: da04a222383e66e261b1a3b5a830f34889f67ffb
+ JioMeetUIKit_iOS: 15a2914c0dc293f94cc1812b9577ffed74f94cde
+ JioMeetVBGUIKit_iOS: 18091892afb1c0974497dee4cd470692a94dbb4e
+ JMMediaStackSDK_iOS: 3c5fd93b159d5ad21c2e261fea36843edfd18620
+ JMMediaWebRtc_iOS: 48ef2f41b17ca0d7eb7943c9cdc2cf4e32569855
+ JMMMWormhole: 5f606b08c3e68c95c8d1e039b98f71f57b1e938a
+ JMWebRtcVad: 8753e4a9ce5b48e089c4077c05ce089d7daa63be
+ lottie-ios: a881093fab623c467d3bce374367755c272bdd59
+ Socket.IO-Client-Swift: 3614bea82ba005df1c2ff01154f4004993e05ad7
+ Starscream: 19b5533ddb925208db698f0ac508a100b884a1b9
+ SwiftyJSON: f5b1bf1cd8dd53cd25887ac0eabcfd92301c6a5a
+
+PODFILE CHECKSUM: c00921988137b5b0d02d6aaf459185f39d4df405
+
+COCOAPODS: 1.16.2
diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj
index f0ebddc..769cb26 100644
--- a/example/ios/Runner.xcodeproj/project.pbxproj
+++ b/example/ios/Runner.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 55;
+ objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
@@ -214,7 +214,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 1430;
+ LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
331C8080294A63A400263BE5 = {
diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
index 87131a0..8e3ca5d 100644
--- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -1,6 +1,6 @@
+
+
+
+
+
+
diff --git a/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift
index 70693e4..b636303 100644
--- a/example/ios/Runner/AppDelegate.swift
+++ b/example/ios/Runner/AppDelegate.swift
@@ -1,7 +1,7 @@
import UIKit
import Flutter
-@UIApplicationMain
+@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
diff --git a/example/lib/main.dart b/example/lib/main.dart
index 22189a6..d905f95 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -2,6 +2,7 @@ import 'dart:async';
import 'package:coresdk_plugin/Environment.dart';
import 'package:coresdk_plugin/coresdk_plugin.dart';
+import 'package:coresdk_plugin/meeting_details.dart';
import 'package:coresdk_plugin/set_coresdk_config.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
@@ -26,7 +27,7 @@ class _MyAppState extends State {
void initState() {
super.initState();
coreSdkPluginCallbacks();
- _coresdkPlugin.setEnvironment(NetWorkEnvironment.rc);
+ _coresdkPlugin.setEnvironment(NetWorkEnvironment.prod);
}
Future coreSdkPluginCallbacks() async {
@@ -57,7 +58,8 @@ class _MyAppState extends State {
TextButton(
onPressed: () async {
try {
- await _coresdkPlugin.launchMeetingCoreTemplateUi("meeting_id", "meeting_password", "meeting_name", false, false);
+ var meetingDetails = MeetingDetails(meetingId: "meeting_id", meetingPin: "meeting_pin", displayName: "display_name", isInitialAudioOn: false, isInitialVideoOn: false);
+ await _coresdkPlugin.launchMeetingCoreTemplateUi(meetingDetails);
} on PlatformException {
_meetingStatus = "error while joining";
}
diff --git a/example/pubspec.lock b/example/pubspec.lock
index 7d3a080..a1add1e 100644
--- a/example/pubspec.lock
+++ b/example/pubspec.lock
@@ -37,25 +37,25 @@ packages:
dependency: transitive
description:
name: collection
- sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
- version: "1.17.2"
+ version: "1.18.0"
coresdk_plugin:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
- version: "0.0.16"
+ version: "0.0.1"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
- sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
+ sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
url: "https://pub.dev"
source: hosted
- version: "1.0.5"
+ version: "1.0.8"
fake_async:
dependency: transitive
description:
@@ -68,10 +68,10 @@ packages:
dependency: transitive
description:
name: file
- sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
+ sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
url: "https://pub.dev"
source: hosted
- version: "6.1.4"
+ version: "7.0.0"
flutter:
dependency: "direct main"
description: flutter
@@ -86,10 +86,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
- sha256: "2118df84ef0c3ca93f96123a616ae8540879991b8b57af2f81b76a7ada49b2a4"
+ sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
url: "https://pub.dev"
source: hosted
- version: "2.0.2"
+ version: "2.0.3"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -105,6 +105,30 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
+ leak_tracker:
+ dependency: transitive
+ description:
+ name: leak_tracker
+ sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
+ url: "https://pub.dev"
+ source: hosted
+ version: "10.0.5"
+ leak_tracker_flutter_testing:
+ dependency: transitive
+ description:
+ name: leak_tracker_flutter_testing
+ sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.5"
+ leak_tracker_testing:
+ dependency: transitive
+ description:
+ name: leak_tracker_testing
+ sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.1"
lints:
dependency: transitive
description:
@@ -117,58 +141,58 @@ packages:
dependency: transitive
description:
name: matcher
- sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
+ sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev"
source: hosted
- version: "0.12.16"
+ version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
- sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
+ sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
- version: "0.5.0"
+ version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
- sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
+ sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
- version: "1.9.1"
+ version: "1.15.0"
path:
dependency: transitive
description:
name: path
- sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
+ sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
- version: "1.8.3"
+ version: "1.9.0"
platform:
dependency: transitive
description:
name: platform
- sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76"
+ sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65"
url: "https://pub.dev"
source: hosted
- version: "3.1.0"
+ version: "3.1.5"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
- sha256: "43798d895c929056255600343db8f049921cbec94d31ec87f1dc5c16c01935dd"
+ sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev"
source: hosted
- version: "2.1.5"
+ version: "2.1.8"
process:
dependency: transitive
description:
name: process
- sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09"
+ sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32"
url: "https://pub.dev"
source: hosted
- version: "4.2.4"
+ version: "5.0.2"
sky_engine:
dependency: transitive
description: flutter
@@ -186,18 +210,18 @@ packages:
dependency: transitive
description:
name: stack_trace
- sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
+ sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
- version: "1.11.0"
+ version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
- sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
+ sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
string_scanner:
dependency: transitive
description:
@@ -226,10 +250,10 @@ packages:
dependency: transitive
description:
name: test_api
- sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
+ sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.dev"
source: hosted
- version: "0.6.0"
+ version: "0.7.2"
vector_math:
dependency: transitive
description:
@@ -242,26 +266,18 @@ packages:
dependency: transitive
description:
name: vm_service
- sha256: c620a6f783fa22436da68e42db7ebbf18b8c44b9a46ab911f666ff09ffd9153f
- url: "https://pub.dev"
- source: hosted
- version: "11.7.1"
- web:
- dependency: transitive
- description:
- name: web
- sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
+ sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
- version: "0.1.4-beta"
+ version: "14.2.5"
webdriver:
dependency: transitive
description:
name: webdriver
- sha256: "3c923e918918feeb90c4c9fdf1fe39220fa4c0e8e2c0fffaded174498ef86c49"
+ sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e"
url: "https://pub.dev"
source: hosted
- version: "3.0.2"
+ version: "3.0.3"
sdks:
- dart: ">=3.1.0-185.0.dev <4.0.0"
- flutter: ">=3.3.0"
+ dart: ">=3.3.0 <4.0.0"
+ flutter: ">=3.18.0-18.0.pre.54"
diff --git a/ios/Classes/AVFoundation+Extension.swift b/ios/Classes/AVFoundation+Extension.swift
index 4366f47..5d50e06 100644
--- a/ios/Classes/AVFoundation+Extension.swift
+++ b/ios/Classes/AVFoundation+Extension.swift
@@ -2,7 +2,7 @@
// AVFoundation+Extension.swift
// JioMeetDemo
//
-// Created by Rohit41.Kumar on 22/05/23.
+// Created by Mani.Baratam on 22/05/23.
//
import Foundation
diff --git a/ios/Classes/JMMeetingHandler.swift b/ios/Classes/JMMeetingHandler.swift
index c50b8ad..35c863d 100644
--- a/ios/Classes/JMMeetingHandler.swift
+++ b/ios/Classes/JMMeetingHandler.swift
@@ -16,6 +16,7 @@ class JMMeetingHandler: NSObject {
private var jwToken = ""
private var userID = ""
func showJioMeetView(data: [String: Any]) {
+ guard let meeting_details = data["meeting_details"] as? [String: Any] else { return }
DispatchQueue.main.async {
if let topVC = UIApplication.getTopViewController() {
self.jioMeetView = JMMeetingView()
@@ -29,18 +30,21 @@ class JMMeetingHandler: NSObject {
self.jioMeetView.bottomAnchor.constraint(equalTo: topVC.view.bottomAnchor),
])
- let meetingID = data["meetingId"] as? String ?? ""
- let meetingPin = data["meetingPin"] as? String ?? ""
- let name = data["displayName"] as? String ?? ""
+ let meetingID = meeting_details["meetingId"] as? String ?? ""
+ let meetingPin = meeting_details["meetingPin"] as? String ?? ""
+ let name = meeting_details["displayName"] as? String ?? ""
+ let isInitialAudioOn = meeting_details["isInitialAudioOn"] as? Bool ?? false
+ let isInitialVideoOn = meeting_details["isInitialVideoOn"] as? Bool ?? false
+ let hostToken = meeting_details["hostToken"] as? String ?? ""
let meetingData = JMJoinMeetingData(
meetingId: meetingID ,
meetingPin: meetingPin,
displayName: name)
let meetingCongfig = JMJoinMeetingConfig(
- userRole: .speaker,
- isInitialAudioOn: false,
- isInitialVideoOn: false)
+ userRole: hostToken.isEmpty ? .speaker : .host(hostToken: hostToken),
+ isInitialAudioOn: isInitialAudioOn,
+ isInitialVideoOn: isInitialVideoOn)
self.jioMeetView.setParameters(params: [JMClientConstants.serverEnvironment.rawValue: self.environmentName])
self.jioMeetView.setParameters(params: ["jm_user_existing_id": self.userID, "jm_user_jwt_token": self.jwToken])
@@ -54,7 +58,11 @@ class JMMeetingHandler: NSObject {
func setEnvironment(data: [String: Any]) {
guard let enviroment = data["environmentName"] as? String else { return }
- self.environmentName = enviroment
+ if enviroment == "prod" {
+ self.environmentName = "production"
+ } else {
+ self.environmentName = enviroment
+ }
}
func enableRequiredFeaturesFromConfig(data: [String: Any]) {
@@ -99,6 +107,9 @@ class JMMeetingHandler: NSObject {
if let showMeetingTitle = config["showMeetingTitle"] as? Bool {
JMUIKit.showMeetingTitle = showMeetingTitle
}
+ if let reactionEnable = config["isReactionEnabled"] as? Bool {
+ JMUIKit.isReactionsEnabled = reactionEnable
+ }
JMUIKit.showThankYouScreen = false
}
diff --git a/ios/coresdk_plugin.podspec b/ios/coresdk_plugin.podspec
index 1485e17..fb38cf4 100644
--- a/ios/coresdk_plugin.podspec
+++ b/ios/coresdk_plugin.podspec
@@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'coresdk_plugin'
- s.version = '0.0.16'
+ s.version = '0.0.17'
s.summary = 'A new Flutter plugin project.'
s.description = <<-DESC
A new Flutter plugin project.
@@ -15,8 +15,11 @@ A new Flutter plugin project.
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
- s.dependency 'JioMeetUIKit_iOS', '2.6.3'
- s.dependency 'JioMeetParticipantPanelSDK_iOS', '2.6.3'
+ s.dependency 'JioMeetUIKit_iOS', '4.0.7'
+ s.dependency 'JioMeetParticipantPanelSDK_iOS', '4.0.7'
+ s.dependency 'JioMeetChatUIKit_iOS', '4.0.7'
+ s.dependency 'JioMeetVBGUIKit_iOS', '4.0.7'
+ s.dependency 'JioMeetReactions_iOS', '4.0.7'
s.platform = :ios, '11.0'
# Flutter.framework does not contain a i386 slice.
diff --git a/lib/Environment.dart b/lib/Environment.dart
index d119722..9799fa6 100644
--- a/lib/Environment.dart
+++ b/lib/Environment.dart
@@ -2,4 +2,5 @@ enum NetWorkEnvironment {
prestage,
rc,
virginGroups,
+ prod
}
diff --git a/lib/coresdk_plugin.dart b/lib/coresdk_plugin.dart
index b0acadd..43749b3 100644
--- a/lib/coresdk_plugin.dart
+++ b/lib/coresdk_plugin.dart
@@ -1,13 +1,13 @@
import 'package:coresdk_plugin/Environment.dart';
import 'package:coresdk_plugin/set_coresdk_config.dart';
-
+import 'package:coresdk_plugin/meeting_details.dart';
import 'coresdk_plugin_platform_interface.dart';
class JioCoreSdkPlugin {
- Future launchMeetingCoreTemplateUi(String meetingId, String meetingPin, String name, bool isInitialAudioOn, bool isInitialVideoOn) {
- return CoreSdkPluginPlatform.instance.launchMeetingCoreTemplateUi(meetingId, meetingPin, name, isInitialAudioOn, isInitialVideoOn);
+ Future launchMeetingCoreTemplateUi(MeetingDetails meeting_details) {
+ return CoreSdkPluginPlatform.instance.launchMeetingCoreTemplateUi(meeting_details);
}
Future setEnvironment(NetWorkEnvironment environment) {
diff --git a/lib/coresdk_plugin_method_channel.dart b/lib/coresdk_plugin_method_channel.dart
index 7f4a3eb..ffe9e99 100644
--- a/lib/coresdk_plugin_method_channel.dart
+++ b/lib/coresdk_plugin_method_channel.dart
@@ -4,6 +4,7 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'coresdk_plugin_platform_interface.dart';
+import 'meeting_details.dart';
/// An implementation of [CoreSdkPluginPlatform] that uses method channels.
class MethodChannelCoreSdkPlugin extends CoreSdkPluginPlatform {
@@ -12,21 +13,14 @@ class MethodChannelCoreSdkPlugin extends CoreSdkPluginPlatform {
final methodChannel = const MethodChannel('coresdk_plugin');
@override
- Future launchMeetingCoreTemplateUi(
- String meetingId,
- String meetingPin,
- String name,
- bool isInitialAudioOn,
- bool isInitialVideoOn) async {
+ Future launchMeetingCoreTemplateUi(MeetingDetails meeting_details) async {
+ final Map meeting_details_json = {
+ 'meeting_details': meeting_details.toJson(),
+ };
+
+
return await methodChannel.invokeMethod(
- 'launchMeetingCoreTemplateUi',
- MeetingDetails(
- meetingId: meetingId,
- meetingPin: meetingPin,
- displayName: name,
- isInitialAudioOn: isInitialAudioOn,
- isInitialVideoOn: isInitialVideoOn)
- .toJson());
+ 'launchMeetingCoreTemplateUi',meeting_details_json);
}
@override
diff --git a/lib/coresdk_plugin_platform_interface.dart b/lib/coresdk_plugin_platform_interface.dart
index 423d02a..f65721d 100644
--- a/lib/coresdk_plugin_platform_interface.dart
+++ b/lib/coresdk_plugin_platform_interface.dart
@@ -2,6 +2,7 @@ import 'package:coresdk_plugin/set_coresdk_config.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
import 'coresdk_plugin_method_channel.dart';
+import 'meeting_details.dart';
abstract class CoreSdkPluginPlatform extends PlatformInterface {
/// Constructs a CoresdkPluginPlatform.
@@ -24,8 +25,7 @@ abstract class CoreSdkPluginPlatform extends PlatformInterface {
_instance = instance;
}
- Future launchMeetingCoreTemplateUi(String meetingId, String meetingPin,
- String name, bool isInitialAudioOn, bool isInitialVideoOn) {
+ Future launchMeetingCoreTemplateUi(MeetingDetails meeting_details) {
throw UnimplementedError(
'launchMeetingCoreTemplateUi has not been implemented.');
}
diff --git a/lib/meeting_details.dart b/lib/meeting_details.dart
index fa77fea..88a1d35 100644
--- a/lib/meeting_details.dart
+++ b/lib/meeting_details.dart
@@ -2,15 +2,19 @@ class MeetingDetails {
String meetingId;
String meetingPin;
String displayName;
- bool isInitialAudioOn = false;
- bool isInitialVideoOn = false;
+ bool isInitialAudioOn;
+ bool isInitialVideoOn;
+ String? hostToken;
MeetingDetails(
{required this.meetingId,
required this.meetingPin,
required this.displayName,
- required this.isInitialAudioOn,
- required this.isInitialVideoOn});
+ this.isInitialAudioOn = false,
+ this.isInitialVideoOn = false,
+ this.hostToken,
+
+ });
Map toJson() {
return {
@@ -18,7 +22,8 @@ class MeetingDetails {
'meetingPin': meetingPin,
'displayName': displayName,
'isInitialAudioOn': isInitialAudioOn,
- 'isInitialVideoOn': isInitialVideoOn
+ 'isInitialVideoOn': isInitialVideoOn,
+ 'hostToken': hostToken,
};
}
}
diff --git a/lib/set_coresdk_config.dart b/lib/set_coresdk_config.dart
index c9a7517..9f9de3a 100644
--- a/lib/set_coresdk_config.dart
+++ b/lib/set_coresdk_config.dart
@@ -12,6 +12,7 @@ class SetCoreSdkConfig {
bool showAudioOptions = false;
bool showMeetingInfo = false;
bool showMeetingTimer = false;
+ bool isReactionEnabled = false;
SetCoreSdkConfig(
{required this.enableFlipCamera,
@@ -26,7 +27,8 @@ class SetCoreSdkConfig {
this.showConnectionStateIndicator = false,
this.showAudioOptions = false,
this.showMeetingInfo = false,
- this.showMeetingTimer = false});
+ this.showMeetingTimer = false,
+ this.isReactionEnabled = false});
Map toJson() {
return {
@@ -42,7 +44,8 @@ class SetCoreSdkConfig {
'showConnectionStateIndicator': showConnectionStateIndicator,
'showAudioOptions': showAudioOptions,
'showMeetingInfo': showMeetingInfo,
- 'showMeetingTimer': showMeetingTimer
+ 'showMeetingTimer': showMeetingTimer,
+ 'isReactionEnabled': isReactionEnabled
};
}
}
diff --git a/pubspec.lock b/pubspec.lock
index d18539a..22cfaa4 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -37,10 +37,10 @@ packages:
dependency: transitive
description:
name: collection
- sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
- version: "1.17.2"
+ version: "1.18.0"
fake_async:
dependency: transitive
description:
@@ -58,15 +58,39 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
- sha256: "2118df84ef0c3ca93f96123a616ae8540879991b8b57af2f81b76a7ada49b2a4"
+ sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
url: "https://pub.dev"
source: hosted
- version: "2.0.2"
+ version: "2.0.3"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
+ leak_tracker:
+ dependency: transitive
+ description:
+ name: leak_tracker
+ sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
+ url: "https://pub.dev"
+ source: hosted
+ version: "10.0.5"
+ leak_tracker_flutter_testing:
+ dependency: transitive
+ description:
+ name: leak_tracker_flutter_testing
+ sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.5"
+ leak_tracker_testing:
+ dependency: transitive
+ description:
+ name: leak_tracker_testing
+ sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.1"
lints:
dependency: transitive
description:
@@ -79,42 +103,42 @@ packages:
dependency: transitive
description:
name: matcher
- sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
+ sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev"
source: hosted
- version: "0.12.16"
+ version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
- sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
+ sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
- version: "0.5.0"
+ version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
- sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
+ sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
- version: "1.9.1"
+ version: "1.15.0"
path:
dependency: transitive
description:
name: path
- sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
+ sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
- version: "1.8.3"
+ version: "1.9.0"
plugin_platform_interface:
dependency: "direct main"
description:
name: plugin_platform_interface
- sha256: "43798d895c929056255600343db8f049921cbec94d31ec87f1dc5c16c01935dd"
+ sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev"
source: hosted
- version: "2.1.5"
+ version: "2.1.8"
sky_engine:
dependency: transitive
description: flutter
@@ -132,18 +156,18 @@ packages:
dependency: transitive
description:
name: stack_trace
- sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
+ sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
- version: "1.11.0"
+ version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
- sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
+ sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
string_scanner:
dependency: transitive
description:
@@ -164,10 +188,10 @@ packages:
dependency: transitive
description:
name: test_api
- sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
+ sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.dev"
source: hosted
- version: "0.6.0"
+ version: "0.7.2"
vector_math:
dependency: transitive
description:
@@ -176,14 +200,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
- web:
+ vm_service:
dependency: transitive
description:
- name: web
- sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
+ name: vm_service
+ sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
- version: "0.1.4-beta"
+ version: "14.2.5"
sdks:
- dart: ">=3.1.0-185.0.dev <4.0.0"
- flutter: ">=3.3.0"
+ dart: ">=3.3.0 <4.0.0"
+ flutter: ">=3.18.0-18.0.pre.54"
diff --git a/pubspec.yaml b/pubspec.yaml
index da4c280..dfb0a38 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: coresdk_plugin
description: A new Flutter plugin project.
-version: 0.0.16
+version: 0.0.17
homepage:
environment: