flutter/examples/platform_channel_swift
Greg Spencer 765191e7b4
Adding minzip to packaging steps for Windows (#13679)
This adds our self-compiled copy of the MinGit executable (built from the flutter/git repo) to the archive when building an archive for Windows.

I also tweaked the internal API for prepare_package.dart so that there's a single entry point to build an archive.
2017-12-20 15:35:53 -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 enable lint prefer_single_quotes (#12665) 2017-10-22 18:11:36 +02:00
test_driver Trivial nit fixes (#12285) 2017-09-27 16:13:48 -07:00
pubspec.yaml Adding minzip to packaging steps for Windows (#13679) 2017-12-20 15:35:53 -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.