fastlane/swift/PrecheckfileProtocol.swift in fastlane_hotfix-2.165.1 vs fastlane/swift/PrecheckfileProtocol.swift in fastlane_hotfix-2.187.0
- old
+ new
@@ -1,7 +1,7 @@
// PrecheckfileProtocol.swift
-// Copyright (c) 2020 FastlaneTools
+// Copyright (c) 2021 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 }
@@ -10,11 +10,11 @@
/// The bundle identifier of your app
var appIdentifier: String { get }
/// Your Apple ID Username
- var username: String { get }
+ var username: String? { get }
/// The ID of your App Store Connect team if you're in multiple teams
var teamId: String? { get }
/// The name of your App Store Connect team if you're in multiple teams
@@ -27,25 +27,29 @@
var defaultRuleLevel: String { get }
/// Should check in-app purchases?
var includeInAppPurchases: Bool { get }
+ /// Should force check live app?
+ var useLive: Bool { get }
+
/// 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 username: String? { return nil }
var teamId: String? { return nil }
var teamName: String? { return nil }
var platform: String { return "ios" }
var defaultRuleLevel: String { return "error" }
var includeInAppPurchases: Bool { return true }
+ var useLive: Bool { return false }
var freeStuffInIap: String? { return nil }
}
// Please don't remove the lines below
// They are used to detect outdated files
-// FastlaneRunnerAPIVersion [0.9.44]
+// FastlaneRunnerAPIVersion [0.9.71]