juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.09k stars 504 forks source link

Add ios privacy manifest #940

Closed timbotimbo2 closed 2 months ago

timbotimbo2 commented 2 months ago

Description

Starting May 1 2024, Apple requires apps and some 3rd party frameworks to include a privacy manifest that documents usage of certains APIs.

After both a manual search and running this scanner, this plugin doesn't appear to be using any of these APIs directly.

However Unity uses multiple and is required to provide these manifests. These are included in builds and exports as of 2021.3.35f1 and 2022.3.18f1, see the unity docs.

Just as a precaution, this PR adds an empty manifest for the plugin code. Providing a manifest will also make it easier for any user that has to manually check all their used plugins after failing a future Apple review.

For easier maintenance, I've used the same podspec approach as the Flutter plugins in github.com/flutter/packages.

Type of Change