fluttercommunity / fluttercommunity/plus_plugins

[Request]: Add legal copyright from Windows exe etc. to PackageInfo

Open
#3,779 0 comments 0 reactions 0 assignees View on GitHub
enhancement triage
Dominant language
Dart
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### Plugin

package_info_plus

### Use case

I am using the package_info_plus-Addon to retrieve a PackageInfo instance and fill with this the properties of the [AboutDialog](https://api.flutter.dev/flutter/material/AboutDialog-class.html). Currently, I use the following properties to fill the following properties:

- appName -> applicationName
- 'v${version} (Build ${buildNumber})' -> applicationVersion

and I am missing the legal copyright-String from the executable of the app to use that for the applicationLegalese property. Can you please add to extract the LegalCopyright property from the Windows application executable and provide that value in a field within the PackageInfo class?

### Proposal

The plugin should also extract the value from the LegalCopyright property of the Windows executable and provide that as a field in the PackageInfo class. For Android, the contents for that field may come from a copyright text file (see https://ash12rai-weblearning.medium.com/copyright-profiles-android-studio-e476f6613274). For iOS, the copyright text may come from https://developer.apple.com/documentation/BundleResources/Information-Property-List/NSHumanReadableCopyright.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.