File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change 11# ETDistribution 🛰️
22
3- Keep internal builds up to date with ETDistribution
3+ Keep internal builds up to date with ETDistribution
4+
5+ # Features
6+
7+ Check for updates and automatically prompt with an option to ignore or install
8+ ``` swift
9+ import ETDistribution
10+
11+ Button (" Check for updates" ) {
12+ ETDistribution.shared .checkForUpdate (apiKey : " YOUR_API_KEY" )
13+ }
14+ ```
15+
16+ Or handle the update yourself
17+
18+ ``` swift
19+ import ETDistribution
20+
21+ ETDistribution.shared .checkForUpdate (apiKey : " YOUR_API_KEY" , tagName : " alpha" ) { result in
22+ if let update = try ? result.get (), let url = ETDistribution.shared.buildUrlForInstall (update.downloadUrl ) {
23+ UIApplication.shared .open (url)
24+ }
25+ }
26+ ```
27+
28+ # Installation
29+
30+ Install ETDistribution with SPM using the URL of this repository (https://github.com/EmergeTools/ETDistribution )
You can’t perform that action at this time.
0 commit comments