Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,5 @@ packages/react-native-room-kit/example/vendor
packages/react-native-room-kit/example/ios/Pods
packages/react-native-room-kit/example/android/app/build

*.hprof
*.hprof
settings.local.json
2 changes: 1 addition & 1 deletion .java-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17.0.12
17.0.16
57 changes: 12 additions & 45 deletions packages/react-native-hms/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,58 +2,23 @@ import groovy.json.JsonSlurper

def sdkVersions = new JsonSlurper().parse file("../sdk-versions.json")

buildscript {

ext.safeExtGet = { prop, fallback ->
rootProject.ext.has(prop) ? rootProject.ext.get (prop) : fallback
}

ext.getKotlinVersion = {
if (ext.has("kotlinVersion")) {
ext.kotlinVersion()
} else {
ext.safeExtGet("kotlinVersion", "1.7.20")
}
}
ext.getKotlinGradlePluginVersion = {
if (ext.has("kotlinGradlePluginVersion")) {
ext.kotlinGradlePluginVersion()
} else {
ext.safeExtGet("kotlinGradlePluginVersion", "1.8.0")
}
}
if (project == rootProject) {
repositories {
google()
mavenCentral()
gradlePluginPortal( )
}
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
}
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getKotlinGradlePluginVersion()}"
}
def getKotlinVersion() {
return safeExtGet("kotlinVersion", "2.0.21")
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

android {
namespace 'com.reactnativehmssdk'
compileSdkVersion safeExtGet('Hmssdk_compileSdkVersion', 31)
compileSdkVersion safeExtGet('compileSdkVersion', 35)
defaultConfig {
minSdkVersion safeExtGet('Hmssdk_minSdkVersion', 21)
targetSdkVersion safeExtGet('Hmssdk_targetSdkVersion', 31)
minSdkVersion safeExtGet('minSdkVersion', 24)
targetSdkVersion safeExtGet('targetSdkVersion', 35)
versionCode 1
versionName "1.0"
}
Expand All @@ -62,9 +27,11 @@ android {
disable 'GradleCompatible'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
// kotlinOptions removed - let Kotlin inherit JVM target from compileOptions
// This avoids languageVersion finalization conflict with React Native Gradle Plugin
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import android.webkit.URLUtil
import androidx.annotation.RequiresApi
import com.facebook.react.bridge.*
import com.facebook.react.uimanager.events.RCTEventEmitter
import hms.webrtc.SurfaceViewRenderer
import live.hms.video.audio.HMSAudioManager
import live.hms.video.error.HMSException
import live.hms.video.events.AgentType
Expand All @@ -27,7 +28,6 @@ import live.hms.video.sdk.models.role.HMSRole
import live.hms.video.services.LogAlarmManager
import live.hms.video.utils.HMSLogger
import live.hms.video.utils.HmsUtilities
import org.webrtc.SurfaceViewRenderer
import java.io.ByteArrayOutputStream
import java.util.*
import kotlin.collections.ArrayList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import com.facebook.react.bridge.ReactContext
import com.facebook.react.bridge.ReadableArray
import com.facebook.react.bridge.WritableMap
import com.facebook.react.uimanager.events.RCTEventEmitter
import hms.webrtc.RendererCommon
import live.hms.video.media.tracks.HMSVideoTrack
import live.hms.video.utils.HmsUtilities
import live.hms.videoview.HMSVideoView
import live.hms.videoview.VideoViewStateChangeListener
import org.webrtc.RendererCommon

@SuppressLint("ViewConstructor")
class HMSView(
Expand Down
78 changes: 12 additions & 66 deletions packages/react-native-hms/example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/react-native-hms/example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RNHMSExample",
"version": "1.11.0",
"version": "1.12.0",
"private": true,
"scripts": {
"preinstall": "cd ../ && npm install && cd ./example",
Expand All @@ -24,7 +24,7 @@
"react-native-device-info": "^9.0.2",
"react-native-document-picker": "^8.1.1",
"react-native-fs": "^2.19.0",
"react-native-gesture-handler": "^1.10.3",
"react-native-gesture-handler": "^2.28.0",
"react-native-modal": "^12.1.0",
"react-native-permissions": "3.4.0",
"react-native-qrcode-scanner": "^1.5.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-hms/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react-native-hms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@100mslive/react-native-hms",
"version": "1.11.0",
"version": "1.12.0",
"description": "Integrate Real Time Audio and Video conferencing, Interactive Live Streaming, and Chat in your apps with 100ms React Native SDK. With support for HLS and RTMP Live Streaming and Recording, Picture-in-Picture (PiP), one-to-one Video Call Modes, Audio Rooms, Video Player and much more, add immersive real-time communications to your apps.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native-hms/sdk-versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ios": "1.16.5",
"iOSBroadcastExtension": "0.0.9",
"ios": "1.17.0",
"iOSBroadcastExtension": "1.0.1",
"iOSHMSHLSPlayer": "0.0.2",
"iOSNoiseCancellationModels": "1.0.0",
"android": "2.9.69"
"android": "2.9.78"
}
51 changes: 51 additions & 0 deletions packages/react-native-room-kit/example/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Environment Variables for 100ms React Native Room Kit Example App
#
# This file contains example environment variables needed for local releases.
# Copy this file to .env and fill in the actual values.
#
# NOTE: GitHub Actions uses GitHub Secrets for these values.
# This file is only needed for local development/releases.

# ============================================================================
# Slack Integration
# ============================================================================

# Slack webhook URL for release notifications
# Used by Fastlane to post notifications to #dogfooding channel
# Optional: Falls back to hardcoded URL if not set
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL

# ============================================================================
# Firebase App Distribution
# ============================================================================

# Service account JSON files should be placed in:
# ios/fastlane/reactnative-hms-a32ef61302c5.json
# android/fastlane/reactnative-hms-a32ef61302c5.json
#
# These are NOT environment variables but actual files.
# Contact your team lead to obtain these files.

# ============================================================================
# Apple App Store Connect
# ============================================================================

# App Store Connect API Key should be placed in:
# ios/fastlane/AuthKey_BY94A5BH9T.p8
#
# This is NOT an environment variable but an actual file.
# Download from: https://appstoreconnect.apple.com/access/api

# ============================================================================
# Notes
# ============================================================================

# DO NOT commit the .env file to git!
# .env should be in .gitignore

# For GitHub Actions releases, set these as repository secrets:
# - SLACK_URL (for Slack notifications)
# - CREDENTIAL_FILE_CONTENT (for Firebase)
# - IOS_P12_BASE64, IOS_CERTIFICATE_PASSWORD, IOS_TEAM_ID
# - APPSTORE_ISSUER_ID, APPSTORE_API_KEY_ID, APPSTORE_API_PRIVATE_KEY
# - Provisioning profiles (ADHOC_MOBILEPROVISION_BASE64, etc.)
1 change: 0 additions & 1 deletion packages/react-native-room-kit/example/.java-version

This file was deleted.

17 changes: 5 additions & 12 deletions packages/react-native-room-kit/example/ExampleAppChangelog.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
Board: https://app.devrev.ai/100ms/vistas/vista-254

- SugarFit: Add support for Android 14 on React Native Android SDK
https://app.devrev.ai/100ms/works/ISS-23560
- Resolved npm publish warnings

- Remove Foreground Notification Service from Android app
https://app.devrev.ai/100ms/works/ISS-23562
- Satvic Movement - Poll creator should not be able to vote again on rejoining
https://app.devrev.ai/100ms/works/ISS-23561

- Fix: Screen freezing due to entering PIP mode
https://app.devrev.ai/100ms/works/ISS-23563

- Native Android crash fixes
https://app.devrev.ai/100ms/works/ISS-23550

Room Kit: 1.2.3
React Native SDK: 1.11.0
Room Kit: 1.2.4
React Native SDK: 1.11.1
Android SDK: 2.9.69
iOS SDK: 1.16.5
Loading
Loading