flutter/examples/platform_channel_swift
2021-02-04 11:41:03 -08:00
..
ios Build iOS apps using Swift Packages (#73508) 2021-01-07 15:59:09 -08:00
lib Migrate remaining examples to null-safety (#74857) 2021-01-27 17:26:23 -08:00
test_driver Reland "Migrate driver tests in example/ to NNBD (#75022)" (#75264) 2021-02-04 11:11:03 -08:00
pubspec.yaml roll packages (#75370) 2021-02-04 11:41:03 -08:00
README.md ✒ Spell Check All .md Files Related to Flutter 💙 (#61564) 2020-07-22 18:23:47 -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.