Skip to content

Commit

Permalink
Merge pull request #19 from AgoraIO-Community/update-versions
Browse files Browse the repository at this point in the history
Version 2.0.6 release
  • Loading branch information
maxxfrazer authored Aug 10, 2021
2 parents ddb0ea5 + c042d0d commit cfc65fa
Show file tree
Hide file tree
Showing 7 changed files with 288 additions and 21 deletions.
80 changes: 80 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: https://github.com/AgoraIO-Community/Android-UIKit/blob/main/CONTRIBUTING.md -->

> Release Version:
## Release Notes

-
-

## Pull request checklist

Please check if your PR fulfills the following requirements:
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
- [ ] The GitHub Actions pass building and linting. Linter returns no warnings or errors.
- [ ] The QA checklist below has been completed

## Pull request type

<!-- Please do not submit updates to dependencies unless it fixes an issue. -->

<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->

Please check the type of change your PR introduces:
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):


## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->

Issue Number: N/A


## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by this PR. -->

-
-
-

## Does this introduce a breaking change?

- [ ] Yes
- [ ] No

<!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. -->

<!-- If no code has changed, remove this section -->
## QA Checklist

### UIKit Update Checklist (Minor or Patch Release)

- [ ] Updated version number in `agorauikit_android/build.gradle.kts`
- [ ] Using the latest version of Agora's Video SDK
- [ ] Example apps are all functional
- [ ] Core features are still working (both ways across platforms)
- [ ] Camera + Mic muting works for local and remote users
- [ ] Users are added and removed correctly when they join and leave the channel
- [ ] Older versions of the library gracefully handle changes (Create issue if not)
- [ ] Builtin buttons all work as expected
- [ ] Any newly deprecated methods are flagged as such inline and in documentation

<!-- Remove the next section if not applicable -->

### UIKit Update Checklist (Major Release)

- [ ] The above checklist is completed (except backwards compatibility)
- [ ] Thoroughly tested for crashes, across multiple platforms at the same time

#### QA Notes

## Other information

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
devrel@agora.io.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
35 changes: 35 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# How to contribute to Agora UIKit

## **Did you find a bug?**

* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/AgoraIO-Community/Android-UIKit/issues).

* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/AgoraIO-Community/Android-UIKit/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.

* If possible, use the relevant bug report templates to create the issue.

## **Did you write a patch that fixes a bug?**

* Open a new GitHub pull request with the patch.
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
* Ensure that the patch compiles and runs.

## **Did you fix whitespace, format code, or make a purely cosmetic patch?**

Changes that are cosmetic in nature and do not add anything substantial to the stability, functionality, or testability of Agora UIKit will generally not be accepted.

## **Do you intend to add a new feature or change an existing one?**

* Suggest your change in the form of a Feature Request Issue on this repository.

* One of the team at Agora will respond to your issue, and together we can figure out whether this feature is applicable to be added to Agora UIKit.

## **Do you have questions about the source code?**

