- 23 Mar, 2017 1 commit
-
-
Chris Bracken authored
**THIS IS A BREAKING CHANGE.** See below for migration steps for existing projects. Previously, Flutter app code was built as a raw dylib on iOS. Dynamic libraries outside of a framework bundle are not supported on iOS, except for the system Swift libraries provided by Xcode. See: https://developer.apple.com/library/content/technotes/tn2435/_index.html#//apple_ref/doc/uid/DTS40017543-CH1-TROUBLESHOOTING_BUNDLE_ERRORS-EMBEDDED__DYLIB_FILES * Migrates Xcode build from app.dylib to App.framework * Migrates flutter create template * Migrates example projects Migration steps for existing projects ===================================== The following steps should be taken from the root of your Flutter project: 1. Edit `ios/.gitignore`: add `/Flutter/App.framework` on a new line. 2. In the Xcode project navigator, remove `app.dylib` from the Flutter folder. Delete this file from the `ios/Flutter` directory in your project. 3. Run a build to generate `ios/Flutter/App.framework`. From the command line, run `flutter build ios`. If you have not configured app signing in Xcode, an alternative method is to open the simulator, then run `flutter run -d iP`. 4. In the Xcode project navigator, select the `Runner` project. In the project settings that are displayed in the main view, ensure that the `Runner` target is selected. You can verify this by exposing the sidebar using the [| ] icon in the upper-left corner of the main view. 5. Select the *General* tab in the project settings. Under the *Embedded Binaries* section, click '+' to add `App.framework`. In the sheet that drops down, click the *Add Other...* button. Navigate to the `ios/Flutter` directory and select `App.framework`. Click *Open*. In the sheet that drops down, select *Create folder references*, then click *Finish*. 6. In the project settings, verify that `App.framework` has been added to the *Embedded Binaries* and *Linked Frameworks and Libraries* lists. 7. In the Xcode project navigator, drag `App.framework` under the Flutter folder. 8. In the Xcode project navigator, select `Flutter` then from the *File* menu, select *Add Files to "Runner"...*. Navigate to the `ios/Flutter` directory, select `AppFrameworkInfo.plist` and click the *Add* button. 9. From the command line, in your project directory, run `flutter build clean`, then `flutter run`. At this point your project should be fully migrated.
-
- 08 Mar, 2017 2 commits
-
-
Chris Bracken authored
* Revert "Update Hello World to latest iOS project template (#8634)" This reverts commit 6dc6ed4e. * Revert "Update Gallery to latest iOS project template (#8637)" This reverts commit 84c42aac. * Revert "Update Stocks to latest iOS project template (#8640)" This reverts commit 90774c18.
-
Chris Bracken authored
-
- 07 Mar, 2017 2 commits
-
-
Chris Bracken authored
Update templates and example Xcode project files to indicate they've been tested for Xcode 8.3 compatibility.
-
Chris Bracken authored
Gallery and stocks: * Add 20x20 notification icons. * Remove unused 76x76 (3x scale) icon. Other examples: update JSON to Xcode 8.2.1 defaults Fixes warnings for missing/unused icon assets in Xcode 8.2.x
-
- 28 Feb, 2017 1 commit
-
-
Michael Thomsen authored
-
- 21 Feb, 2017 1 commit
-
-
Michael Thomsen authored
-
- 15 Feb, 2017 2 commits
-
-
Michael Thomsen authored
* Update hello_world to new gradle based build flow * Update flutter_gallery to gradle based build * Align hello_services with new gradle based build * Update platform_services to new gradle based build * Upgrade stock to gradle based build
- 14 Feb, 2017 1 commit
-
-
Michael Thomsen authored
* Move .iml file back to project root directory * Update .iml location in all examples
-
- 09 Feb, 2017 1 commit
-
-
Chris Bracken authored
Required to support Flutter SDK paths with spaces.
-
- 07 Feb, 2017 1 commit
-
-
Chris Bracken authored
-
- 03 Feb, 2017 1 commit
-
-
Chris Bracken authored
Subclassing FlutterAppDelegate is not required for real-world apps, but it's what 'flutter create' generates, and applies the default behaviours that most real-world apps will want.
-
- 01 Feb, 2017 2 commits
-
-
Chris Bracken authored
This avoids Xcode complaining at us about unused xcconfig files (for the time being).
-
Chris Bracken authored
-
- 27 Jan, 2017 1 commit
-
-
Chris Bracken authored
Almost all real-world apps will want a custom app delegate, and 'flutter create' code-gens one by default. This brings the samples in line with our templates and the most common use case.
-
- 24 Jan, 2017 1 commit
-
-
Ian Hickson authored
-
- 23 Jan, 2017 1 commit
-
-
Michael Thomsen authored
* Disable 'Show Excluded' by default * Move .iml file inside .idea dir * Remove pub and build excludions as they are automatically set by the Dart plugin * Exclude .idea folder (new users will edit it through the IJ UI, not the file) * Move .iml files into .idea dir to be consistent with template changes * Add workspace.xml from new template to existing samples * Update current examples to match template changes for excluding folders * Add missing flutter.yaml to make sure there are no analysis errors * Add back .pub and build excludeFolder tags per https://github.com/flutter/flutter-intellij/issues/630#issuecomment-272887230 * Remove workspace.xml from example per review feedback
-
- 12 Jan, 2017 1 commit
-
-
Phil Quitslund authored
* Add example IntelliJ metadata (flutter-intellij#607). Ensures example projects open cleanly out-of-the-box w/ the Flutter Plugin. See: https://github.com/flutter/flutter-intellij/issues/607. * Fixed IML files.
-
- 07 Dec, 2016 1 commit
-
-
Collin Jackson authored
* s/sky/flutter/ in Android templates * update engine.version with a compatible engine version * replace more SkyActivity references with FlutterActivity
-
- 27 Nov, 2016 1 commit
-
-
Adam Barth authored
These now match what 2016.3 expects.
-
- 14 Nov, 2016 1 commit
-
-
Dan Rubel authored
* Remove the workaround that pinned args to v0.13.6 This reverts most of the changes in commit 6331b6c8 * throw exception if exit code is not an integer * rework command infrastructure to throw ToolExit when non-zero exitCode * convert commands to return Future<Null> * cleanup remaining commands to use throwToolExit for non-zero exit code * remove isUnusual exception message * add type annotations for updated args package
-
- 08 Nov, 2016 1 commit
-
-
Dan Rubel authored
-
- 01 Nov, 2016 1 commit
-
-
Adam Barth authored
Fixes #6417
-
- 15 Oct, 2016 1 commit
-
-
Adam Barth authored
-
- 14 Oct, 2016 1 commit
-
-
Adam Barth authored
-
- 13 Oct, 2016 2 commits
-
-
Jason Simmons authored
This is needed to update an app's layout when a soft keyboard is shown
-
Adam Barth authored
These changes were generated by IntelliJ.
-
- 07 Oct, 2016 2 commits
-
-
Devon Carew authored
-
Devon Carew authored
* commit intellij project metadata * move metadata to the top level * delete dev/intellij
-
- 26 Sep, 2016 1 commit
-
-
Chris Bracken authored
As of Xcode 7, Apple recommends setting the bundle identifier in the PRODUCT_BUNDLE_IDENTIFIER build variable and setting CFBundleIdentifier to that variable in Info.plist. As of Xcode 8, CLANG_WARN_INFINITE_RECURSION and CLANG_WARN_SUSPICIOUS_MOVE are recommended settings.
-
- 23 Sep, 2016 1 commit
-
-
Adam Barth authored
Switch our pubspec.yamls to using SDK sources so that we can have consistent source types when we depend on these packages from external packages using SDK sources.
-
- 05 Aug, 2016 2 commits
-
-
Chinmay Garde authored
* Update examples to lower the deployment target on iOS.
-
Eric Seidel authored
* Remove stray PRODUCT_BUNDLE_IDENTIFIER This was erroneously added and overrides the bundle for the gallery causing signing to fail in my setup. @chinmaygarde * Remove PRODUCT_BUNDLE_IDENTIFIER from all Runner pbxproj's
-
- 20 Jul, 2016 1 commit
-
-
Devon Carew authored
* making flutter run work with gradle * locate android studio * add test for settings * review comments
-
- 07 Jul, 2016 1 commit
-
-
Adam Barth authored
We want to use the FlutterViewController in this new project template. Fixes #4840
-
- 06 Jul, 2016 1 commit
-
-
Adam Barth authored
We now use a different approach for ios projects where the developer controls the Xcode project file. This patch removes the old ".generated" approach in favor of the new approach.
-
- 16 May, 2016 1 commit
-
-
Ian Hickson authored
This makes it possible to substitute 'flutter run' for 'flutter test' and actually watch a test run on a device. For any test that depends on flutter_test: 1. Remove any import of 'package:test/test.dart'. 2. Replace `testWidgets('...', (WidgetTester tester) {` with `testWidgets('...', (WidgetTester tester) async {` 3. Add an "await" in front of calls to any of the following: * tap() * tapAt() * fling() * flingFrom() * scroll() * scrollAt() * pump() * pumpWidget() 4. Replace any calls to `tester.flushMicrotasks()` with calls to `await tester.idle()`. There's a guarding API that you can use, if you have particularly complicated tests, to get better error messages. Search for TestAsyncUtils.
-
- 10 May, 2016 1 commit
-
-
Todd Volkert authored
-
- 09 May, 2016 1 commit
-
-
Jason Simmons authored
-