chore(ios) handle Apple privacy manifest changes #14007
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Todos
Ti.App.Properties
andTi.App.iOS.UserDefaults
) as well as own APIs (e.g. modules)Context
There are more and more warnings popping up around privacy changes at Apple recently, generating some warning when uploading a build to App Store Connect:
Most of them are used in Ti.Filesystem APIs, so I will try to add guard for them or replace them with more top-level APIs. The docs will also be changed to make sure developers know about the priacy keys when using certain file APIs.
This will take some more time, but a PR should be ready by next week! Apple does not block apps with these warnings, yet, but it'll be good to be up-to-date as one of the first app frameworks (again) :leichtes_lächeln:
In addition, I'll try to support the "privacy manifest" in Titanium, a special configuration file that needs to be embedded into the generated Xcode project. Fun fun fun!
Code strong! 🚀