fastlane/swift/PrecheckfileProtocol.swift in fastlane-2.159.0 vs fastlane/swift/PrecheckfileProtocol.swift in fastlane-2.160.0
- old
+ new
@@ -1,9 +1,15 @@
// PrecheckfileProtocol.swift
// Copyright (c) 2020 FastlaneTools
public protocol PrecheckfileProtocol: 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 }
+
/// The bundle identifier of your app
var appIdentifier: String { get }
/// Your Apple ID Username
var username: String { get }
@@ -26,10 +32,12 @@
/// using text indicating that your IAP is free
var freeStuffInIap: String? { get }
}
public extension PrecheckfileProtocol {
+ var apiKeyPath: String? { return nil }
+ var apiKey: [String: Any]? { return nil }
var appIdentifier: String { return "" }
var username: String { return "" }
var teamId: String? { return nil }
var teamName: String? { return nil }
var platform: String { return "ios" }
@@ -38,6 +46,6 @@
var freeStuffInIap: String? { return nil }
}
// Please don't remove the lines below
// They are used to detect outdated files
-// FastlaneRunnerAPIVersion [0.9.38]
+// FastlaneRunnerAPIVersion [0.9.39]