-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExampleConfiguration.swift
More file actions
25 lines (21 loc) · 929 Bytes
/
Copy pathExampleConfiguration.swift
File metadata and controls
25 lines (21 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// ExampleConfiguration.swift
// AppBoxSDKExample
//
// Created by Vineet Choudhary on 08/09/26.
// Copyright © 2026 Developer Insider. All rights reserved.
//
import Foundation
/// Where this sample gets the link it watches.
///
/// Upload a build with `fastlane appbox_demo`, then paste the link the lane prints below — or pass it in without
/// editing code by setting `APPBOX_INSTALL_LINK` in the scheme's environment variables.
enum ExampleConfiguration {
static let installLink = ProcessInfo.processInfo.environment["APPBOX_INSTALL_LINK"] ?? fallbackInstallLink
/// Replace this with the install link AppBox gave you: the `appbox.me` short link, the `web.getappbox.com`
/// install page link, or the Dropbox share link of the build's `appinfo.json`.
private static let fallbackInstallLink = "https://appbox.me/2zyazagj"
static var isConfigured: Bool {
!installLink.isEmpty
}
}