mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() * move flutter_assets to App.framework * Roll engine to 05fee4eeee0ff6b219b1fcc394371e5f6963cc46 05fee4eee Update default flutter_assets path for iOS embedding (flutter/engine#7518) 02205db01 Roll src/third_party/skia 5d052dac3ac1..02738a86e5fd (4 commits) (flutter/engine#7541) af907c074 Roll src/third_party/skia 5c7a3ac0e214..5d052dac3ac1 (7 commits) (flutter/engine#7540) dde286673 IWYU to get SkFontMetrics (flutter/engine#7539) |
||
---|---|---|
.. | ||
ios | ||
lib | ||
test_driver | ||
pubspec.yaml | ||
README.md |
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.