mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
ad9506d25a
* traverse dependencies and dev dependencies separately * separate dev and reg deps * update pubspecs * add checksum string and update transitive dep string. Add additional verify command to check checksum * cleanup comments * add missing space, quote, run verify-onlu from bot script * rerun tool with fixed string * ensure correct working directory and bump versions * flutter not flutterRoot |
||
---|---|---|
.. | ||
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.