Todd Volkert
904d524313
Add support for --use-application-binary on iOS ( #6318 )
...
Fixes #6283
2016-10-13 16:17:50 -07:00
Chris Bracken
a45e4e923c
Support Xcode variable substitution in Info.plist
...
As of Xcode 7, Apple recommends setting CFBundleIdentifier to
$(PRODUCT_BUNDLE_IDENTIFIER).
2016-09-26 15:04:07 -07:00
Chris Bracken
b5f763b45e
Support a configurable build directory ( #5601 )
...
This change adds a top-level getBuildDirectory func and funcs for
android, aot, asset, ios build products.
Developers may now add a "build-dir" mapping to their
~/.flutter_settings (JSON format) config file. Output directory is
relative to the main flutter application directory.
This change also changes the default build directory for iOS builds to a
subdirectory of the configured build directory, 'build/ios' by default.
2016-08-25 16:38:19 -07:00
Devon Carew
14483586e0
make flutter run work with a pre-built apk ( #5307 )
...
* make flutter run work with a pre-built apk
* refactor to remove the buildDir param
2016-08-09 14:38:13 -07:00
Devon Carew
57b76a050f
Hello services run ( #4969 )
...
* making flutter run work with gradle
* locate android studio
* add test for settings
* review comments
2016-07-19 20:00:02 -07:00
Adam Barth
8d56fae557
Finish integrating HelloServices model on iOS ( #4820 )
...
This patch changes the default `flutter create` command to generate a
HelloServices-style app on iOS. As a consequence, the Atom integration now
fully works with HelloServices.
2016-07-06 13:13:28 -07:00
pq
f5a4e63237
Added asserts.
2016-06-14 15:19:14 -07:00
pq
7a95548746
Add missing returns.
...
As of `1.18.0-dev-0`, these cases will get flagged. In the meantime, the
2016-06-14 12:13:56 -07:00
Todd Volkert
cc8c78adf4
iOS tools cleanup ( #4161 )
...
* iOS tools cleanup
1) Fix `flutter install` on both device and simulator to refer to the actual
bundle and not just the .generated folder
2) Fix `flutter run` on device to actually run vs just installing
Still TODO:
1) Discovered that isAppInstalled on iOS simulator always reports true,
meaning it'll never actually try to install the app.
Fixes #3947
Fixes #1823
2016-05-24 16:25:40 -07:00
Jason Simmons
a590ee2671
Remove BuildConfigurations ( #3879 )
...
Artifacts from local engine builds will be found based on the --local-engine flag
2016-05-12 12:22:15 -07:00
Jason Simmons
4d0e6984c2
Build tool support for Android x86 targets in 32- or 64-bit modes ( #3761 )
2016-05-05 16:04:22 -07:00
Devon Carew
f132acaf1d
use the new cache code to locate more artifacts ( #3361 )
...
* use the new cache code to locate more artifacts
* add todo
* review comments
2016-04-15 21:08:03 -07:00
Devon Carew
1311ae6ffe
add a target for android-x64 ( #3224 )
...
* add a target for android-x64
* update armeabi-v7a to x86_64
2016-04-08 14:04:46 -07:00
Devon Carew
653566dd23
simplify toolchain setup
2016-04-04 13:10:56 -07:00
Devon Carew
2fc8e9a110
create a crash report
2016-03-25 13:29:15 -07:00
Chinmay Garde
c8377d7428
Dont differentiate between ios_arm and ios_x64 in flutter_tools
...
All artifacts for iOS are universal.
2016-03-21 14:41:26 -07:00
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -07:00
Adam Barth
e2744e9a30
Stop using a prebuilt APK
...
Instead, require an AndroidManifest.xml and always build an APK.
Fixes #2517
2016-03-14 13:32:00 -07:00
Devon Carew
e939b152af
rename the platform constants
2016-03-12 11:08:21 -08:00
Devon Carew
5ad6a57007
remove some references to DeviceStore
2016-03-11 11:25:03 -08:00
Hixie
5810cd80bd
Avoid 'as' keyword
...
It has performance implications in release mode.
We'll enable the lint once https://github.com/dart-lang/linter/issues/195 is fixed.
2016-03-09 15:00:55 -08:00
Devon Carew
9367b86abe
add a validator for Atom
2016-02-23 10:25:14 -08:00
Devon Carew
a49e45106d
fix a checked mode assertion
2016-02-22 13:09:22 -08:00
Devon Carew
3463d89cf6
remove iosSimulator field from ApplicationPackageStore
2016-02-22 12:37:08 -08:00
Chinmay Garde
df946dd875
iOS: Treat the initial Info.plist string as a mustache template.
...
Use the project name to initialize the bundle name and identifier
2016-02-19 11:37:05 -08:00
Todd Volkert
5d496143ba
Review
2016-02-12 08:27:47 -08:00
Chinmay Garde
62fb32d458
Merge pull request #1792 from chinmaygarde/master
...
Allow users to upgrade their iOS engines without removing their edits to the Xcode project
2016-02-11 21:17:30 -08:00
Chinmay Garde
3d25df3f99
iOS: Update path to the application Xcode project to point to the generated subdirectory
2016-02-11 17:48:56 -08:00
Devon Carew
de8d11e714
rename the apk/ directory to android/
2016-02-11 13:28:24 -08:00
Matt Perry
1cf36da1e1
Fix flutter stop
to stop the right Android activity.
...
Previously we'd always stop org.domokit.sky.shell. If an
AndroidManifest.xml exists, we'll use the activity specified in there
instead.
2016-02-09 11:53:37 -05:00
Chinmay Garde
b7e388c5dd
Allow preconfigured packages for iOS simulator and devices
2016-01-15 11:51:45 -08:00
Chinmay Garde
9fd1711b43
Add configurations for prebuilt iOS and iOS simulator targets
2016-01-15 11:51:45 -08:00
Adam Barth
9662d49e12
Clean up code organization in flutter_tools
...
1) Moved basic utility code into base/ directory to make it clear which code
doesn't depend on Flutter-specific knowldge.
2) Move the CommandRunner subclasses into a runner/ directory because these
aren't commands themselves.
2015-11-28 21:16:55 -08:00
Adam Barth
da0a12c611
Rename sky_tools to flutter_tools
2015-11-10 13:20:35 -08:00
Ian Hickson
3419068cb3
Port test logic to Dart.
2015-11-09 09:00:49 -08:00
Adam Barth
94b472ff67
Add a --no-http flag to start command
...
This flag builds a local FLX file and pushes that to the device instead of
using an HTTP server.
2015-10-31 12:18:03 -07:00
Adam Barth
bdd20661d7
Teach sky_tools about prebuilt artifacts
...
This patch makes `flutter start` work without a clone of the engine git
repository. Making this work pulled a relatively large refactor of how the
commands interact with application packages and devices. Now commands that want
to interact with application packages or devices inherit from a common base
class that holds stores of those objects as members.
In production, the commands download and connect to devices based on the build
configuration stored on the FlutterCommandRunner. In testing, these fields are
used to mock out the real application package and devices.
2015-10-12 00:03:55 -07:00
Ian Fischer
a6a3f212ee
IOSSimulator implementation.
...
Also fixes some minor bugs with iOS and Android interactions.
2015-10-11 19:36:06 -07:00
Ian Fischer
12192d00c1
Beginning implementation of IOSDevice. Implements list and install.
...
Also update tests to be compatible with the presence of iOS and add tests for list and install.
2015-10-06 11:46:29 -07:00
Ian Fischer
fa59233746
Add stop command and supporting Android support.
2015-09-25 16:16:19 -07:00
Ian Fischer
0cc758d24e
Set up plumbing for getting relevant paths to the right places without too much global state.
...
`dart bin/sky_tools.dart --debug --sky-src-path=/path/to/sky/src/ install` now works.
2015-09-22 11:17:39 -07:00