mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() Manual recreation of https://github.com/flutter/flutter/pull/148911 Entire PR is just the output of ``` flutter update-packages --force-upgrade ``` followed by (run from the root of the flutter repo) ``` find . -type d -name 'android' | dart dev/tools/bin/generate_gradle_lockfiles.dart --no-gradle-generation --no-exclusion ``` |
||
---|---|---|
.. | ||
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.