It gives you a magic button, because this button will only appear when there is an app update available on appstore for given app.
Place this button anywhere you wish. Best location is to place it on trailing navigation bar item.
- Import this library as swift package in your project.
- Get the app Id from app store connect for your app. Tutorial
- Follow the below snippet
import SwiftUI
import Upstream
struct ContentView: View {
var body: some View {
UpstreamButton(.init(appId: "1618653423"), showFeatureSheet: false)
}
}
Upstream is licensed under the MIT License.