Merge branch 'develop'

This commit is contained in:
Thibault Deckers 2020-11-15 11:02:09 +09:00
commit 48220274c9
7 changed files with 15 additions and 5 deletions

View file

@ -89,6 +89,6 @@ jobs:
with:
serviceAccountJsonPlainText: ${{ secrets.PLAYSTORE_ACCOUNT_KEY }}
packageName: deckers.thibault.aves
releaseFile: app-release.aab
releaseFiles: app-release.aab
track: beta
whatsNewDirectory: whatsnew

View file

@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
## [v1.2.6] - 2020-11-15
## [v1.2.7] - 2020-11-15
### Added
- Support for TIFF images (single page)
- Viewer overlay: minimap (optional)
@ -15,6 +15,8 @@ All notable changes to this project will be documented in this file.
### Fixed
- Fixed finding dimensions of entries with incorrect EXIF
## [v1.2.6] - 2020-11-15 [YANKED]
## [v1.2.5] - 2020-11-01
### Added
- Search: show recently used filters (optional)

View file

@ -79,6 +79,10 @@ android {
}
release {
signingConfig signingConfigs.release
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}

1
android/app/proguard-rules.pro vendored Normal file
View file

@ -0,0 +1 @@
-keep class org.beyka.tiffbitmapfactory.**{ *; }

View file

@ -222,11 +222,14 @@ class MetadataHandler(private val context: Context) : MethodCallHandler {
// * file extension is unreliable
// In the end, `metadata-extractor` is the most reliable, except for `tiff` (false positives, false negatives),
// in which case we trust the file extension
// cf https://github.com/drewnoakes/metadata-extractor/issues/296
if (path?.matches(tiffExtensionPattern) == true) {
metadataMap[KEY_MIME_TYPE] = MimeTypes.TIFF
} else {
dir.getSafeString(FileTypeDirectory.TAG_DETECTED_FILE_MIME_TYPE) {
metadataMap[KEY_MIME_TYPE] = it
if (it != MimeTypes.TIFF) {
metadataMap[KEY_MIME_TYPE] = it
}
}
}
}

View file

@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.2.6+32
version: 1.2.7+33
# brendan-duncan/image (as of v2.1.19):
# - does not support TIFF with JPEG compression (issue #184)

View file

@ -1,5 +1,5 @@
Thanks for using Aves!
v1.2.6:
v1.2.7:
- subsampling and tiling of large images
- support for TIFF images (single page only)
- optional minimap in viewer overlay