| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 26-Sep-2023 | - | ||||
| build/ | H | 26-Sep-2023 | - | 173 | 51 | |
| ios/ | H | 26-Sep-2023 | - | 121 | 100 | |
| plugin/ | H | 26-Sep-2023 | - | 160 | 131 | |
| src/ | H | 26-Sep-2023 | - | 135 | 60 | |
| .eslintrc.js | H A D | 26-Sep-2023 | 103 | 3 | 1 | |
| .npmignore | H A D | 26-Sep-2023 | 183 | 12 | 8 | |
| CHANGELOG.md | H A D | 26-Sep-2023 | 3.3 KiB | 104 | 53 | |
| README.md | H A D | 26-Sep-2023 | 1.9 KiB | 44 | 25 | |
| app.plugin.js | H A D | 26-Sep-2023 | 69 | 2 | 1 | |
| babel.config.js | H A D | 26-Sep-2023 | 107 | 7 | 6 | |
| expo-module.config.json | H A D | 26-Sep-2023 | 139 | 8 | 7 | |
| package.json | H A D | 26-Sep-2023 | 1.1 KiB | 42 | 41 | |
| tsconfig.json | H A D | 26-Sep-2023 | 217 | 10 | 9 |
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