flutter/examples/platform_channel_swift
Dan Field 496c57386b
Update packages (#27046)
* Update packages

* Change test for isFile
2019-01-24 16:02:45 -08:00
..
ios Roll engine to 05fee4eeee0ff6b219b1fcc394371e5f6963cc46 (#26713) 2019-01-21 21:23:04 -08:00
lib Prefer void to null (#22977) 2018-10-16 22:03:06 +02:00
test_driver Retry remove package:test from flutter (#24007) 2018-11-06 10:48:34 -08:00
pubspec.yaml Update packages (#27046) 2019-01-24 16:02:45 -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.