Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #332 from DolbyIO/release/3.8.1
Browse files Browse the repository at this point in the history
Release/3.8.1
  • Loading branch information
kbetl-dlb authored Apr 17, 2023
2 parents 647dbd9 + 285f6f2 commit 9c7fd4c
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.8.1

### Features

Introduced new methods and event handlers to the [NotificationService](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/NotificationService-class.html) that allow participants to [subscribe](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/NotificationService/subscribe.html) to and [unsubscribe](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/NotificationService/unsubscribe.html) from the preferred notifications.

## 3.8.1-beta.1

### Features
Expand Down
15 changes: 14 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.7.10'
ext.voxeet_sdk_version = "3.8.1"
ext.voxeet_sdk_version = "3.8.+"
ext.dagger_version = "2.40.5"
repositories {
google()
Expand Down Expand Up @@ -60,6 +60,19 @@ android {
minSdkVersion 21
consumerProguardFiles 'proguard-rules.pro'
}

buildTypes {
release {
minifyEnabled false
buildConfigField "String", "SDK_VERSION", COMMS_SDK_VERSION
buildConfigField "String", "COMPONENT_NAME", COMPONENT_NAME
}

debug {
buildConfigField "String", "SDK_VERSION", COMMS_SDK_VERSION
buildConfigField "String", "COMPONENT_NAME", COMPONENT_NAME
}
}
}

dependencies {
Expand Down
2 changes: 2 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
COMMS_SDK_VERSION="3.8.1"
COMPONENT_NAME="flutter-sdk"
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package io.dolby.comms.sdk.flutter

import androidx.annotation.NonNull
import com.voxeet.VoxeetSDK
import io.dolby.comms.sdk.flutter.dolbyio_comms_sdk_flutter.BuildConfig
import io.dolby.comms.sdk.flutter.events.*
import io.dolby.comms.sdk.flutter.module.CommandServiceNativeModule
import io.dolby.comms.sdk.flutter.module.CommsSdkNativeModule
Expand Down Expand Up @@ -72,7 +73,7 @@ class DolbyioCommsSdkFlutterPlugin : FlutterPlugin, ActivityAware {
MediaDeviceServiceNativeModule(scope)
)

VoxeetSDK.registerComponentVersion(PluginInfo.COMPONENT_NAME, PluginInfo.SDK_VERSION)
VoxeetSDK.registerComponentVersion(BuildConfig.COMPONENT_NAME, BuildConfig.SDK_VERSION)

nativeModules.forEach { it.onAttached(flutterPluginBinding) }
nativeEventEmitters.forEach { it.onAttached(flutterPluginBinding) }
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions ios/Classes/PluginInfo.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

enum PluginInfo {
static let componentName = "dolbyio_comms_sdk_flutter"
static let sdkVersion = "3.8.1-beta.1"
static let componentName = "flutter-sdk"
static let sdkVersion = "3.8.1"
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: dolbyio_comms_sdk_flutter
description: >
Dolby.io Communications SDK for Flutter allows you to create high-quality video conferencing
applications for multiple platforms using a single codebase.
version: 3.8.1-beta.1
version: 3.8.1
homepage: https://github.com/DolbyIO/comms-sdk-flutter

environment:
Expand Down
7 changes: 7 additions & 0 deletions scripts/version_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
VERSION=`grep -E -o "version: (.*)" ./pubspec.yaml | cut -d ':' -f 2 | xargs`
echo Current version = $VERSION

# Uncomment when ios part will be prepared
sed -i '' "s/sdkVersion = \".*\"/sdkVersion = \"$VERSION\"/g" ./ios/Classes/PluginInfo.swift
sed -i '' "s/COMMS_SDK_VERSION=\".*\"/COMMS_SDK_VERSION=\"$VERSION\"/g" ./android/gradle.properties
2 changes: 1 addition & 1 deletion test_app/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: dolbyio_comms_sdk_flutter_example
description: Demonstrates how to use the dolbyio_comms_sdk_flutter plugin.

version: 3.8.1-beta.1+1
version: 3.8.1+1

# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
Expand Down

0 comments on commit 9c7fd4c

Please sign in to comment.