Skip to content

Commit

Permalink
v1.1.9 candidate (#37)
Browse files Browse the repository at this point in the history
* Fix for persistent OOM crashing issue

(cherry picked from commit 4874d79)

* Added unit test and logging for OOM issue

(cherry picked from commit 8d4c475)

* Fix issue with crash due to bad transaction file (#36)

* Fix for persistent OOM crashing issue

(cherry picked from commit 4874d79)

* Added unit test and logging for OOM issue

(cherry picked from commit 8d4c475)

* Update all libraries, roll version

* Update to AGP 7 and update other gradle plugins
  • Loading branch information
pablobaxter authored Aug 24, 2021
1 parent 5947381 commit df43a08
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Change Log

### Version 1.1.9 / 2021-08-22
- Fixes crashing issue caused by bad transaction file [#36](https://github.com/pablobaxter/Harmony/pull/36)
- Update libraries

### Harmony-Crypto Version 0.0.2 / 2021-06-11
- Update to Harmony v1.1.8

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![CircleCI](https://circleci.com/gh/pablobaxter/Harmony/tree/main.svg?style=shield)](https://circleci.com/gh/pablobaxter/Harmony/tree/main)
[![GitHub](https://img.shields.io/github/license/pablobaxter/harmony)](https://github.com/pablobaxter/Harmony/blob/main/LICENSE)
[![Maven Central](https://img.shields.io/maven-central/v/com.frybits.harmony/harmony?label=Harmony)](https://search.maven.org/artifact/com.frybits.harmony/harmony/1.1.8/aar) [![Harmony API](https://img.shields.io/badge/API-17%2B-brightgreen.svg?style=flat&label=Harmony%20API)](https://android-arsenal.com/api?level=17) [![Maven Central](https://img.shields.io/maven-central/v/com.frybits.harmony/harmony-crypto?label=Harmony-Crypto)](https://search.maven.org/artifact/com.frybits.harmony/harmony-crypto/0.0.2/aar) [![Crypto API](https://img.shields.io/badge/API-23%2B-purple.svg?style=flat&label=Crypto%20API)](https://android-arsenal.com/api?level=23)
[![Maven Central](https://img.shields.io/maven-central/v/com.frybits.harmony/harmony?label=Harmony)](https://search.maven.org/artifact/com.frybits.harmony/harmony/1.1.9/aar) [![Harmony API](https://img.shields.io/badge/API-17%2B-brightgreen.svg?style=flat&label=Harmony%20API)](https://android-arsenal.com/api?level=17) [![Maven Central](https://img.shields.io/maven-central/v/com.frybits.harmony/harmony-crypto?label=Harmony-Crypto)](https://search.maven.org/artifact/com.frybits.harmony/harmony-crypto/0.0.2/aar) [![Crypto API](https://img.shields.io/badge/API-23%2B-purple.svg?style=flat&label=Crypto%20API)](https://android-arsenal.com/api?level=23)

Working on multiprocess Android apps is a complex undertaking. One of the biggest challenges is managing shared data between the multiple processes. Most solutions rely on one process to be available for another to read the data, which can be quite slow and could potentially lead to ANRs.

Expand All @@ -18,10 +18,10 @@ Harmony is a thread-safe, process-safe, full [`SharedPreferences`](https://devel
- Supports Android API 17+ (Crypto Android API 23+)

## Download
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.frybits.harmony/harmony/1.1.8/aar).
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.frybits.harmony/harmony/1.1.9/aar).
### Gradle
```
implementation 'com.frybits.harmony:harmony:1.1.8'
implementation 'com.frybits.harmony:harmony:1.1.9'
// implementation 'com.frybits.harmony:harmony-crypto:0.0.2' // For Encrypted SharedPreferences
```

Expand Down
26 changes: 13 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
buildscript {

ext {
kotlin_version = '1.5.10'
kotlin_version = '1.5.21'
kotlin_coroutine_version = '1.5.0'
lifecycle_scope_version = '2.3.1'

// Android libraries
appcompat_version = '1.3.0'
corektx_version = '1.5.0'
appcompat_version = '1.3.1'
corektx_version = '1.6.0'
annotation_version = '1.2.0'
androidx_crypto_version = "1.0.0"
tink_version = "1.5.0"

// Test
junit_version = '4.13.2'
test_runner_version = '1.1.0'
espresso_core_version = '3.3.0'
espresso_remote_version = '3.3.0'
test_ext_version = '1.1.2'
espresso_core_version = '3.4.0'
espresso_remote_version = '3.4.0'
test_ext_version = '1.1.3'
test_orchestrator_version = '1.3.0'
test_rules_version = '1.3.0'
test_rules_version = '1.4.0'

// Android project
harmony_minSdk_version = 17
Expand All @@ -30,11 +30,11 @@ buildscript {
targetSdk_version = 30
buildtools_version = '30.0.3'
nav_version = "2.3.5"
constraint_version = '2.0.4'
hilt_version = '2.35'
constraint_version = '2.1.0'
hilt_version = '2.38.1'
room_version = "2.3.0"

harmony_version_name = "1.1.8"
harmony_version_name = "1.1.9"
crypto_version_name = "0.0.2"

}
Expand All @@ -45,10 +45,10 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.android.tools.build:gradle:7.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.32'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.22.0"
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.5.0'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
// NOTE: Do not place your application dependencies here; they belong
Expand Down
1 change: 0 additions & 1 deletion crypto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ android {

defaultConfig {
minSdkVersion crypto_minSdk_version
versionName crypto_version_name

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'
Expand Down
1 change: 0 additions & 1 deletion harmony/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ android {

defaultConfig {
minSdkVersion harmony_minSdk_version
versionName harmony_version_name

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'
Expand Down

0 comments on commit df43a08

Please sign in to comment.