upload_app_privacy_details_to_app_store

Upload App Privacy Details for an app in App Store Connect

Upload App Privacy Details for an app in App Store Connect. For more detail information, view https://docs.fastlane.tools/uploading-app-privacy-details

upload_app_privacy_details_to_app_store
Supported platforms ios, mac
Author @joshdholtz

2 Examples

upload_app_privacy_details_to_app_store(
  username: "your@email.com",
  team_name: "Your Team",
  app_identifier: "com.your.bundle"
)
upload_app_privacy_details_to_app_store(
  username: "your@email.com",
  team_name: "Your Team",
  app_identifier: "com.your.bundle",
  json_path: "fastlane/app_data_usages.json"
)

Parameters

Key Description Default
username Your Apple ID Username for App Store Connect *
app_identifier The bundle identifier of your app *
team_id The ID of your App Store Connect team if you're in multiple teams *
team_name The name of your App Store Connect team if you're in multiple teams *
json_path Path to the app usage data JSON
output_json_path Path to the app usage data JSON file generated by interactive questions ./fastlane/app_privacy_details.json
skip_json_file_saving Whether to skip the saving of the JSON file false
skip_upload Whether to skip the upload and only create the JSON file with interactive questions false
skip_publish Whether to skip the publishing false

* = default value is dependent on the user's system


Documentation

To show the documentation in your terminal, run

fastlane action upload_app_privacy_details_to_app_store

CLI

It is recommended to add the above action into your Fastfile, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal

fastlane run upload_app_privacy_details_to_app_store

To pass parameters, make use of the : symbol, for example

fastlane run upload_app_privacy_details_to_app_store parameter1:"value1" parameter2:"value2"

It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g. param:"1,2,3"). Hashes are not currently supported.

It is recommended to add all fastlane actions you use to your Fastfile.


Source code

This action, just like the rest of fastlane, is fully open source, view the source code on GitHub


Back to actions