flutter/examples/platform_channel_swift
2017-04-18 15:23:15 +02:00
..
.idea Add battery charging status to Platform Channel example (#9147) 2017-04-05 09:40:35 +02:00
ios Make naming consistent across channel APIs (#9270) 2017-04-18 15:23:15 +02: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 Add charging status to Swift version of Platform Channel example (#9436) 2017-04-18 14:05:33 +02:00
platform_services.iml IntelliJ metadata cleanup (flutter-intellij#914). (#9427) 2017-04-17 13:42:31 -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.