Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/image_picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.1+8

* Fix iOS build and analyzer warnings.

## 0.6.1+7

* Android: Fix ImagePickerPlugin#onCreate casting context which causes exception.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ + (NSDictionary *)getMetaDataFromImageData:(NSData *)imageData {
CGImageSourceRef source = CGImageSourceCreateWithData((CFDataRef)imageData, NULL);
NSDictionary *metadata =
(NSDictionary *)CFBridgingRelease(CGImageSourceCopyPropertiesAtIndex(source, 0, NULL));
CFRelease(source);
return metadata;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
// Save image with correct meta data and extention copied from image picker result info.
+ (NSString *)saveImageWithPickerInfo:(nullable NSDictionary *)info
image:(UIImage *)image
imageQuality:(NSNumber *)imageQuality;
imageQuality:(nullable NSNumber *)imageQuality;

@end

Expand Down
2 changes: 1 addition & 1 deletion packages/image_picker/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors:
- Flutter Team <[email protected]>
- Rhodes Davis Jr. <[email protected]>
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker
version: 0.6.1+7
version: 0.6.1+8

flutter:
plugin:
Expand Down
1 change: 0 additions & 1 deletion script/lint_darwin_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ function lint_package() {
# TODO: These packages have analyzer warnings. Remove plugins from this list as issues are fixed.
local skip_analysis_packages=(
"camera.podspec" # https://github.com/flutter/flutter/issues/42673
"image_picker.podspec" # https://github.com/flutter/flutter/issues/42678
"in_app_purchase.podspec" # https://github.com/flutter/flutter/issues/42679
)
find "${package_dir}" -type f -name "*\.podspec" | while read podspec; do
Expand Down