-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Reland "[flutter_tools] Removes the need of a no-op plugin implementations #48614" #49085
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
Conversation
| result['date_created'] = systemClock.now().toString(); | ||
| result['version'] = flutterVersion.frameworkVersion; | ||
|
|
||
| // Only notify if the plugins list has changed. [date_created] will always be different, |
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.
This logic had to be updated. It was always returning true, since date_created was always different on each file. This caused the podfiles to be invalidated every time.
| FlutterVersion: () => mockVersion | ||
| }); | ||
|
|
||
| testUsingContext('No changes to the plugin list does not invalidate the Cocoapod lockfiles', () { |
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.
This tests the new change, where podfiles shouldn't be invalidated if plugins didn't change
blasten
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.
LGTM
Reland of #48614 with updated logic and test.
Comments on PR