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
58 changes: 3 additions & 55 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ references:
run:
name: Release SDK
command: bundle exec fastlane release

signing_key: &signing_key
run:
name: Install signing key
Expand Down Expand Up @@ -114,58 +115,7 @@ commands:
- run:
name: Generating APK for internal distribution
command: bundle exec fastlane distribute_debug_sample_app env:<<parameters.env>> url:"\"<<parameters.base_url>>\""
upload_codecov:
parameters:
file:
default: ""
description: Path to the code coverage data file to upload.
type: string
flags:
default: ""
description: Flag the upload to group coverage metrics (e.g. unittests | integration | ui,chrome)
type: string
token:
default: ${CODECOV_TOKEN}
description: Set the private repository token as the value of the variable CODECOV_TOKEN using CircleCI Environment Variables.
type: string
upload_name:
default: ${CIRCLE_BUILD_NUM}
description: Custom defined name of the upload. Visible in Codecov UI
type: string
url:
default: https://codecov.io/bash
description: Custom url to submit the codecov result. Default to "https://codecov.io/bash"
type: string
when:
default: always
description: When should this step run?
type: string
steps:
- when:
condition: << parameters.file >>
steps:
- run:
command: |
curl -s << parameters.url >> | bash -s -- \
-f "<< parameters.file >>" \
-t "<< parameters.token >>" \
-n "<< parameters.upload_name >>" \
-F "<< parameters.flags >>" \
-Z || echo 'Codecov upload failed'
name: Upload Coverage Results
when: << parameters.when >>
- unless:
condition: << parameters.file >>
steps:
- run:
command: |
curl -s << parameters.url >> | bash -s -- \
-t "<< parameters.token >>" \
-n "<< parameters.upload_name >>" \
-F "<< parameters.flags >>" \
-Z || echo 'Codecov upload failed'
name: Upload Coverage Results
when: << parameters.when >>

jobs:
assemble_build:
executor: *executor
Expand Down Expand Up @@ -213,9 +163,7 @@ jobs:
to: test-results/security
- store_test_results:
path: "test-results"
- upload_codecov:
file: verify/build/reports/code-coverage/xml
flags: unittests

security_instrumentation_tests_single_device:
executor: *executor
steps:
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# 0.9.0 (2025-11-20)

