Modifying readmes (#175)

pull/177/head
Andrew Brogdon 6 years ago committed by GitHub
parent 9880ff0679
commit 8c27a25d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,8 +50,9 @@ them.
With the exception of `android_using_prebuilt_module`, the Android apps are With the exception of `android_using_prebuilt_module`, the Android apps are
ready to run once you've completed the `flutter packages get` commands listed ready to run once you've completed the `flutter packages get` commands listed
above. The iOS apps use CocoaPods, though, so you need to run this command above. Two of the iOS apps (`ios_fullscreen` and `ios_using_plugin`) use
within their project directories to install their dependencies: Cocoapods, though, so you need to run this command within their project
directories to install their dependencies:
```bash ```bash
pod install pod install
@ -105,31 +106,25 @@ to be built.
**Building for `android_using_prebuilt_module`** **Building for `android_using_prebuilt_module`**
`flutter_module` can be built into an `aar` using either a debug or release To build `flutter_module` as an aar, run this command from the `flutter_module`
configuration. To build a debug `aar`, run this command from the directory:
`flutter_module` directory:
```bash
flutter build aar --debug
```
To build a release version of the `aar`, simply omit the debug flag:
```bash ```bash
flutter build aar flutter build aar
``` ```
The Android app is configured to import the appropriate `aar` based on its own It will produce `aar` files for debug, profile, and release mode. The Android
build configuration, so if you build a debug version of the app, it will look app is configured to import the appropriate `aar` based on its own build
for the debug `aar`, and likewise for a release build. configuration, so if you build a debug version of the app, it will look
for the debug `aar`, and so on.
If the `flutter_module` project is updated, the `aar` must be rebuilt via one of If the `flutter_module` project is updated, the `aar` files must be rebuilt via
the commands above in order for those changes to appear in the app. one of the commands above in order for those changes to appear in the app.
**Building for `ios_using_prebuilt_module`** **Building for `ios_using_prebuilt_module`**
`flutter_module` can be compiled into frameworks for `ios_using_prebuilt_module` To build `flutter_module` as a set of frameworks, run this command from the
by running this command from the `flutter_module` directory: `flutter_module` directory:
```bash ```bash
flutter build ios-framework --output=../ios_using_prebuilt_module/Flutter flutter build ios-framework --output=../ios_using_prebuilt_module/Flutter

@ -1,5 +0,0 @@
# Flutter frameworks folder
This folder is intended to store pre-compiled Frameworks for a Flutter app,
which are not (in this case) checked into source control. See the README that
ships with this app for details on how to create the frameworks this app uses.
Loading…
Cancel
Save