Skip to content

Commit

Permalink
v1.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
orhanobut committed May 16, 2015
1 parent fc42a65 commit 2984e6e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Hawk provides:

###Add dependency
```groovy
compile 'com.orhanobut:hawk:1.8'
compile 'com.orhanobut:hawk:1.9'
```

#### Initialize the hawk
Expand All @@ -44,6 +44,13 @@ Hawk.init(context, PASSWORD, new Hawk.Callback() {
);
```

You can use no-crypto mode if you don't want encryption. This mode will be automatically used if the device does not
support AES, PBE algorithm.
```java
Hawk.init(context);
Hawk.noEncryption();
```

#### Save
```java
Hawk.put(key, T); // Returns the result as boolean
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

# VERSION_NAME=1.9-SNAPSHOT
# VERSION_CODE=10
VERSION_NAME=1.8
VERSION_CODE=9
VERSION_NAME=1.9
VERSION_CODE=10
GROUP=com.orhanobut

POM_DESCRIPTION=Secure, Advanced Storage for android
Expand Down

0 comments on commit 2984e6e

Please sign in to comment.