flutter/examples/platform_channel_swift
Alexander Aprelev 700cb767c9
Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)
* Revert "Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) (#19044)" (#19276)"

This reverts commit cf932490b7 as it also
includes fix for type error that broke tests.

* Add type cast for dart2 type checks.

* Move up to latest goldens

* Make inDirectory() type-parameterized.

* Add typecasting to transitions_perf_test.dart and microbenchmarks.

* Add boolean flag initialization in save_catalog_screenshots.dart

* Add type conversion to gallery transition test
2018-07-11 19:26:33 -07:00
..
ios Enable universal iOS binaries for examples (#17357) 2018-05-07 14:13:40 -07:00
lib Fix a type error in platform_channel_swift example (#17354) 2018-05-07 13:10:49 -07:00
test_driver Trivial nit fixes (#12285) 2017-09-27 16:13:48 -07:00
pubspec.yaml Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277) 2018-07-11 19:26:33 -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.