fastlane/swift/DeliverfileProtocol.swift in fastlane_hotfix-2.165.1 vs fastlane/swift/DeliverfileProtocol.swift in fastlane_hotfix-2.187.0
- old
+ new
@@ -1,17 +1,17 @@
// DeliverfileProtocol.swift
-// Copyright (c) 2020 FastlaneTools
+// Copyright (c) 2021 FastlaneTools
public protocol DeliverfileProtocol: class {
/// Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)
var apiKeyPath: String? { get }
/// Your App Store Connect API Key information (https://docs.fastlane.tools/app-store-connect-api/#use-return-value-and-pass-in-as-an-option)
var apiKey: [String: Any]? { get }
/// Your Apple ID Username
- var username: String { get }
+ var username: String? { get }
/// The bundle identifier of your app
var appIdentifier: String? { get }
/// The version that should be edited or created
@@ -76,11 +76,11 @@
/// Reset the summary rating when you release a new version of the application
var resetRatings: Bool { get }
/// The price tier of this application
- var priceTier: String? { get }
+ var priceTier: Int? { get }
/// Path to the app rating's config
var appRatingConfigPath: String? { get }
/// Extra information for the submission (e.g. compliance specifications, IDFA settings)
@@ -135,24 +135,24 @@
var secondaryFirstSubCategory: String? { get }
/// Metadata: The english name of the secondary second sub category (e.g. `Educational`, `Puzzle`)
var secondarySecondSubCategory: String? { get }
- /// Metadata: A hash containing the trade representative contact information
+ /// **DEPRECATED!** This is no longer used by App Store Connect - Metadata: A hash containing the trade representative contact information
var tradeRepresentativeContactInformation: [String: Any]? { get }
/// Metadata: A hash containing the review information
var appReviewInformation: [String: Any]? { get }
/// Metadata: Path to the app review attachment file
var appReviewAttachmentFile: String? { get }
/// Metadata: The localised app description
- var description: String? { get }
+ var description: [String: Any]? { get }
/// Metadata: The localised app name
- var name: String? { get }
+ var name: [String: Any]? { get }
/// Metadata: The localised app subtitle
var subtitle: [String: Any]? { get }
/// Metadata: An array of localised keywords
@@ -160,23 +160,23 @@
/// Metadata: An array of localised promotional texts
var promotionalText: [String: Any]? { get }
/// Metadata: Localised release notes for this version
- var releaseNotes: String? { get }
+ var releaseNotes: [String: Any]? { get }
/// Metadata: Localised privacy url
- var privacyUrl: String? { get }
+ var privacyUrl: [String: Any]? { get }
/// Metadata: Localised Apple TV privacy policy text
- var appleTvPrivacyPolicy: String? { get }
+ var appleTvPrivacyPolicy: [String: Any]? { get }
/// Metadata: Localised support url
- var supportUrl: String? { get }
+ var supportUrl: [String: Any]? { get }
/// Metadata: Localised marketing url
- var marketingUrl: String? { get }
+ var marketingUrl: [String: Any]? { get }
/// Metadata: List of languages to activate
var languages: [String]? { get }
/// Ignore errors when invalid languages are found in metadata and screenshot directories
@@ -184,17 +184,17 @@
/// Should precheck check in-app purchases?
var precheckIncludeInAppPurchases: Bool { get }
/// The (spaceship) app ID of the app you want to use/modify
- var app: String { get }
+ var app: Int? { get }
}
public extension DeliverfileProtocol {
var apiKeyPath: String? { return nil }
var apiKey: [String: Any]? { return nil }
- var username: String { return "" }
+ var username: String? { return nil }
var appIdentifier: String? { return nil }
var appVersion: String? { return nil }
var ipa: String? { return nil }
var pkg: String? { return nil }
var buildNumber: String? { return nil }
@@ -213,11 +213,11 @@
var rejectIfPossible: Bool { return false }
var automaticRelease: Bool? { return nil }
var autoReleaseDate: Int? { return nil }
var phasedRelease: Bool { return false }
var resetRatings: Bool { return false }
- var priceTier: String? { return nil }
+ var priceTier: Int? { return nil }
var appRatingConfigPath: String? { return nil }
var submissionInformation: [String: Any]? { return nil }
var teamId: String? { return nil }
var teamName: String? { return nil }
var devPortalTeamId: String? { return nil }
@@ -236,24 +236,24 @@
var secondaryFirstSubCategory: String? { return nil }
var secondarySecondSubCategory: String? { return nil }
var tradeRepresentativeContactInformation: [String: Any]? { return nil }
var appReviewInformation: [String: Any]? { return nil }
var appReviewAttachmentFile: String? { return nil }
- var description: String? { return nil }
- var name: String? { return nil }
+ var description: [String: Any]? { return nil }
+ var name: [String: Any]? { return nil }
var subtitle: [String: Any]? { return nil }
var keywords: [String: Any]? { return nil }
var promotionalText: [String: Any]? { return nil }
- var releaseNotes: String? { return nil }
- var privacyUrl: String? { return nil }
- var appleTvPrivacyPolicy: String? { return nil }
- var supportUrl: String? { return nil }
- var marketingUrl: String? { return nil }
+ var releaseNotes: [String: Any]? { return nil }
+ var privacyUrl: [String: Any]? { return nil }
+ var appleTvPrivacyPolicy: [String: Any]? { return nil }
+ var supportUrl: [String: Any]? { return nil }
+ var marketingUrl: [String: Any]? { return nil }
var languages: [String]? { return nil }
var ignoreLanguageDirectoryValidation: Bool { return false }
var precheckIncludeInAppPurchases: Bool { return true }
- var app: String { return "" }
+ var app: Int? { return nil }
}
// Please don't remove the lines below
// They are used to detect outdated files
-// FastlaneRunnerAPIVersion [0.9.48]
+// FastlaneRunnerAPIVersion [0.9.75]