Name Date Size #Lines LOC

..26-Sep-2023-

build/H26-Sep-2023-17351

ios/H26-Sep-2023-121100

plugin/H26-Sep-2023-160131

src/H26-Sep-2023-13560

.eslintrc.jsH A D26-Sep-2023103 31

.npmignoreH A D26-Sep-2023183 128

CHANGELOG.mdH A D26-Sep-20233.3 KiB10453

README.mdH A D26-Sep-20231.9 KiB4425

app.plugin.jsH A D26-Sep-202369 21

babel.config.jsH A D26-Sep-2023107 76

expo-module.config.jsonH A D26-Sep-2023139 87

package.jsonH A D26-Sep-20231.1 KiB4241

tsconfig.jsonH A D26-Sep-2023217 109

README.md

1# expo-tracking-transparency
2
3A library for requesting permission to track the user or their device. Examples of data used for tracking include email address, device ID, advertising ID, etc... This permission is only necessary on iOS 14 and higher; on iOS 13 and below this permission is always granted. If the "Allow Apps to Request to Track" device-level setting is off, this permission will be denied.
4
5For more information on Apple's new App Tracking Transparency framework, please refer to their [documentation](https://developer.apple.com/app-store/user-privacy-and-data-use/).
6
7## API documentation
8
9- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/tracking-transparency.mdx)
10- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/tracking-transparency/)
11
12## Installation in managed Expo projects
13
14For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/tracking-transparency/).
15
16## Installation in bare React Native projects
17
18For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
19
20### Add the package to your npm dependencies
21
22```
23npx expo install expo-tracking-transparency
24```
25
26### Configure for iOS
27
28Run `npx pod-install` after installing the npm package.
29
30Add `NSUserTrackingUsageDescription` key to your `Info.plist`:
31
32```xml
33<key>NSUserTrackingUsageDescription</key>
34<string>Your custom usage description string here.</string>
35```
36
37### Configure for Android
38
39No additional set up necessary.
40
41## Contributing
42
43Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).
44