This library is designed to offer developers a straightforward and effective method of identifying whether updates are accessible. It enables developers to keep their users updated with the most recent version of their app. Through utilizing "AppVersionMonitorSwiftUI," developers can conserve time and energy in managing updates and prioritize enhancing the features and functionality of their app.
By utilizing "AppVersionMonitorSwiftUI," developers can guarantee their users have the most up-to-date version of their app, without the need for complex update checks or manual user notifications. This leads to a more satisfactory user experience.
ScreenTimeout can be installed with the Swift Package Manager:
https://github.com/SNQ-2001/AppVersionMonitorSwiftUI
You can also clone the repository and build the library locally.
import AppVersionMonitorSwiftUI
VStack {
}
.appVersionMonitor(id: 1570395606) { status in
switch status {
case .updateAvailable:
print("There is an update available")
case .updateUnavailable:
print("There is no update available")
case .failure(let error):
print("error: \(error)")
}
}
The number at the end of the AppStore URL is the app id
https://apps.apple.com/jp/app/g-search/id1570395606
AppVersionMonitorSwiftUI is available under the MIT license. See the LICENSE file for more info.