Skip to content

Commit

Permalink
fix: privacyinfo inline
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Mar 28, 2024
1 parent 7b96977 commit 5aa066a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,28 @@ When using these APIs, you need to declare the reason(s) for using them inside a

### Existing Apps

For existing apps, you can download the default [PrivacyInfo.xcprivacy here](./PrivacyInfo.xcprivacy) and place them into the following folder:

For existing apps, you can use the default `PrivacyInfo.xcprivacy`

```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>AC6B.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
</dict>
</plist>
```
and place them into the following folder:
- Alloy apps: app/assets/iphone/
- Classic apps: Resources/iphone/

Expand Down
17 changes: 0 additions & 17 deletions docs/guide/Titanium_SDK/Titanium_SDK_How-tos/PrivacyInfo.xcprivacy

This file was deleted.

0 comments on commit 5aa066a

Please sign in to comment.