flutter/examples/platform_channel_swift
Greg Spencer df791279ab
Fix process running during package creation (#14508)
There were some problems I introduced with the last PR for this. It passed the test, but failed in practice.

This adds tests for those failure cases, adds a "--help" and fixes the test so that it doesn't try and actually download MinGit as part of the Windows test.

I added package:platform as a dependency, so I did a force upgrade on the packages.

Also, re-enabling 'create package' in the cache warming code, now that #14448 is fixed.
2018-02-07 12:21:14 -08:00
..
ios Remove app.flx and add flutter_assets to project.pbxproj of all example apps (#13649) 2017-12-18 20:08:30 +01:00
lib Uncontroversial and backwards compatible 2.0 SDK fixes (#13723) 2017-12-21 13:39:03 -08:00
test_driver Trivial nit fixes (#12285) 2017-09-27 16:13:48 -07:00
pubspec.yaml Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
README.md Add swift version of Platform Channel example (#9098) 2017-03-30 15:11:19 +02:00

Example of calling platform services from Flutter

This project demonstrates how to connect a Flutter app to platform specific services on iOS using Swift. The equivalent version of this project in Objective C is found in examples/platform_channel.

You can read more about accessing platform and third-party services in Flutter.

iOS

You can use the commands flutter build and flutter run from the app's root directory to build/run the app or you can open ios/Runner.xcworkspace in Xcode and build/run the project as usual.

Android

We refer to the platform_channel project.