flutter/examples/platform_channel_swift
Alexandre Ardhuin 27018359d2
re-enable lint unnecessary_const (#19592)
* re-enable lint unnecessary_const

* remove trailling whitespaces

* remove unnecessary const (after merge)
2018-07-23 08:31:48 +02:00
..
ios Don't bundle Genereted.xcconfig as a resource (#19544) 2018-07-19 07:24:06 -07:00
lib re-enable lint unnecessary_const (#19592) 2018-07-23 08:31:48 +02:00
test_driver Trivial nit fixes (#12285) 2017-09-27 16:13:48 -07:00
pubspec.yaml Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -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.