Skip to content

Commit

Permalink
Updating version to 0.3.1
Browse files Browse the repository at this point in the history
Summary:
This release supports following features: -
- Packing translations of multiple locales together in same `.pack` file
- Fallback to a different locale if a translation is not available in desired locale
- Locales with Regions, for example, `zh-TW`

Reviewed By: Ider

Differential Revision: D30319949

fbshipit-source-id: 978064f
  • Loading branch information
ashish29dec authored and facebook-github-bot committed Aug 14, 2021
1 parent bf18681 commit 9018d1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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.3.0'
implementation 'com.whatsapp.stringpacks:stringpacks:0.3.1'
}
```
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
2 changes: 1 addition & 1 deletion 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.3.0
LIBRARY_VERSION_NAME=0.3.1

# Maven artifact information
POM_ARTIFACT_ID=stringpacks
Expand Down
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.3.0'
// implementation 'com.whatsapp.stringpacks:stringpacks:0.3.1'
implementation project(':library')
implementation 'androidx.appcompat:appcompat:1.2.0'
testImplementation 'junit:junit:4.12'
Expand Down

0 comments on commit 9018d1c

Please sign in to comment.