AppDistribution
class AppDistribution : NSObject
The Firebase App Distribution API provides methods to check for update to the app and returns information that enables updating the app.
By default, Firebase App Distribution is initialized with FirebaseApp.configure()
.
Note: The App Distribution class cannot be subclassed. If this makes testing difficult, we suggest using a wrapper class or a protocol extension.
-
Returns true if the App Distribution tester is signed in.
Declaration
Swift
var isTesterSignedIn: Bool { get }
-
Sign-in the App Distribution tester
Declaration
Swift
func signInTester() async throws
-
Check to see whether a new distribution is available
Declaration
Swift
func checkForUpdate() async throws -> FIRAppDistributionRelease?
-
Sign out App Distribution tester
Declaration
Swift
func signOutTester()
-
Handle an App Distribution URL, for example a link to download a new pre-release version. Call this method in your app delegate’s
openURL
implementation if swizzling is disabled.Declaration
Swift
func application(_ application: UIApplication, open url: URL, options: [String : Any] = [:]) -> Bool
-
Accesses the singleton App Distribution instance.
Declaration
Swift
class func appDistribution() -> Self
Return Value
The singleton App Distribution instance.