Skip to content

Commit ee8ee2e

Browse files
authored
[image_picker_ios] Make all headers public for SwiftPM to keep inline with CocoaPods (#6707)
To keep the SwiftPM implementation more inline with CocoaPods, make all headers public.
1 parent d891fb9 commit ee8ee2e

File tree

12 files changed

+15
-9
lines changed

12 files changed

+15
-9
lines changed

packages/image_picker/image_picker_ios/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.11+1
2+
3+
* Makes all headers public with Swift Package Manager integration to keep inline with CocoaPods.
4+
15
## 0.8.11
26

37
* Adds Swift Package Manager compatibility.

packages/image_picker/image_picker_ios/ios/image_picker_ios/Sources/image_picker_ios/FLTImagePickerPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
#import <PhotosUI/PhotosUI.h>
1313
#import <UIKit/UIKit.h>
1414

15+
#import "./include/image_picker_ios/messages.g.h"
1516
#import "FLTImagePickerImageUtil.h"
1617
#import "FLTImagePickerMetaDataUtil.h"
1718
#import "FLTImagePickerPhotoAssetUtil.h"
1819
#import "FLTPHPickerSaveImageToPathOperation.h"
19-
#import "messages.g.h"
2020

2121
@implementation FLTImagePickerMethodCallContext
2222
- (instancetype)initWithResult:(nonnull FlutterResultAdapter)result {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/image_picker/image_picker_ios/ios/image_picker_ios/Sources/image_picker_ios/include/module.modulemap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ module image_picker_ios {
55
module * { export * }
66

77
explicit module Test {
8-
header "../FLTImagePickerPlugin_Test.h"
9-
header "../FLTImagePickerImageUtil.h"
10-
header "../FLTImagePickerMetaDataUtil.h"
11-
header "../FLTImagePickerPhotoAssetUtil.h"
12-
header "../FLTPHPickerSaveImageToPathOperation.h"
8+
header "image_picker_ios/FLTImagePickerPlugin_Test.h"
9+
header "image_picker_ios/FLTImagePickerImageUtil.h"
10+
header "image_picker_ios/FLTImagePickerMetaDataUtil.h"
11+
header "image_picker_ios/FLTImagePickerPhotoAssetUtil.h"
12+
header "image_picker_ios/FLTPHPickerSaveImageToPathOperation.h"
1313
}
1414
}

packages/image_picker/image_picker_ios/ios/image_picker_ios/Sources/image_picker_ios/messages.g.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Autogenerated from Pigeon (v17.0.0), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66

7-
#import "messages.g.h"
7+
#import "./include/image_picker_ios/messages.g.h"
88

99
#if TARGET_OS_OSX
1010
#import <FlutterMacOS/FlutterMacOS.h>

0 commit comments

Comments
 (0)