-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Fix annotation dependency #1917
Changes from 2 commits
62b3f4f
d0d4156
26b87d6
c121ce6
bce47ec
9b60f94
f319fb3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ description: Flutter plugin for Firebase Auth, enabling Android and iOS | |
| like Google, Facebook and Twitter. | ||
| author: Flutter Team <[email protected]> | ||
| homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_auth | ||
| version: 0.13.0 | ||
| version: 0.13.1 | ||
|
|
||
| flutter: | ||
| plugin: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| name: firebase_in_app_messaging | ||
| description: Flutter plugin for Firebase In-App Messaging. | ||
| version: 0.0.1+1 | ||
| version: 0.0.1+2 | ||
| author: Flutter Team <[email protected]> | ||
| homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_in_app_messaging | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ authors: | |
| - Rhodes Davis Jr. <[email protected]> | ||
| homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker | ||
|
|
||
| version: 0.6.0+18 | ||
| version: 0.6.0+19 | ||
|
|
||
| flutter: | ||
| plugin: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ name: in_app_purchase | |
| description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play. | ||
| author: Flutter Team <[email protected]> | ||
| homepage: https://github.com/flutter/plugins/tree/master/packages/in_app_purchase | ||
| version: 0.2.0+7 | ||
| version: 0.2.0+8 | ||
|
|
||
| dependencies: | ||
| async: ^2.0.8 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,6 +46,7 @@ android { | |
| } | ||
|
|
||
| dependencies { | ||
| implementation 'androidx.annotation:annotation:1.0.0' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder whether it's better to just remove the 2 usages of the annotations, at least until we fix Jettifier, to prevent apps that didn't migrate to androidx from blowing up when using this plugin. However I'm not sure I understand the condition for when gradle blows up? I just tried to depend on this plugin from an app that wasn't migrated to androidx and it seems to work. @blasten do you happen to know when Gradle blows up? would it reduce build failure for some apps if we don't include this dependency?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For all 1P plugins?
Yeah. The issue occurs when a plugin relies on any Case 1Plugin A imports A developer decides to migrate App to AndroidX, which means Android's auto migration tool "Jetifier" will translate Case 2Similar to case 1, but in this case we update a plugin to use an AndroidX dependency e.g. Case 3Similar to case 1, but in this case "Dependency B" upgrades to "AndroidX" and doesn't bump the major version. Now, the plugin is broken. SolutionRelying on |
||
| implementation 'androidx.webkit:webkit:1.0.0' | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| name: webview_flutter | ||
| description: A Flutter plugin that provides a WebView widget on Android and iOS. | ||
| version: 0.3.10+4 | ||
| version: 0.3.10+5 | ||
| author: Flutter Team <[email protected]> | ||
| homepage: https://github.com/flutter/plugins/tree/master/packages/webview_flutter | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.