Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not merge - Run CI tests for SPM migration experiment 2 #6734

Closed

Conversation

loic-sharma
Copy link
Member

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.

List which issues are fixed by this PR. You must list at least one issue.

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

s.public_header_files = 'Classes/**/*.h'
s.module_map = 'Classes/CameraPlugin.modulemap'
s.source_files = 'camera_avfoundation/Sources/camera_avfoundation/**/*.{h,m}'
s.exclude_files = 'camera_avfoundation/Sources/camera_avfoundation/public/**/*.h'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This excludes the Swift package's public header files

#import "FLTCam.h"
#import "messages.g.h"

/// APIs exposed for unit testing.
@interface CameraPlugin ()
@interface CameraPlugin () <FCPCameraApi>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugin needs to implement the Pigeon API's FCPCameraApi. Previously the public header did this, but that meant the header file generated by Pigeon also needed to be public.

I switched this to follow file_selector_ios's pattern.

@loic-sharma
Copy link
Member Author

We decided not to go forward with this option, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant