-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Parse .flutter-plugins-dependencies for add-to-app iOS modules #61269
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
Parse .flutter-plugins-dependencies for add-to-app iOS modules #61269
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is defined_in_file? is this a pod magic function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm, I grepped the codebase and found y our other comments about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the comments to this file.
xster
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool! LGTM
packages/flutter_tools/templates/module/ios/library/Flutter.tmpl/podhelper.rb.tmpl
Outdated
Show resolved
Hide resolved
packages/flutter_tools/templates/module/ios/library/Flutter.tmpl/podhelper.rb.tmpl
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a code comment or reference issue for when this can happen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it can ever happen AFAIK, I think I just wanted a way to surface Something Bad Happened and stopping instead of copying from a nonexistent directory in https://github.com/flutter/flutter/pull/59044/files#diff-76053fa099530bf75a339336cccbc2efR23.
0d1fb59 to
067483a
Compare
Description
Parse
.flutter-plugins-dependenciesin Flutter modules to not pull in plugins that don't support iOS. Pretty close to #59209 but for the module template.Related Issues
Fixes #59811
#59209
Tests
Updated module_test_ios to depend on
android_alarm_manager, then make sure there's noandroid_alarm_managerembedded in the host app.