flutter/packages/flutter_tools/templates/plugin
stuartmorgan b98ffdc467
Add PrivacyInfo.xcprivacy to plugin template (#148485)
Adds an empty privacy manifest, and commented out code to include it in the build, to the plugin template. This will make it much easier to explain how to add a privacy manifest in plugin docs, since instead of explaining the format of the file from scratch and providing example code to inculde it, we can just instruct people to add entries to an exisitng file and then uncomment a line or two. This will also make it much easier to figure out from the template output itself how to add support for people who don't find the documentation.

Part of https://github.com/flutter/flutter/issues/131940

Fixes https://github.com/flutter/flutter/issues/140013
2024-05-16 19:58:11 +00:00
..
android-java.tmpl Android Gradle file templates: make it easier to convert them to Kotlin DSL in the future (#142146) 2024-02-15 23:42:13 +00:00
android-kotlin.tmpl Add kotlinOptions jvmTarget to templates (#147326) 2024-05-07 17:32:10 +00:00
android.tmpl Remove files that are unnecessary in a plugin (#89445) 2021-09-07 11:11:05 -07:00
ios-objc.tmpl Add PrivacyInfo.xcprivacy to plugin template (#148485) 2024-05-16 19:58:11 +00:00
ios-swift.tmpl Add PrivacyInfo.xcprivacy to plugin template (#148485) 2024-05-16 19:58:11 +00:00
ios.tmpl Add create app and plugin templates for Swift Package Manager (#147082) 2024-04-24 22:46:20 +00:00
lib flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
linux.tmpl Fix typos (#121171) 2023-02-23 19:43:21 +00:00
test Deprecate these old APIs (#116793) 2023-04-06 19:53:50 +00:00
windows.tmpl Opt into CMake policy CMP0135 (#125502) 2023-04-28 17:49:54 -04:00
README.md.tmpl [flutter_tools] Use proper project name in templates (#96373) 2022-02-02 06:50:14 -08:00

# {{projectName}}

{{description}}

## Getting Started

This project is a starting point for a Flutter
[plug-in package](https://flutter.dev/developing-packages/),
a specialized package that includes platform-specific implementation code for
Android and/or iOS.

For help getting started with Flutter development, view the
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.

{{#no_platforms}}
The plugin project was generated without specifying the `--platforms` flag, no platforms are currently supported.
To add platforms, run `flutter create -t plugin --platforms <platforms> .` in this directory.
You can also find a detailed instruction on how to add platforms in the `pubspec.yaml` at https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms.
{{/no_platforms}}