View Source Apple.Types.AppStoreConnect (apple v0.5.0)
Provides App Store Connect related types.
Summary
Types
The app's bundle ID, like "com.example.demo"
.
The issuer ID, like "57246542-96fe-1a63-e053-0824d011072a"
The private key ID, like "2X9R4HXF34"
.
The private key associated with the key_id
.
The secret for verifying receipt, which is a 32-character hexadecimal string,
like "10e87024b8b34e699156d1d89bdd6bf0"
.
Types
@type bundle_id() :: String.t()
The app's bundle ID, like "com.example.demo"
.
To obtain the app's bundle ID, sign into App Store Connect and complete the following steps:
- Select "Apps".
- Select "App Information" under the "General" section.
- Look up the "Bundle ID" on the page.
@type issuer_id() :: String.t()
The issuer ID, like "57246542-96fe-1a63-e053-0824d011072a"
To obtain the issuer ID, sign into App Store Connect and complete the following steps:
- Select "Users and Access", and then select the "Integrations" tab.
- Select the type of "Keys" that you need:
- App Store Connect API
- In-App Purchase
- Look up the "Issue ID" on the page.
@type key_id() :: String.t()
The private key ID, like "2X9R4HXF34"
.
To generate a private key, sign into App Store Connect and complete the following steps:
- Select "Users and Access", and then select the "Integrations" tab.
- Select the type of "Keys" that you need:
- App Store Connect API
- In-App Purchase
- Click the Generate button or the Add (+) button.
- Enter a name for the key.
- Click the Generate button.
Then, following information appears on the page:
- the private key's name
- the private key ID
- the link for downloading the private key
Note
The name for the key is for your reference only and isn't part of the key itself.
Warning
The private key is only available for download a single time.
@type private_key() :: String.t()
The private key associated with the key_id
.
It's in PEM format, like:
-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
...
-----END PRIVATE KEY-----