flutter/examples/platform_channel_swift
flutter-pub-roller-bot 651ff0a8f2
Roll pub packages (#168119)
This PR was generated by `flutter update-packages --force-upgrade`.
2025-05-01 04:42:56 +00:00
..
ios iOS: Update minimum iOS version to 13.0 (#167737) 2025-04-24 20:15:13 +00:00
lib Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
test_driver Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
pubspec.yaml Roll pub packages (#168119) 2025-05-01 04:42:56 +00:00
README.md Update flutter.dev links from misc packages to more permanent destinations (#150532) 2024-06-20 23:09:08 +00: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.