Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Jun 26, 2019

Description

Add pubspec generating tool to build_all_plugins_app.sh script. This will add all the plugins in the repo to the all_plugins app and test compilation.

@bparrishMines bparrishMines changed the title [all_plugins] Compile all plugins together [WIP] [all_plugins] Compile all plugins together Jun 27, 2019
package="io.plugins.all_plugins"
xmlns:tools="http://schemas.android.com/tools">

<uses-sdk tools:overrideLibrary="io.flutter.plugins.camera"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Required because camera plugin is 21+


cd $REPO_DIR/examples/all_plugins
flutter clean > /dev/null
(cd "$REPO_DIR" && pub global run flutter_plugin_tools gen-pubspec --exclude firebase_core,firebase_ml_vision)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Exclude firebase_core because all the other firebase plugins depend on it. This caused a problem when compiling.

Exclude firebase_ml_vision because it requires iOS 9.0+ which caused a problem when compiling with google_maps_flutter. I didn't want to change either plugin in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

sgtm. note that we'll be moving these plugins out of this repo soon.

@bparrishMines bparrishMines removed the WIP label Jul 9, 2019
@bparrishMines bparrishMines changed the title [WIP] [all_plugins] Compile all plugins together [all_plugins] Compile all plugins together Jul 9, 2019
Copy link
Contributor

@collinjackson collinjackson left a comment

Choose a reason for hiding this comment

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

minor issue, lgtm otherwise


cd $REPO_DIR/examples/all_plugins
flutter clean > /dev/null
(cd "$REPO_DIR" && pub global run flutter_plugin_tools gen-pubspec --exclude firebase_core,firebase_ml_vision)
Copy link
Contributor

Choose a reason for hiding this comment

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

sgtm. note that we'll be moving these plugins out of this repo soon.

@bparrishMines bparrishMines merged commit 9eac5bb into flutter:master Jul 10, 2019
@bparrishMines bparrishMines deleted the add_em_yo branch July 10, 2019 20:35
mithun-mondal pushed a commit to bKash-developer/archived_plugins that referenced this pull request Aug 6, 2019
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants