mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
37db92beeb
Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders: - systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally. - MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line. - RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline. |
||
---|---|---|
.. | ||
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.