StoreRules

Rules · Requesting access to protected resources · Overview

Adhere to the requirements for purpose strings

In plain words

Every purpose string, including localized ones, must be valid: non-blank, under 4,000 bytes, correctly typed, and accurate, meaningful and specific. App Review rejects apps whose code accesses protected resources without one.

  • A purpose string must not be blank or only whitespace, must be shorter than 4,000 bytes, and must have the type its key requires, typically a string.
  • It must describe accurately, meaningfully and specifically why the app needs the protected resource. Typically one complete sentence; more information is allowed.
  • App Review checks for use of protected resources and rejects apps with code accessing them without a purpose string (e.g. ITMS-90683).
  • To resolve this, provide a purpose string explaining why the app needs the data, or remove the code accessing the resource.
  • External libraries or SDKs may reference APIs requiring a purpose string; it is still necessary even if your app doesn't use them. You are responsible for all access, including SDK access.

Summary written by StoreRules and checked against the official text.

From the official text

To give people useful, concise information about why you’re requesting access to protected resources, make sure each purpose string you provide is valid by checking the following: - The purpose string isn’t blank and doesn’t consist solely of whitespace characters. - The purpose string is shorter than 4,000 bytes. …

Read the full official text ↗ Open in the StoreRules library Ask whether your app complies

Developers' cases about this clause

No cases yet.

Share your case