aaassseee / screen_brightness

A Plugin for controlling screen brightness with application life cycle set and reset brightness implemented
https://pub.dev/packages/screen_brightness
MIT License
25 stars 19 forks source link

Add iOS privacy manifests file #28

Closed JohnSmith0922 closed 6 months ago

JohnSmith0922 commented 6 months ago

Related Issue

Fixes https://github.com/aaassseee/screen_brightness/issues/27

Description

Added PrivacyInfo.xcprivacy to podspec of screen_brightness_ios. I think screen_brightness_ios is internally using UIScreen.main.brightness to manage the screen brightness, however it is not accessing any of the required reason API. Therefore, I created an empty privacy manifests file.

Reference

https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

aaassseee commented 6 months ago

@JohnSmith0922 Thanks for the PR