### Features
- Target Android API 35 ([449d3e2](https://github.com/twilio/twilio-verify-android/commit/449d3e272e62a47664f406e900f3521cf7955963))

### Building system
- Update gems ([596b19d](https://github.com/twilio/twilio-verify-android/commit/596b19d7efe5e050e5640e8921fb5b3b21734871))
- CI update ([93deb89](https://github.com/twilio/twilio-verify-android/commit/93deb89005319ee5e159aa9c7664ce4a9e9f815f))
- update dependencies and pipeline ([b6145fb](https://github.com/twilio/twilio-verify-android/commit/b6145fb1291d12c6ebb19cdb7187f4ee2c8a117c))
- fix publishing task ([4a317b4](https://github.com/twilio/twilio-verify-android/commit/4a317b4d452ac476fcf57a1e416db94fe5c6be67))
- fix publishing pipeline ([6c4d980](https://github.com/twilio/twilio-verify-android/commit/6c4d980608696110a0bd3f7ee8b2c1e8339da8b3))

### Size impact

| ABI | APK Size Impact |
| --------------- | --------------- |
| x86 | 699.6KB |
| x86_64 | 699.6KB |
| armeabi-v7a | 699.6KB |
| arm64-v8a | 699.6KB |
| universal | 699.6KB |



# 0.8.0 (2022-06-22)

### Features
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.twilio/twilio-verify-android/badge.svg?style=svg) ](https://maven-badges.herokuapp.com/maven-central/com.twilio/twilio-verify-android)
[![CircleCI](https://circleci.com/gh/twilio/twilio-verify-android.svg?style=shield&circle-token=e5c76e91c300be6dcdd3db05a57bb4f01304415e)](https://circleci.com/gh/twilio/twilio-verify-android)
[![codecov](https://codecov.io/gh/twilio/twilio-verify-android/branch/main/graph/badge.svg?token=o1ZcrAfoc0)](https://codecov.io/gh/twilio/twilio-verify-android)
[![ktlint](https://img.shields.io/badge/code%20style-%E2%9D%A4-FF4081.svg)](https://ktlint.github.io/)
[![License](https://img.shields.io/badge/License-Apache%202-blue.svg?logo=law)](https://github.com/twilio/twilio-verify-android/blob/main/LICENSE)

Expand Down
12 changes: 7 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id(Config.Plugins.dokka) version Config.Versions.dokka
id(Config.Plugins.nexus) version (Config.Versions.nexus)
id(Config.Plugins.nexusPublisher) version (Config.Versions.nexusPublisher)
}

buildscript {
Expand Down Expand Up @@ -50,9 +50,11 @@ allprojects {
nexusPublishing {
repositories {
sonatype {
username.set(Config.projectProperty(project, MavenPublish.ossrhUsernameEnv))
password.set(Config.projectProperty(project, MavenPublish.ossrhPasswordEnv))
username = Config.projectProperty(project, MavenPublish.sonatypeUsernameEnv)
password = Config.projectProperty(project, MavenPublish.sonatypePasswordEnv)
stagingProfileId.set(Config.projectProperty(project, MavenPublish.sonatypeStagingProfileIdEnv))
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
}
}

Expand Down Expand Up @@ -135,8 +137,8 @@ fun mavenPublishCredentials(): Map<String, String> {
MavenPublish.signingKeyIdEnv,
MavenPublish.signingPasswordEnv,
MavenPublish.signingSecretKeyRingFileEnv,
MavenPublish.ossrhUsernameEnv,
MavenPublish.ossrhPasswordEnv,
MavenPublish.sonatypeUsernameEnv,
MavenPublish.sonatypePasswordEnv,
MavenPublish.sonatypeStagingProfileIdEnv
)
}
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object Config {
const val firebasePerformance = "com.google.firebase.firebase-perf"
const val dokka = "org.jetbrains.dokka"
const val apkscale = "com.twilio.apkscale"
const val nexus = "io.github.gradle-nexus.publish-plugin"
const val nexusPublisher = "io.github.gradle-nexus.publish-plugin"
const val maven_publish = "maven-publish"
const val signing = "signing"
const val ktlint = "plugins.ktlint"
Expand All @@ -53,7 +53,7 @@ object Config {
const val dokka = "2.0.0"
const val jacoco = "0.8.12"
const val apkscale = "0.1.7"
const val nexus = "1.0.0"
const val nexusPublisher = "2.0.0"
}

object Groups {
Expand Down
18 changes: 8 additions & 10 deletions buildSrc/src/main/kotlin/MavenPublish.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,34 @@
import org.gradle.api.Project

object MavenPublish {

const val signingKeyIdKey = "signing.keyId"
const val signingPasswordKey = "signing.password"
const val signingSecretKeyRingFileKey = "signing.secretKeyRingFile"
const val ossrhUsernameKey = "ossrhUsername"
const val ossrhPasswordKey = "ossrhPassword"
const val sonatypeUsernameKey = "sonatypeUsername"
const val sonatypePasswordKey = "sonatypePassword"
const val sonatypeStagingProfileIdKey = "sonatypeStagingProfileId"

const val signingKeyIdEnv = "SIGNING_KEY_ID"
const val signingPasswordEnv = "SIGNING_PASSWORD"
const val signingSecretKeyRingFileEnv = "SIGNING_SECRET_KEY_RING_FILE"
const val ossrhUsernameEnv = "OSSRH_USERNAME"
const val ossrhPasswordEnv = "OSSRH_PASSWORD"
const val sonatypeUsernameEnv = "SONATYPE_USERNAME"
const val sonatypePasswordEnv = "SONATYPE_PASSWORD"
const val sonatypeStagingProfileIdEnv = "SONATYPE_STAGING_PROFILE_ID"

fun credentials(
project: Project,
signingKeyId: String,
signingPassword: String,
signingKeyRingFile: String,
ossrhUsername: String,
ossrhPassword: String,
sonatypeUsername: String,
sonatypePassword: String,
sonatypeStagingProfileId: String
): Map<String, String> {
return mapOf(
signingKeyIdKey to Config.projectProperty(project, signingKeyId),
signingPasswordKey to Config.projectProperty(project, signingPassword),
signingSecretKeyRingFileKey to Config.projectProperty(project, signingKeyRingFile),
ossrhUsernameKey to Config.projectProperty(project, ossrhUsername),
ossrhPasswordKey to Config.projectProperty(project, ossrhPassword),
sonatypeUsernameKey to Config.projectProperty(project, sonatypeUsername),
sonatypePasswordKey to Config.projectProperty(project, sonatypePassword),
sonatypeStagingProfileIdKey to Config.projectProperty(project, sonatypeStagingProfileId)
)
}
Expand Down
20 changes: 0 additions & 20 deletions codecov.yml

This file was deleted.

1 change: 1 addition & 0 deletions docs/0.9.0/0.9.0
4 changes: 4 additions & 0 deletions docs/0.9.0/images/anchor-copy-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/0.9.0/images/copy-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/0.9.0/images/copy-successful-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/0.9.0/images/footer-go-to-link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/0.9.0/images/go-to-top-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions docs/0.9.0/images/logo-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading