Skip to content

Commit 41552d5

Browse files
committed
update to support sdk v1.1.3 and minor sample app UI updates
1 parent 16432fe commit 41552d5

5 files changed

Lines changed: 39 additions & 28 deletions

File tree

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To use the AuviousSDK in your project, follow these steps:
2020
dependencies {
2121
//... other dependencies
2222
// Auvious SDK
23-
implementation 'com.auvious.android:sdk:1.1.2'
23+
implementation 'com.auvious.android:sdk:1.1.3'
2424
}
2525
```
2626

@@ -62,46 +62,46 @@ private fun startSimpleConferenceActivity(
6262

6363
#### Enable default functionality
6464
- **Microphone Configuration**
65-
- **Key**: `mic`
66-
- **Value**: `true` or `false`
67-
- `true`: Enables the microphone.
68-
- `false`: Disables the microphone.
65+
- **Key**: `mic`
66+
- **Value**: `true` or `false`
67+
- `true`: Enables the microphone.
68+
- `false`: Disables the microphone.
6969

7070
- **Camera Configuration**
71-
- **Key**: `camera`
72-
- **Value**: `true` or `false`
73-
- `true`: Enables the camera.
74-
- `false`: Disables the camera.
71+
- **Key**: `camera`
72+
- **Value**: `true` or `false`
73+
- `true`: Enables the camera.
74+
- `false`: Disables the camera.
7575

7676
- **Speaker Configuration**
77-
- **Key**: `speaker`
78-
- **Value**: `true` or `false`
79-
- `true`: Enables the speaker.
80-
- `false`: Enables only the earpiece.
77+
- **Key**: `speaker`
78+
- **Value**: `true` or `false`
79+
- `true`: Enables the speaker.
80+
- `false`: Enables only the earpiece.
8181

8282
#### Available conference control buttons
83-
- **Microphone Button Availability**
83+
- **Microphone Button Availability**
8484
- **Key**: `mic_available`
8585
- **Value**: `true` or `false`
86-
- `true`: The microphone button will be available for toggling on/off.
87-
- `false`: The microphone button will be hidden.
86+
- `true`: The microphone button will be available for toggling on/off.
87+
- `false`: The microphone button will be hidden.
8888

89-
- **Camera Button Availability**
89+
- **Camera Button Availability**
9090
- **Key**: `camera_available`
9191
- **Value**: `true` or `false`
92-
- `true`: The camera button will be available for toggling on/off.
93-
- `false`: The camera button will be hidden.
92+
- `true`: The camera button will be available for toggling on/off.
93+
- `false`: The camera button will be hidden.
9494

95-
- **Speaker Button Availability**
95+
- **Speaker Button Availability**
9696
- **Key**: `speaker_available`
9797
- **Value**: `true` or `false`
98-
- `true`: The speaker button will be available for toggling on/off.
99-
- `false`: The speaker button will be hidden.
98+
- `true`: The speaker button will be available for toggling on/off.
99+
- `false`: The speaker button will be hidden.
100100

101101
- **Custom Conference Background Color**
102-
- **Key**: `conference_background_color`
103-
- **Value**: [Color](https://developer.android.com/reference/android/graphics/Color) object or a hex color by using the [Color.parseColor()](https://developer.android.com/reference/android/graphics/Color#parseColor(java.lang.String)) method
104-
- Set a custom color in conference background. Otherwise, the default background color will be black.
102+
- **Key**: `conference_background_color`
103+
- **Value**: [Color](https://developer.android.com/reference/android/graphics/Color) object or a hex color by using the [Color.parseColor()](https://developer.android.com/reference/android/graphics/Color#parseColor(java.lang.String)) method
104+
- Set a custom color in conference background. Otherwise, the default background color will be black.
105105

106106
---
107107

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ android {
4040
dependencies {
4141
implementation fileTree(dir: 'libs', include: ['*.jar'])
4242
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
43-
implementation 'com.auvious.android:sdk:1.1.2'
43+
implementation 'com.auvious.android:sdk:1.1.3'
4444

4545
implementation 'androidx.appcompat:appcompat:1.7.0'
4646
implementation 'androidx.core:core-ktx:1.13.1'

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
4-
package="com.auvious.auviousproject">
3+
xmlns:tools="http://schemas.android.com/tools">
54

65
<uses-feature
76
android:name="android.hardware.camera"

app/src/main/java/com/auvious/auviousproject/MainActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class MainActivity : AppCompatActivity() {
6262
binding.requestCameraPerm.setOnClickListener { checkForCameraStoragePermission() }
6363
binding.requestMicPerm.setOnClickListener { checkForAudioRecordPermission() }
6464
binding.requestStoragePerm.setOnClickListener { checkForWriteStoragePermission() }
65+
binding.sdkVersion.text = "SDK v${getString(com.auvious.auvioussdk.R.string.version_name)}"
6566
/**
6667
* AuviousSimpleConferenceActivity example
6768
* */

app/src/main/res/layout/activity_main.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@
3131
app:layout_constraintStart_toStartOf="parent"
3232
app:layout_constraintTop_toBottomOf="@id/logo" />
3333

34+
<com.google.android.material.textview.MaterialTextView
35+
android:id="@+id/sdk_version"
36+
style="@style/TextAppearance.AppCompat.Caption"
37+
android:layout_width="wrap_content"
38+
android:layout_height="wrap_content"
39+
app:layout_constraintBottom_toTopOf="@+id/subtitle"
40+
app:layout_constraintEnd_toEndOf="parent"
41+
app:layout_constraintTop_toBottomOf="@+id/title"
42+
app:layout_constraintVertical_bias="0"
43+
tools:text="SDK v1.1.2" />
44+
3445
<com.google.android.material.textview.MaterialTextView
3546
android:id="@+id/subtitle"
3647
style="@style/TextAppearance.AppCompat.Medium"

0 commit comments

Comments
 (0)