flutter/examples/platform_channel_swift
Brian Slesinsky 60c6ecc79f add Dart_SDK project library to examples that don't have them (#9847)
This ensures that when someone opens the project using IDEA,
the Flutter plugin will find the location of the Flutter SDK
and run "flutter packages get".
2017-05-05 19:14:58 -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 Move platform_channel_swift example to latest template (#9786) 2017-05-03 17:02:43 -07:00
lib Make naming consistent across channel APIs (#9270) 2017-04-18 15:23:15 +02:00
test_driver Add swift version of Platform Channel example (#9098) 2017-03-30 15:11:19 +02:00
.gitignore Add swift version of Platform Channel example (#9098) 2017-03-30 15:11:19 +02:00
platform_channel_swift.iml Move platform_channel_swift example to latest template (#9786) 2017-05-03 17:02:43 -07:00
pubspec.yaml Add swift version of Platform Channel example (#9098) 2017-03-30 15:11:19 +02: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.