flutter/examples/platform_channel_swift
2019-10-03 21:30:37 -07:00
..
android Migrate examples and tests to AndroidX (#41251) 2019-09-25 09:02:15 -07:00
ios Remove xcconfigs from template Copy Bundle Resources build phases (#38724) 2019-08-19 16:23:45 -07:00
lib Prefer void to null (#22977) 2018-10-16 22:03:06 +02:00
test_driver Use test instead of test_api package in platform_channel_swift example tests (#35942) 2019-07-10 19:17:14 -07:00
pubspec.yaml Revert "replace package:vm_service_client with package:vm_service in the devicelab project (#41646)" (#41960) 2019-10-03 21:30:37 -07:00
README.md Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07: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.