Skip to content

Commit

Permalink
Updating version to 0.3.0
Browse files Browse the repository at this point in the history
Summary:
Next major release of the library that has: -
- Bug fixes
- Improvements
  - Mmap enabled by default making app string fetching faster
  - Improvements in time to pack strings
  - Handling projects with large set of strings (> 4k)
  - APK size reduction
  - Simpler and easy to read StringPackIds.java
  - Changed behavior of `original_resources_directories` resulting in more modularized `string-packs` folders

Reviewed By: Ider

Differential Revision: D29145936

fbshipit-source-id: 36e89eb
  • Loading branch information
ashish29dec authored and facebook-github-bot committed Jun 18, 2021
1 parent b879ba2 commit 64353cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Check out [our tech talk on StringPacks from DroiCon SF 2019](https://youtu.be/n
dependencies {
...
...
implementation 'com.whatsapp.stringpacks:stringpacks:0.2.1'
implementation 'com.whatsapp.stringpacks:stringpacks:0.3.0'
}
```
6. To remove old `.pack` files from the device's internal storage, on every app upgrade, add [MyPackageReplacedReceiver.java](library/src/main/java/com/whatsapp/stringpacks/receiver/MyPackageReplacedReceiver.java) and [PackFileDeletionService.java](library/src/main/java/com/whatsapp/stringpacks/service/PackFileDeletionService.java) to your `AndroidManifest.xml`
Expand Down
4 changes: 2 additions & 2 deletions library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android.useAndroidX=true

## Maven specific properties
GROUP=com.whatsapp.stringpacks
LIBRARY_VERSION_NAME=0.2.1
LIBRARY_VERSION_NAME=0.3.0

# Maven artifact information
POM_ARTIFACT_ID=stringpacks
Expand All @@ -24,4 +24,4 @@ POM_LICENSE_NAME=Apache License 2.0
POM_LICENSE_URL=https://github.com/WhatsApp/StringPacks/blob/master/LICENSE
POM_LICENSE_DIST=repo
POM_DEVELOPER_ID=whatsapp
POM_DEVELOPER_NAME=WhatsApp
POM_DEVELOPER_NAME=WhatsApp
2 changes: 1 addition & 1 deletion sample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {

dependencies {
// Uncomment it for testing when a new version is published to maven
// implementation 'com.whatsapp.stringpacks:stringpacks:0.2.1'
// implementation 'com.whatsapp.stringpacks:stringpacks:0.3.0'
implementation project(':library')
implementation 'androidx.appcompat:appcompat:1.2.0'
testImplementation 'junit:junit:4.12'
Expand Down

0 comments on commit 64353cd

Please sign in to comment.