flutter/examples/platform_channel_swift
2017-11-01 15:28:46 -07:00
..
.idea add Dart_SDK project library to examples that don't have them (#9847) 2017-05-05 19:14:58 -07:00
ios Add generated plugin registry (#10375) 2017-05-29 14:10:29 +02: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
.gitignore Add swift version of Platform Channel example (#9098) 2017-03-30 15:11:19 +02:00
platform_channel_swift.iml Replace FLUTTER_MODULE_TYPE with WEB_MODULE in dev/manual_tests/* and examples/* iml files (#11234) 2017-08-07 15:53:56 -07:00
pubspec.yaml Update Dart package dependencies (#12829) 2017-11-01 15:28:46 -07: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.