-
Notifications
You must be signed in to change notification settings - Fork 1
Add version check #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add version check #117
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds version checking functionality to PagerCall by comparing the current app version against the latest version available in the App Store. When a newer version is detected, a notification link is displayed in the settings view.
Key Changes:
- Implements App Store API integration to fetch the latest published version
- Adds "New version available" notification with a link to the App Store
- Restructures settings UI layout to accommodate version information and GitHub link
- Migrates sandbox entitlements from the .entitlements file to Xcode project build settings
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| PagerCall/SettingsView.swift | Adds version check logic with onAppear handler, restructures UI to display version notification and GitHub link |
| PagerCall/AppStoreAPI.swift | New file implementing App Store lookup API to retrieve app version information |
| PagerCall/PagerCall.entitlements | Removes explicit entitlements (migrated to project settings) |
| PagerCall/Assets.xcassets/github-mark.imageset/* | Adds GitHub mark SVG icon asset for the settings view |
| PagerCall.xcodeproj/project.pbxproj | Adds VersionCompare dependency and migrates sandbox settings to build configuration |
| PagerCall.xcodeproj/.../Package.resolved | Updates package dependencies to include swift-version-compare |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.