Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
cb68ebc
Added installation message signing functinality through service mutat…
Apr 16, 2026
bbbcbda
Service Layer now pulls trusted root. Initially only pulled leaf + in…
charlesoj6205 Apr 23, 2026
1de40c7
Full mirrored parity of OkHttp service layer
charlesoj6205 Apr 27, 2026
0e5207b
Remove generated artifacts and local tool state
charlesoj6205 Apr 27, 2026
5d38aa2
Update approov-service/src/main/java/io/approov/service/httpsurlconn/…
charlesoj6205 Apr 27, 2026
466a457
Update approov-service/src/main/java/io/approov/service/httpsurlconn/…
charlesoj6205 Apr 27, 2026
c3d1e03
Fix setCustomParameter return type to SignatureParameters for fluent …
Copilot Apr 27, 2026
fbd20a9
Update approov-service/src/main/java/io/approov/service/httpsurlconn/…
charlesoj6205 Apr 27, 2026
e43e30d
Update approov-service/src/main/java/io/approov/service/httpsurlconn/…
charlesoj6205 Apr 27, 2026
02e37a6
Update approov-service/src/main/java/io/approov/service/httpsurlconn/…
charlesoj6205 Apr 27, 2026
b927668
Fix containsComponentIdentifier loop and honor Base64 NO_PADDING flag…
Copilot Apr 28, 2026
c1de490
Replace Map.of() with LinkedHashMap and enable coreLibraryDesugaring …
Copilot Apr 28, 2026
fde21cd
Fix account message signing usage example
charlesoj6205 Apr 28, 2026
6bf3f41
Allow buffered mutator request edits
adriantuk Apr 29, 2026
c9fcb55
Buffer body-capable requests before signing
adriantuk Apr 29, 2026
b129b7f
Preserve legacy addApproov API
adriantuk Apr 29, 2026
4fa033a
Update Mockito for JDK 21 tests
adriantuk Apr 29, 2026
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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ captures/
# OSX filesystem
.DS_Store

# Generated documentation artifacts
approov-service/docs/*.jar

# Local tool state
.wrangler/

# Pods
Podfile.lock
Pods/
Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Changelog

All notable changes to this package will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

## [Unreleased]

### Added
- `ApproovServiceMutator` support to centralize decision points in the `HttpsURLConnection` service flow.
- `USAGE.md`, `REFERENCE.md`, and `CHANGELOG.md` at the repository root.
- `setUseApproovStatusIfNoToken` support for propagating fetch status in the Approov token header when no token is available.
- `Approov-TraceID` configuration helpers.
- Configurable query parameter substitution APIs.
- `addApproovToConnection(HttpsURLConnection)` for flows that need to continue with a wrapped connection.

### Changed
- `ApproovService` now routes request-preparation decisions through the service mutator.
- `addApproov(HttpsURLConnection)` preserves the original in-place API, while `addApproovToConnection(HttpsURLConnection)` supports mutator-driven signing, optional URL substitution, and deferred body-aware processing.
- Message signing now supports the `HttpsURLConnection` request path, including optional body digest generation when request buffering is used.

### Deprecated
- `ApproovInterceptorExtensions` in favor of `ApproovServiceMutator`.
- `setProceedOnNetworkFail()` and `getProceedOnNetworkFail()` in favor of `ApproovServiceMutator`.
- `getMessageSignature()` in favor of `getAccountMessageSignature()`.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Approov Service for HttpsUrlConnection
# Approov Service for HttpsURLConnection

A wrapper for the [Approov SDK](https://github.com/approov/approov-android-sdk) to enable easy integration when using [`HttpsUrlConnection`](https://developer.android.com/reference/javax/net/ssl/HttpsURLConnection) for making the API calls that you wish to protect with Approov. In order to use this you will need a trial or paid [Approov](https://www.approov.io) account.
A wrapper for the [Approov SDK](https://github.com/approov/approov-android-sdk) to enable easy integration when using [`HttpsURLConnection`](https://developer.android.com/reference/javax/net/ssl/HttpsURLConnection) for making the API calls that you wish to protect with Approov. In order to use this you will need a trial or paid [Approov](https://www.approov.io) account.

Please follow the [Quickstart](https://github.com/approov/quickstart-android-java-httpsurlconn) for instructions on usage.
Please see the [Quickstart](https://github.com/approov/quickstart-android-java-httpsurlconn/blob/master/README.md) for example integration.

# Changelog

Please see the [CHANGELOG.md](CHANGELOG.md) for more information on the changes in each version.

# Reference

Please see the [REFERENCE.md](REFERENCE.md) for more information on the Approov Service for HttpsURLConnection.

# Usage

Please see the [USAGE.md](USAGE.md) for more information on how to use this wrapper.
Loading