* Ask any question about how to use UIKit on the [RTE Dev Slack](https://www.agora.io/en/join-slack/).

---

Thanks for taking the time to read through our contributor guidelines,

Agora Developer Relations Team
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# Agora UIKit for Android

[![](https://jitpack.io/v/AgoraIO-Community/Android-UIKit.svg)](https://jitpack.io/#AgoraIO-Community/Android-UIKit)
<p align="center">
<a href="https://jitpack.io/#AgoraIO-Community/Android-UIKit">
<img src="https://jitpack.io/v/AgoraIO-Community/Android-UIKit.svg"/></a>
<img src="https://github.com/AgoraIO-Community/Android-UIKit/workflows/Build/badge.svg"/>
<img src="https://img.shields.io/github/license/AgoraIO-Community/Android-UIKit"/>
<a href="https://www.agora.io/en/join-slack/">
<img src="https://img.shields.io/badge/slack-@RTE%20Dev-blue.svg?logo=slack">
</a>
</p>


Instantly integrate Agora in your own Android application or prototype.

<p align="center"><img src="https://camo.githubusercontent.com/affd109caf06f0014a55bc411b66b34b8dc68f8d86befe6a2f27dad1fc7c6a5b/68747470733a2f2f692e6962622e636f2f5853576d57397a2f4e65772d50726f6a6563742d372e706e67"/>
</p>

## Requirements

- Android 24+
Expand Down Expand Up @@ -54,4 +66,16 @@ To join a channel, simply call:

```kotlin
agView.join("test", role=Constants.CLIENT_ROLE_BROADCASTER)
```
```

### Roadmap

- [ ] Muting/Unmuting a remote member
- [ ] Usernames
- [ ] Promoting an audience member to a broadcaster role.
- [ ] Layout for Voice Calls
- [ ] Cloud recording

## UIKits

The plan is to grow this library and have similar offerings across all supported platforms. There are already similar libraries for [Flutter](https://github.com/AgoraIO-Community/Flutter-UIKit/), [React Native](https://github.com/AgoraIO-Community/ReactNative-UIKit), and [iOS](https://github.com/AgoraIO-Community/iOS-UIKit/), so be sure to check them out.
20 changes: 10 additions & 10 deletions agorauikit_android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,31 @@ afterEvaluate {
from(components["release"])
groupId = "com.github.agoraio-community"
artifactId = "final"
version = "2.0.5.1"
version = "2.0.6"
}
// Creates a Maven publication called “debug”.
create<MavenPublication>("debug") {
// Applies the component for the debug build variant.
from(components["debug"])
groupId = "com.github.agoraio-community"
artifactId = "final-debug"
version = "2.0.5.1"
version = "2.0.6"
}
}
}
}

dependencies {
implementation("androidx.constraintlayout:constraintlayout:2.0.4")
implementation("androidx.recyclerview:recyclerview:1.2.0")
val kotlinVersion = "1.5.0"
implementation("androidx.constraintlayout:constraintlayout:2.1.0")
implementation("androidx.recyclerview:recyclerview:1.2.1")
val kotlinVersion = "1.5.21"
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
implementation("androidx.core:core-ktx:1.5.0")
implementation("androidx.appcompat:appcompat:1.3.0")
api("com.github.agorabuilder:native-full-sdk:3.4.2")
implementation("androidx.core:core-ktx:1.6.0")
implementation("androidx.appcompat:appcompat:1.3.1")
api("io.agora.rtc:full-sdk:3.5.0.1")
implementation("com.squareup.okhttp3:okhttp:3.14.6")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.2")
androidTestImplementation("androidx.test.espresso:espresso-core:3.3.0")
androidTestImplementation("androidx.test.ext:junit:1.1.3")
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
dokkaHtmlPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:1.4.32")
}
14 changes: 7 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ android {
}

dependencies {
val kotlinVersion = "1.5.0"
val kotlinVersion = "1.5.21"
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
implementation("androidx.core:core-ktx:1.3.2")
implementation("androidx.appcompat:appcompat:1.2.0")
implementation("com.google.android.material:material:1.3.0")
implementation("androidx.constraintlayout:constraintlayout:2.0.4")
implementation("androidx.core:core-ktx:1.6.0")
implementation("androidx.appcompat:appcompat:1.3.1")
implementation("com.google.android.material:material:1.4.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.0")

implementation(project(":agorauikit_android"))

testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.2")
androidTestImplementation("androidx.test.espresso:espresso-core:3.3.0")
androidTestImplementation("androidx.test.ext:junit:1.1.3")
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")

// implementation 'io.agora.uikit:agorauikit:2.0.1'
}
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
val kotlinVersion = "1.5.0"
val kotlinVersion = "1.5.21"
repositories {
google()
// jcenter()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:4.2.1")
classpath("com.android.tools.build:gradle:4.2.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
// classpath("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.15.0")
// classpath("com.novoda:bintray-release:0.9")
Expand Down

0 comments on commit cfc65fa

Please sign in to comment.