2019-05-09 12:45:30 -07:00
|
|
|
//
|
|
|
|
|
// AppDelegate.swift
|
|
|
|
|
// AltStore
|
|
|
|
|
//
|
|
|
|
|
// Created by Riley Testut on 5/9/19.
|
|
|
|
|
// Copyright © 2019 Riley Testut. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import UIKit
|
2019-06-04 18:29:50 -07:00
|
|
|
import UserNotifications
|
2019-07-01 17:13:55 -07:00
|
|
|
import AVFoundation
|
2020-09-08 12:29:44 -07:00
|
|
|
import Intents
|
Merge SwiftUI (#221) + SwiftUI improvements (#265)
commit 22f1ff7cd7d4d4750eeda2067d23846900239b83
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:29:01 2023 -0700
fix: actually disable LocalConsole's character limit
commit 4b51915da7bc0637ccf819ac45c7d727d450ae12
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:27:12 2023 -0700
Merge SwiftUI improvements (#265)
commit 7f73f2adef2b636e05d3cd460ab5b3cab3aabca9
Merge: 72f34dd2 38a1c7ee
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:23:07 2023 -0700
Merge remote-tracking branch 'origin/fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit 72f34dd2868e45a909633d73833475d445cf0b78
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Apr 12 18:21:49 2023 -0700
feat: default to Storm icon for PR builds
Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
commit 060c37c42353f6ebca7416f16a428787d07686fa
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 19:40:53 2023 -0700
fix(icons): sky appears correctly in light mode
commit 8c2968aeb3e7020e325a7e48dbdd3e3b72336610
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 14:29:03 2023 -0700
fix: build errors
commit 4f512b63184f578d77980af0f3a0d14245607007
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:54:01 2023 -0700
project(minimuxer): fix actions build error
commit 5b752cf26ee66e7a49acf9e03a8c43e0236ada8b
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:51:54 2023 -0700
fix: remove duplicate isSideStore checks with a StoreApp extension
commit 62a478277e1fe60a69a2028c17e2c0dcc083c7c7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:41:58 2023 -0700
fix(AsyncFallibleButton): try to use failureReason and then fallback to localizedDescription
commit 994b2318a9efb44c906efa51b92278ebbfb1dd33
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:38:44 2023 -0700
feat(dev mode): add AFC file explorer and dump profiles
commit 423ac28ba3e6bcf6052d98d285f8c7d768312d1f
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:35:14 2023 -0700
project(AltStore): xcode wants to move these around I guess
commit af2cdd48d6deea68d8987d1c22925ee0150f8aba
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:34:57 2023 -0700
feat: add debug logging toggle
commit 44fe0c5686cb00b5b85d4dddd8a108efedfebc71
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:33:11 2023 -0700
project(minimuxer): Add libminimuxer as an input file for build step
commit 3d46a3069ab1fa166707410a5dfd05ca1a877e3c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:32:22 2023 -0700
fix: handle source conflict in merge policy
commit 82e8fb73891614abcbb9d9c8b6ca6f601f8c67a4
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:31:39 2023 -0700
docs: include info on Developer Mode
commit 1dd0cd7d903b2473aaa0c817d476ec9a05b99705
Merge: 92a9650c 566841a9
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 21:07:33 2023 -0700
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit 566841a9a632c1d83e0e5752809273ede940c38a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 21:06:07 2023 -0700
Fix not being able to open the project
commit 92a9650c0c62044eb78201834567160e95199948
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:49:49 2023 -0700
Apply DevModeView suggestion
commit df94e794721480188111402e326ab4029a8767dd
Merge: d3cfc4ba cd2c5ad7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:48:52 2023 -0700
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit cd2c5ad7b4cd96a5b2a05e03c14a8fe404e35933
Merge: 3466870d 6146f1bd
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:43:10 2023 -0700
Merge remote-tracking branch 'origin/develop' into fabianthdev/feature/SwiftUI
commit d3cfc4bab9270e5baf656ea8a272299ca48da4ae
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 13:05:11 2023 -0800
FileExplorer: Replace file when inserting
commit df62461d4a08a07812fcc548d60e3f7baa2da09e
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 13:04:52 2023 -0800
Settings: Add Export Logs and commit xcodeproj changes
commit 817d2de5e018e73c3135382f14d11d72188d1a97
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 12:19:07 2023 -0800
Rename View+SideStore
commit 3ea478ad05047006986deae73adcb5cb1e77c4ec
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 12:18:42 2023 -0800
DevMode: Add password
commit 13f9a9d1bff98e7bddc4c7cfd859dea329fa1c4c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 11:43:13 2023 -0800
AdvancedSettingsView: improve anisette URL by using a label instead of a placeholder
commit 3821a6034d0ef6210bebf1ec743e1298d885ac46
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 21 17:34:56 2023 -0800
project: attempt to fix crashing on launch
commit 3e8d7da0c3c026f9e5030a94bbb6bd336156da74
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:49:22 2023 -0800
AdvancedSettingsView: Remove autocomplete from anisette URL text field
commit a42c1a705f711306acc09eec75987f5daa4f0619
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:25:59 2023 -0800
SettingsView: Adjust ordering a little bit and remove accent color
commit 30efc6f210350afb63ac621852e449201526fff5
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:19:26 2023 -0800
LaunchViewController: Revert changes
commit 60412721eebb539c808e27744941121872eda5b3
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:04:42 2023 -0800
Fix build errors
hopefully this doesn't have any unintended side effects
commit cba00a3b9d6e8fd8ba476f9096e6ea317bdd21c2
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 12:03:22 2023 -0800
Add Advanced Settings in-app
commit 2aa880d10e102b8464ebfd6da462490659ad5f52
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 10:56:01 2023 -0800
Fix build errors after merge
commit 47848ddd18f36a769e17f3ccac6559f50144576f
Merge: deac960e 3466870d
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:56:21 2023 -0800
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
commit deac960e10cad17e614ae3ff49dcd256af36d02b
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:54:56 2023 -0800
Revert OutputCapturer changes since Fabian already added the fix
commit 9f05123e42e9781acf82e74560f54548e427f21e
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:16:49 2023 -0800
AppIconView: Make isSideStore required
commit d9a4b0709594c6882faf5712fa855e5195919e71
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:16:07 2023 -0800
Fix changing SideStore app icon not displaying My Apps
commit 839699ee0304a4009dfc52013bb97cc2b9870339
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:00:19 2023 -0800
Icons: add Vista by Swifticul
commit 81409227d61c5092da7712662c2108c94c7a4603
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 08:06:33 2023 -0800
Add developer mode
commit 49b9be160f613b8fdfe59c17522d92b207de298a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 07:57:29 2023 -0800
AppRowView: Disable ratings if there aren't any ratings
commit 3466870d8fd9971385725f105750951e9f8b27df
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:31:01 2023 +0100
[ADD] UI for writing an app review and submit an app rating
commit ffe8a92a4e9b2c904b137ac05e2db1a61f519d73
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:30:21 2023 +0100
[CHANGE] UI fixes and SwiftUI previews for easier development
commit bc2cae46a8dcd2b723160f5f02690ba57e85637b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:25:13 2023 +0100
[ADD] Refresh all apps functionality in MyAppsView
commit a95d8a502ccaa76d4ac579150ea7f58a3afdf9ed
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 11:40:26 2023 +0100
[FIX] STDOUT output not visible in Xcode console
commit 19e66112ddf78d9a923a59f0ce28bb7a5a6ee992
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:27:06 2023 -0800
SourcesView: Fix 1 trusted source causing an error making all trusted sources fail to load
commit 0d3cb843ea32d0a0d6a4c5e240fd901febd254b1
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:26:32 2023 -0800
SourcesViewController: Fix 1 trusted source causing an error making all trusted sources fail to load
commit df1a662accec86a3f8a6b3911b53f352d7247f16
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:25:58 2023 -0800
FetchTrustedSourcesOperation: Remove redundant if statement
commit 684c9e08eb5ba81de7c94a068491f69283bedc8a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 10:48:05 2023 -0800
Fix HMR
commit c585c57965d6a33d6d283e645dd9f19379dd1420
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:51:06 2023 -0800
Revert fixes since it didn't actually fix the problem
commit 3605ca64224e81c09a803fae7f45a384feb5df6a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:20:56 2023 -0800
Fix HMR again
commit 40f4c94f4da77f3f4f97eea02cef1c463b8cfcd7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:11:25 2023 -0800
Fix HMR crashing the app
commit 986465d8f401986b152bc0712148c67ea5554834
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 17:44:56 2023 -0800
Project: Add HMR
https://github.com/krzysztofzablocki/Inject#individual-developer-setup-once-per-machine
commit 09db1ba9fce61e76993b035194182973a9789ffc
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 18:13:32 2023 -0800
SettingsView: Move App Icon to a new, general settings section
commit 8874480b8cbd944d232d086a5bd7353011a44394
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 17:57:51 2023 -0800
Icons: invert Sky
commit f0cc4613daf7cbdc82620356297ddac8b1268799
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 17:57:19 2023 -0800
AppIconsView: Add artists
commit bec78322a44f450feae06e968e4b2f4aa0997323
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 21:00:28 2023 -0800
actions: Add build step that changes default icon
commit 03777fd2e72f5fdc3ca7259b7cc5b8c1be5f29ea
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 20:49:07 2023 -0800
Icons: add Sky, Honeydew, Midnight
commit 96ae60a9f2c98f7e1ddcae59f5a085d7a2e05418
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 19:36:10 2023 -0800
AppIconsView: improve the way primary icons are handled
commit c7ad6b10a1ed4181037f5d2a9c07b0810f3d6887
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 19:35:57 2023 -0800
Icons: reduce image sizes
commit 8b8e471c976dc4c3c986026c759feeb39e858305
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 18:52:42 2023 -0800
Add App Icon changer
commit 38c0a8a9a35e491833387134ba5089d003261861
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 14 08:24:49 2023 -0800
Fix ConnectAppleIDView being shoved into a sidebar on iPad
commit e7ff6496c1d68eb5632cd44e6cbde3f2ec904dcc
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 14 08:20:16 2023 -0800
AuthenticationOperation: fix 2FA code not being displayed
Bandaid fix, it would be better to have the alert in ConnectAppleIDView
commit c2e89b09ead25413fb242d376030f8767ccf058c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:44:48 2023 -0800
RootView: Fix UI being shoved into sidebar on iPad (closes #264, thanks @Swifticul!)
commit ec4dbb667950fa56a299fd85df4de9116d9f53e8
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:06:59 2023 -0800
OutputCapturer: fix logging disappearing from Xcode/idevicedebug run
commit d80c9ba2a8060e86870550eea5eda6211d1d4ade
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:06:17 2023 -0800
remove unused apps.json files
commit b2f81bf7c6cbaa909a0ddf6daf67324353a7ce8e
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Feb 13 18:56:34 2023 +0100
[ADD] LocalConsole showing STDOUT and STDERR
commit 2fffa6e122f53f7834255cfb9678e37f546081a8
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:35:58 2023 +0100
[FIX] App compatibility info
commit 723c8e9539eefcb8562201689074d2a2f3ad4e41
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:29:02 2023 +0100
[ADD] Debug entries for refresh attempts, sending feedback, advanced settings, and resetting the pairing file
commit 07159b0ea62bc5f3def168401b208d671797f500
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 13:07:04 2023 +0100
[ADD] Error log view
commit e0bd54389c051f9beaa5061cf53e1a6d4992b310
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:55:25 2023 +0100
[FIX] Various UI issues
commit 57213fbf0c65f529a30fa7a33cdc97b82a69b086
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:46:43 2023 +0100
[ADD] App report button and trusted source badge in app detail view
commit 0239dfcd6d364f83db5612d04afa8e0789aea8cc
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:19:07 2023 +0100
[FIX] AppIDsView and authentication workflow
commit 5af6f825ee9dab6b589eaa732595468c4e6ab6c1
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:16:48 2023 +0100
[FIX] Full screen app screenshot previews
commit b4859512ab768c9f3543db0fe7c23a642128b34d
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 14:58:06 2023 +0100
[FIX] Accent color
commit 3d0f385af7758bdd4d4c21fe643bc5e4c491123e
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:38:42 2023 +0100
[CHANGE] Overhaul of the AppDetailView with version history, reviews & ratings, and app information
commit f3e58e1485a7b61d8afe919cdfbc61e9275b5bc4
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:37:37 2023 +0100
[UPDATE] AppPillButton dimensions and expiration text
commit d3e04c1db711a21aab843ba02242fa16ac437dee
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:35:09 2023 +0100
[FIX] Show App IDs button only if user is logged in with their Apple ID
commit ed1970245a4f5eba0ed1e5c407caec82689d2656
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:32:11 2023 +0100
[ADD] Load and show trusted sources with option to add them to the app
commit 15dd885a1b64f0471bf38b011d88131028716eae
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:30:21 2023 +0100
[ADD] Credits section in SettingsView
commit 4663c017008200ab00cb8dd04a1e82117068261b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 21:23:16 2023 +0100
[CHANGE] Extracted all strings into the Localizable.strings
commit e733601c667255fa7292401027f62c51cbe853b3
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:03:33 2023 +0100
[FIX] Text alignment in SettingsView
commit fc974a80794ec8e5a715c86c7eeecf8bcf75d88c
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:02:58 2023 +0100
[ADD] Hint for new users who don't have any sources
commit 6aaadc79e5dca2e4ba159efe8ffdc03159d476c7
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 18:59:39 2023 +0100
[ADD] AppScreenshot view with ImageProcessor to automatically rotate landscape screenshots
commit b9177e89c64324c5085813c08cb9dc74d954816a
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 13:37:38 2023 +0100
[FIX] Issues introduced by changes to the AltSource specification.
commit 1531c0a77f73118005fc2de1b9b9cfe8a1f6f0dd
Author: Fabian Thies <github@fabian-thies.de>
Date: Fri Jan 13 12:48:27 2023 +0100
[UPDATE] Translations (#7)
This PR merges all the new translations made on the SideStore weblate instance (https://translate.sidestore.io/projects/sidestore/app).
New translations:
- French
- Korean
Updated translations:
- Spanish
Co-authored-by: bogotesr <bogotesr@gmail.com>
Co-authored-by: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Co-authored-by: Joss Laymon <71040782+bogotesr@users.noreply.github.com>
Co-authored-by: mindfreakdev <shost212@gmail.com>
Co-authored-by: Python <rjp2030@proton.me>
Co-authored-by: Testi Cules <ervd516@gmail.com>
commit 1dde36facea14d908afd046cabfcca25d52c5e74
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:25:50 2023 +0100
[FIX] Changes made by Xcode 14 after building the app
commit c3c3783ba49d412c2fcaa5046f140fc47c611cd3
Author: Upal <shost212@gmail.com>
Date: Mon Dec 26 19:18:33 2022 +0530
Added Hindi Language (#5)
* Added Hindi Language
commit 8400af3423543f5c9df003689d9a595606bae2e7
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 16:52:01 2022 +0530
Added Dutch Language
commit 243c7efc09fc32295e86160e602cdb47298c2de8
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:30:42 2022 +0530
Added Ukrainian Language
commit 0298a0235bdda377c36dbe1ccd4caf1940c27144
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:28:00 2022 +0530
Added Ukrainian Language
commit e5b2496b0987c4ee5ed7aec06cc5c9a490af38e5
Author: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 01:08:47 2022 -0400
Screen Crunch sucks
Signed-off-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
commit 75c52a3af269d63e72e0d40756e75ce23563af2f
Author: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 00:58:22 2022 -0400
Spanish Translation Tweaks
commit 2c07009b0457cd7e09f7168af9b5d0ebde182ca4
Author: bogotesr <bogotesr@gmail.com>
Date: Sat Dec 24 21:06:28 2022 -0700
Add es-419 and finish adding support for the translations
Added Latin American Spanish (probably not the best translation)
Made everything reference the swiftgen stuff rather than having strings
commit 6257fdcd61c6f33e06ed648efc3c813a52c05f79
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:29:57 2022 +0100
[CHANGE] Extracted some example strings and replaced them by generated localized strings
commit e23956d4ed3d37dfc31162b0fc7c3943766f6e09
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:21:57 2022 +0100
[ADD] SwiftGen configuration and generated files
commit 1341de83154655f526a48f57174c10e86018ab55
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:10:58 2022 +0100
[ADD] Empty Localizable.strings
commit 77f5844e4d4b86562a9a55c021e01937da1be1c1
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:04:10 2023 +0100
[WIP] AppScreenshot view with ImageProcessor to automatically rotate landscape images. Possible through my fork of the AsyncImage framework.
commit b3c4819e8dfbbe4e901c37b70d7f608bc0b6db32
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:56 2023 +0100
[WIP] Fetch trusted sources in SourcesView
commit a6ca73f8fcfc6b007b9f745cd5b54aef263e880c
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:06 2023 +0100
[WIP] AppIDs view in My Apps section
commit f17d00c0bcf6fa69d65f55218120462a8d01b6d2
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:00:00 2023 +0100
[ADD] Badge in AppDetailView for apps from the official source and (WIP) trusted sources
commit 875453533b7c769a21f949659aa94639cdc6d912
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:58:25 2023 +0100
[ADD] Hint view in MyAppsView telling the user about where to find updates in the future if no updates are available
commit 9a7a39a58e6788ee0198448c1ae63c7c812a95c5
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:54:44 2023 +0100
[FIX] App permission icon color
commit 65db392388d39ccc553f5474c1c8ce238c467145
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:51:06 2023 +0100
[ADD] Show source name and external url domain in NewsItemView
commit 6a6fc2299591c05589fc7564f91ef59d99b13b5d
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 16:02:57 2022 +0100
[ADD] Full-screen app screenshot preview
commit 5697c4c063c97866055d5ddfb72818b7ec7aee4e
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 15:21:16 2022 +0100
[CHANGE] Replace system image name strings with SFSymbols
commit bcd54067d3061ab3e63114166e37d3ab8c6a17a8
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 13:12:39 2022 +0100
[ADD] Dependency: SFSafeSymbols
commit c7ce32a5628ea7f52f03e70c85e1e2ca8fbce33b
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:49:49 2022 +0100
[ADD] WIP: Promoted category cards and app list filter button in BrowseView
commit 5a1496a3cd91f33c3e3ddca579ae4194d84654c0
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:45 2022 +0100
[FIX] AccentColor in dark mode
commit 497c048240e9d410afcb83cd285488699b18a800
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:23 2022 +0100
[ADD] Carousel for SideStore-specific announcements in NewsView
commit 02e48a207f6e8b29cabbaf6cae76dd761076c8ca
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:45:44 2022 +0100
[ADD] WIP: Add My Apps view with support for sideloading new apps, refreshing installed apps and much more
commit a0eb30f98ea5d04883904cda69db1060e0788daa
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:54 2022 +0100
[CHANGE] Fixed the AppRowView background blur effect
commit 378631e976f4e7cf07728e8f804eee1748d24182
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:10 2022 +0100
[ADD] Backported dismiss() environment variable to let views dismiss themselves
commit 0e7083539df52034f002f8db697c802b2a434fc5
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:18:57 2022 +0100
[ADD] Search bar for BrowseView on iOS 15
commit 0c034b61d9b264b226bbfa88a419a091489ec5af
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:16:36 2022 +0100
[CHANGE] Fetch news when NewsView appears
commit 89dea75b84cbebd398503da9457d16369911f44f
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:15:16 2022 +0100
Improved app detail view
commit 81ea791b63f7a4411c949222e862fa07a4175c5a
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:12:38 2022 +0100
[ADD] Authentication view for connecting SideStore to an Apple ID
commit c81f716427688fca0e6bd44e68e9d19b0d352c2c
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:41:30 2022 +0100
[WIP] Fixed the app permissions grid in AppDetailView
commit eb151d74dd7c97dfdd804aee603625b3993d8e6b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:17:08 2022 +0100
[ADD] Expandable app and version description texts
commit 0dc7af5e510fcd8c1bbccb19cde62ab38fe8742f
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 00:26:15 2022 +0100
[ADD] iOS 13 compatible AsyncImage implementation with cache
commit d3e8473f45b89455388cc449bba36e014a037687
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Nov 23 22:34:02 2022 +0100
[ADD] News, Browse and Settings views ported to SwiftUI
This commit contains WIP SwiftUI versions of most of the views in SideStore.
commit 38a1c7eef6392db38af80e582235555c65333c8b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat May 20 20:05:36 2023 +0200
Fix rebase issues
commit f6252c3a8b8453aa1e7831d62c944f35134baa36
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat May 20 19:10:51 2023 +0200
Fix trusted sources being enabled in onboarding process regardless of user choice
commit 653d80b88e1223cdc45da908237bfc140ecb4717
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri May 19 13:14:15 2023 +0200
Add onboarding screens for an easy setup of SideStore
commit 89609ad35c52b712d7440accb65e28fb39586194
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:31:01 2023 +0100
[ADD] UI for writing an app review and submit an app rating
commit 2211013e573c59b9c19ec1a5d171711be652ccbc
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:30:21 2023 +0100
[CHANGE] UI fixes and SwiftUI previews for easier development
commit f206ee1406d5619e7f5740cd0017c8175ef87cd8
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:25:13 2023 +0100
[ADD] Refresh all apps functionality in MyAppsView
commit 00dc9b36af8ae5d8f6180aa7c8cc1896f023abde
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 11:40:26 2023 +0100
[FIX] STDOUT output not visible in Xcode console
commit 24146cef90894f8727fffec5d8d75b9c28580911
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Feb 13 18:56:34 2023 +0100
[ADD] LocalConsole showing STDOUT and STDERR
commit c46a50ec580eddaf1ad5e7587d1f4ccf4f9d2313
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:35:58 2023 +0100
[FIX] App compatibility info
commit de7e909c01d7727415f4e37c2e721eefed4ee1f5
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:29:02 2023 +0100
[ADD] Debug entries for refresh attempts, sending feedback, advanced settings, and resetting the pairing file
commit fbc754d8b7dac4e0c4c1a7343190cc97873e80aa
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 13:07:04 2023 +0100
[ADD] Error log view
commit 767d878051d23e87facee6ce6ec14f272981522d
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:55:25 2023 +0100
[FIX] Various UI issues
commit 132b140af2d70cfac8d0e8e5db3d2d02eab68d94
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:46:43 2023 +0100
[ADD] App report button and trusted source badge in app detail view
commit df7d8871ffea9239e6571e200602d213365be82e
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:19:07 2023 +0100
[FIX] AppIDsView and authentication workflow
commit ca2398e4c7973d4cf2c5371d14a97cede41a2a52
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:16:48 2023 +0100
[FIX] Full screen app screenshot previews
commit b8f02d2152eba4bf1fb71df5c1a9a6e2ab866047
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 14:58:06 2023 +0100
[FIX] Accent color
commit e85876cd24ff4fa81a4d0628766cbe18746c2d4a
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:38:42 2023 +0100
[CHANGE] Overhaul of the AppDetailView with version history, reviews & ratings, and app information
commit 3f06a530587ff02145f4e3fc9036358e524b4d8a
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:37:37 2023 +0100
[UPDATE] AppPillButton dimensions and expiration text
commit 4ee053a4f9a59597ce44517f08e74a972f49fdf6
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:35:09 2023 +0100
[FIX] Show App IDs button only if user is logged in with their Apple ID
commit e5369524ce0d475f11743f96f1bbe07a75d67c14
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:32:11 2023 +0100
[ADD] Load and show trusted sources with option to add them to the app
commit 77465cebd049379fd3e52f453d57ed699b384c1f
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:30:21 2023 +0100
[ADD] Credits section in SettingsView
commit f90bf3bfcf6982497b090c0b0995111560436d12
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 21:23:16 2023 +0100
[CHANGE] Extracted all strings into the Localizable.strings
commit 0000610b9dae8e336ed7cd059834690639a76f71
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:03:33 2023 +0100
[FIX] Text alignment in SettingsView
commit c7e095583d5be055e7cce48b8b943293aefa0c9b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:02:58 2023 +0100
[ADD] Hint for new users who don't have any sources
commit a725f3e9cc2cec550a3d084a8e0a5664b87c1eb9
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 18:59:39 2023 +0100
[ADD] AppScreenshot view with ImageProcessor to automatically rotate landscape screenshots
commit b5dea18073a6480c8ae1839ab3078cc4ca405328
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 13:37:38 2023 +0100
[FIX] Issues introduced by changes to the AltSource specification.
commit b9b309e603d7912f4edc7cef0e16ce622515d1ce
Author: Fabian Thies <github@fabian-thies.de>
Date: Fri Jan 13 12:48:27 2023 +0100
[UPDATE] Translations (#7)
This PR merges all the new translations made on the SideStore weblate instance (https://translate.sidestore.io/projects/sidestore/app).
New translations:
- French
- Korean
Updated translations:
- Spanish
Co-authored-by: bogotesr <bogotesr@gmail.com>
Co-authored-by: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Co-authored-by: Joss Laymon <71040782+bogotesr@users.noreply.github.com>
Co-authored-by: mindfreakdev <shost212@gmail.com>
Co-authored-by: Python <rjp2030@proton.me>
Co-authored-by: Testi Cules <ervd516@gmail.com>
commit 15f1be0aa8469a6166b713c054d685db527500ef
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:25:50 2023 +0100
[FIX] Changes made by Xcode 14 after building the app
commit ffd80ce0b4b098df1cdc41adbcf2b9d7c50d68bb
Author: Upal <shost212@gmail.com>
Date: Mon Dec 26 19:18:33 2022 +0530
Added Hindi Language (#5)
* Added Hindi Language
commit 350891ee2a558db6b6cac08a392bd733f3b8643b
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 16:52:01 2022 +0530
Added Dutch Language
commit 5dec1cd561df4f257e91dac0bc3fc946a3be9c06
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:30:42 2022 +0530
Added Ukrainian Language
commit c4d235d742df09fe1ec677cc3aee30c5467d8a0f
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:28:00 2022 +0530
Added Ukrainian Language
commit cdc6675dd5d402616c89cfecaf9e041c3f6b64be
Author: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 01:08:47 2022 -0400
Screen Crunch sucks
Signed-off-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
commit 85635bb26e57f266a1f46e60f4750804a7ad2809
Author: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 00:58:22 2022 -0400
Spanish Translation Tweaks
commit 3be0a4a89c17cc8a0e349f54f2a4adcc361d1ed2
Author: bogotesr <bogotesr@gmail.com>
Date: Sat Dec 24 21:06:28 2022 -0700
Add es-419 and finish adding support for the translations
Added Latin American Spanish (probably not the best translation)
Made everything reference the swiftgen stuff rather than having strings
commit 47e47fb3cfe6a228ccbb3a13254803273dcd9eda
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:29:57 2022 +0100
[CHANGE] Extracted some example strings and replaced them by generated localized strings
commit 48903034b6f91a1b34b59220025302657f3a4b2a
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:21:57 2022 +0100
[ADD] SwiftGen configuration and generated files
commit 6952218ee716ae5284437d78606d62ca1b95ca46
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:10:58 2022 +0100
[ADD] Empty Localizable.strings
commit 80146c1e038ce354094b56dd890d850092235bba
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:04:10 2023 +0100
[WIP] AppScreenshot view with ImageProcessor to automatically rotate landscape images. Possible through my fork of the AsyncImage framework.
commit 642ae996c974e0b18cbdd24810cb57da6d93e39f
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:56 2023 +0100
[WIP] Fetch trusted sources in SourcesView
commit 8040636aa51b2a9318e0bdd3dfed0c8a83a1fdbc
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:06 2023 +0100
[WIP] AppIDs view in My Apps section
commit 731fcfaca74f49b548133163f4cf2dcdd8ecf1e0
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:00:00 2023 +0100
[ADD] Badge in AppDetailView for apps from the official source and (WIP) trusted sources
commit 708fb3fccd8e89f59aaf8844c2d9c3a80733ca53
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:58:25 2023 +0100
[ADD] Hint view in MyAppsView telling the user about where to find updates in the future if no updates are available
commit 9f429fb0689a13e5a0c0ca043a76ca4f1b82d365
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:54:44 2023 +0100
[FIX] App permission icon color
commit 29fc693f4d52aece3505fb4bcb63497d5608dcb4
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:51:06 2023 +0100
[ADD] Show source name and external url domain in NewsItemView
commit 6f373ad3056fb154e385daadf87036062e40347a
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 16:02:57 2022 +0100
[ADD] Full-screen app screenshot preview
commit c069d779d976380302d876b5d21e39dd58070f14
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 15:21:16 2022 +0100
[CHANGE] Replace system image name strings with SFSymbols
commit cd88970a22527899d9a368db130bb38b4fa24d5b
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 13:12:39 2022 +0100
[ADD] Dependency: SFSafeSymbols
commit 6b6708e43c4d6cedc003c4e6a7e996b6c3857a16
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:49:49 2022 +0100
[ADD] WIP: Promoted category cards and app list filter button in BrowseView
commit 9206eeb9e34beb7684df3a4914e59aaa1d31cd78
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:45 2022 +0100
[FIX] AccentColor in dark mode
commit 080bbb3c51ea45eb80ddf06840eb01b27749102c
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:23 2022 +0100
[ADD] Carousel for SideStore-specific announcements in NewsView
commit ea2c862900205cca60242ca35dc2393248f3a01c
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:45:44 2022 +0100
[ADD] WIP: Add My Apps view with support for sideloading new apps, refreshing installed apps and much more
commit 4fe72ea113e7f7ba7c9a219ce2ae28c174497160
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:54 2022 +0100
[CHANGE] Fixed the AppRowView background blur effect
commit c486a62b508342250f7bb5d986df5b321bec6ffa
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:10 2022 +0100
[ADD] Backported dismiss() environment variable to let views dismiss themselves
commit 3ce4451da4de11ace886a5c6ea300852d9c8f41d
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:18:57 2022 +0100
[ADD] Search bar for BrowseView on iOS 15
commit 294ba12391c40cb8ece0b2f100aefc07d63ecc7b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:16:36 2022 +0100
[CHANGE] Fetch news when NewsView appears
commit 4a3343fe612a16de0a45362d68fa5b8eb7583dd6
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:15:16 2022 +0100
Improved app detail view
commit d1e6ddd435cd5d2cf44eacb6f6806c47b4fc4c60
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:12:38 2022 +0100
[ADD] Authentication view for connecting SideStore to an Apple ID
commit 3e0379dc70dd18c34648937d167b2277addd4698
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:41:30 2022 +0100
[WIP] Fixed the app permissions grid in AppDetailView
commit d99674f8bdab6cab478a96fffebb39d0901036e5
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:17:08 2022 +0100
[ADD] Expandable app and version description texts
commit ca7acc17daabaa60bdfaba5b23221c5b7978faee
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 00:26:15 2022 +0100
[ADD] iOS 13 compatible AsyncImage implementation with cache
commit 16a8bce102057e47d8204efa2d3138aab84ab424
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Nov 23 22:34:02 2022 +0100
[ADD] News, Browse and Settings views ported to SwiftUI
This commit contains WIP SwiftUI versions of most of the views in SideStore.
2023-05-20 11:31:00 -07:00
|
|
|
import LocalConsole
|
2019-05-09 12:45:30 -07:00
|
|
|
|
2020-09-03 16:39:08 -07:00
|
|
|
import AltStoreCore
|
2019-05-30 17:10:50 -07:00
|
|
|
import AltSign
|
|
|
|
|
import Roxas
|
2022-11-02 17:58:59 -07:00
|
|
|
import EmotionalDamage
|
2019-05-30 17:10:50 -07:00
|
|
|
|
2019-09-19 14:43:26 -07:00
|
|
|
extension AppDelegate
|
|
|
|
|
{
|
2022-12-30 16:51:36 -05:00
|
|
|
static let openPatreonSettingsDeepLinkNotification = Notification.Name(Bundle.Info.appbundleIdentifier + ".OpenPatreonSettingsDeepLinkNotification")
|
|
|
|
|
static let importAppDeepLinkNotification = Notification.Name(Bundle.Info.appbundleIdentifier + ".ImportAppDeepLinkNotification")
|
|
|
|
|
static let addSourceDeepLinkNotification = Notification.Name(Bundle.Info.appbundleIdentifier + ".AddSourceDeepLinkNotification")
|
|
|
|
|
|
|
|
|
|
static let appBackupDidFinish = Notification.Name(Bundle.Info.appbundleIdentifier + ".AppBackupDidFinish")
|
|
|
|
|
|
2019-09-27 17:39:36 -07:00
|
|
|
static let importAppDeepLinkURLKey = "fileURL"
|
2020-05-15 15:11:17 -07:00
|
|
|
static let appBackupResultKey = "result"
|
2020-08-28 12:15:15 -07:00
|
|
|
static let addSourceDeepLinkURLKey = "sourceURL"
|
2019-09-19 14:43:26 -07:00
|
|
|
}
|
|
|
|
|
|
2019-05-09 12:45:30 -07:00
|
|
|
@UIApplicationMain
|
2023-01-04 09:52:12 -05:00
|
|
|
final class AppDelegate: UIResponder, UIApplicationDelegate {
|
2019-05-09 12:45:30 -07:00
|
|
|
|
|
|
|
|
var window: UIWindow?
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-15 15:19:12 -07:00
|
|
|
@available(iOS 14, *)
|
2022-08-17 15:22:43 -05:00
|
|
|
private var intentHandler: IntentHandler {
|
|
|
|
|
get { _intentHandler as! IntentHandler }
|
|
|
|
|
set { _intentHandler = newValue }
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-15 15:19:12 -07:00
|
|
|
@available(iOS 14, *)
|
2022-08-17 15:22:43 -05:00
|
|
|
private var viewAppIntentHandler: ViewAppIntentHandler {
|
|
|
|
|
get { _viewAppIntentHandler as! ViewAppIntentHandler }
|
|
|
|
|
set { _viewAppIntentHandler = newValue }
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2022-08-17 15:22:43 -05:00
|
|
|
private lazy var _intentHandler: Any = {
|
|
|
|
|
guard #available(iOS 14, *) else { fatalError() }
|
|
|
|
|
return IntentHandler()
|
|
|
|
|
}()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2022-08-17 15:22:43 -05:00
|
|
|
private lazy var _viewAppIntentHandler: Any = {
|
|
|
|
|
guard #available(iOS 14, *) else { fatalError() }
|
|
|
|
|
return ViewAppIntentHandler()
|
|
|
|
|
}()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-05-20 21:24:53 +02:00
|
|
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
|
|
|
|
|
{
|
Merge SwiftUI (#221) + SwiftUI improvements (#265)
commit 22f1ff7cd7d4d4750eeda2067d23846900239b83
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:29:01 2023 -0700
fix: actually disable LocalConsole's character limit
commit 4b51915da7bc0637ccf819ac45c7d727d450ae12
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:27:12 2023 -0700
Merge SwiftUI improvements (#265)
commit 7f73f2adef2b636e05d3cd460ab5b3cab3aabca9
Merge: 72f34dd2 38a1c7ee
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:23:07 2023 -0700
Merge remote-tracking branch 'origin/fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit 72f34dd2868e45a909633d73833475d445cf0b78
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Apr 12 18:21:49 2023 -0700
feat: default to Storm icon for PR builds
Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
commit 060c37c42353f6ebca7416f16a428787d07686fa
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 19:40:53 2023 -0700
fix(icons): sky appears correctly in light mode
commit 8c2968aeb3e7020e325a7e48dbdd3e3b72336610
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 14:29:03 2023 -0700
fix: build errors
commit 4f512b63184f578d77980af0f3a0d14245607007
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:54:01 2023 -0700
project(minimuxer): fix actions build error
commit 5b752cf26ee66e7a49acf9e03a8c43e0236ada8b
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:51:54 2023 -0700
fix: remove duplicate isSideStore checks with a StoreApp extension
commit 62a478277e1fe60a69a2028c17e2c0dcc083c7c7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:41:58 2023 -0700
fix(AsyncFallibleButton): try to use failureReason and then fallback to localizedDescription
commit 994b2318a9efb44c906efa51b92278ebbfb1dd33
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:38:44 2023 -0700
feat(dev mode): add AFC file explorer and dump profiles
commit 423ac28ba3e6bcf6052d98d285f8c7d768312d1f
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:35:14 2023 -0700
project(AltStore): xcode wants to move these around I guess
commit af2cdd48d6deea68d8987d1c22925ee0150f8aba
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:34:57 2023 -0700
feat: add debug logging toggle
commit 44fe0c5686cb00b5b85d4dddd8a108efedfebc71
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:33:11 2023 -0700
project(minimuxer): Add libminimuxer as an input file for build step
commit 3d46a3069ab1fa166707410a5dfd05ca1a877e3c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:32:22 2023 -0700
fix: handle source conflict in merge policy
commit 82e8fb73891614abcbb9d9c8b6ca6f601f8c67a4
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:31:39 2023 -0700
docs: include info on Developer Mode
commit 1dd0cd7d903b2473aaa0c817d476ec9a05b99705
Merge: 92a9650c 566841a9
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 21:07:33 2023 -0700
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit 566841a9a632c1d83e0e5752809273ede940c38a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 21:06:07 2023 -0700
Fix not being able to open the project
commit 92a9650c0c62044eb78201834567160e95199948
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:49:49 2023 -0700
Apply DevModeView suggestion
commit df94e794721480188111402e326ab4029a8767dd
Merge: d3cfc4ba cd2c5ad7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:48:52 2023 -0700
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit cd2c5ad7b4cd96a5b2a05e03c14a8fe404e35933
Merge: 3466870d 6146f1bd
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:43:10 2023 -0700
Merge remote-tracking branch 'origin/develop' into fabianthdev/feature/SwiftUI
commit d3cfc4bab9270e5baf656ea8a272299ca48da4ae
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 13:05:11 2023 -0800
FileExplorer: Replace file when inserting
commit df62461d4a08a07812fcc548d60e3f7baa2da09e
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 13:04:52 2023 -0800
Settings: Add Export Logs and commit xcodeproj changes
commit 817d2de5e018e73c3135382f14d11d72188d1a97
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 12:19:07 2023 -0800
Rename View+SideStore
commit 3ea478ad05047006986deae73adcb5cb1e77c4ec
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 12:18:42 2023 -0800
DevMode: Add password
commit 13f9a9d1bff98e7bddc4c7cfd859dea329fa1c4c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 11:43:13 2023 -0800
AdvancedSettingsView: improve anisette URL by using a label instead of a placeholder
commit 3821a6034d0ef6210bebf1ec743e1298d885ac46
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 21 17:34:56 2023 -0800
project: attempt to fix crashing on launch
commit 3e8d7da0c3c026f9e5030a94bbb6bd336156da74
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:49:22 2023 -0800
AdvancedSettingsView: Remove autocomplete from anisette URL text field
commit a42c1a705f711306acc09eec75987f5daa4f0619
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:25:59 2023 -0800
SettingsView: Adjust ordering a little bit and remove accent color
commit 30efc6f210350afb63ac621852e449201526fff5
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:19:26 2023 -0800
LaunchViewController: Revert changes
commit 60412721eebb539c808e27744941121872eda5b3
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:04:42 2023 -0800
Fix build errors
hopefully this doesn't have any unintended side effects
commit cba00a3b9d6e8fd8ba476f9096e6ea317bdd21c2
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 12:03:22 2023 -0800
Add Advanced Settings in-app
commit 2aa880d10e102b8464ebfd6da462490659ad5f52
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 10:56:01 2023 -0800
Fix build errors after merge
commit 47848ddd18f36a769e17f3ccac6559f50144576f
Merge: deac960e 3466870d
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:56:21 2023 -0800
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
commit deac960e10cad17e614ae3ff49dcd256af36d02b
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:54:56 2023 -0800
Revert OutputCapturer changes since Fabian already added the fix
commit 9f05123e42e9781acf82e74560f54548e427f21e
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:16:49 2023 -0800
AppIconView: Make isSideStore required
commit d9a4b0709594c6882faf5712fa855e5195919e71
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:16:07 2023 -0800
Fix changing SideStore app icon not displaying My Apps
commit 839699ee0304a4009dfc52013bb97cc2b9870339
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:00:19 2023 -0800
Icons: add Vista by Swifticul
commit 81409227d61c5092da7712662c2108c94c7a4603
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 08:06:33 2023 -0800
Add developer mode
commit 49b9be160f613b8fdfe59c17522d92b207de298a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 07:57:29 2023 -0800
AppRowView: Disable ratings if there aren't any ratings
commit 3466870d8fd9971385725f105750951e9f8b27df
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:31:01 2023 +0100
[ADD] UI for writing an app review and submit an app rating
commit ffe8a92a4e9b2c904b137ac05e2db1a61f519d73
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:30:21 2023 +0100
[CHANGE] UI fixes and SwiftUI previews for easier development
commit bc2cae46a8dcd2b723160f5f02690ba57e85637b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:25:13 2023 +0100
[ADD] Refresh all apps functionality in MyAppsView
commit a95d8a502ccaa76d4ac579150ea7f58a3afdf9ed
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 11:40:26 2023 +0100
[FIX] STDOUT output not visible in Xcode console
commit 19e66112ddf78d9a923a59f0ce28bb7a5a6ee992
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:27:06 2023 -0800
SourcesView: Fix 1 trusted source causing an error making all trusted sources fail to load
commit 0d3cb843ea32d0a0d6a4c5e240fd901febd254b1
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:26:32 2023 -0800
SourcesViewController: Fix 1 trusted source causing an error making all trusted sources fail to load
commit df1a662accec86a3f8a6b3911b53f352d7247f16
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:25:58 2023 -0800
FetchTrustedSourcesOperation: Remove redundant if statement
commit 684c9e08eb5ba81de7c94a068491f69283bedc8a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 10:48:05 2023 -0800
Fix HMR
commit c585c57965d6a33d6d283e645dd9f19379dd1420
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:51:06 2023 -0800
Revert fixes since it didn't actually fix the problem
commit 3605ca64224e81c09a803fae7f45a384feb5df6a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:20:56 2023 -0800
Fix HMR again
commit 40f4c94f4da77f3f4f97eea02cef1c463b8cfcd7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:11:25 2023 -0800
Fix HMR crashing the app
commit 986465d8f401986b152bc0712148c67ea5554834
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 17:44:56 2023 -0800
Project: Add HMR
https://github.com/krzysztofzablocki/Inject#individual-developer-setup-once-per-machine
commit 09db1ba9fce61e76993b035194182973a9789ffc
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 18:13:32 2023 -0800
SettingsView: Move App Icon to a new, general settings section
commit 8874480b8cbd944d232d086a5bd7353011a44394
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 17:57:51 2023 -0800
Icons: invert Sky
commit f0cc4613daf7cbdc82620356297ddac8b1268799
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 17:57:19 2023 -0800
AppIconsView: Add artists
commit bec78322a44f450feae06e968e4b2f4aa0997323
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 21:00:28 2023 -0800
actions: Add build step that changes default icon
commit 03777fd2e72f5fdc3ca7259b7cc5b8c1be5f29ea
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 20:49:07 2023 -0800
Icons: add Sky, Honeydew, Midnight
commit 96ae60a9f2c98f7e1ddcae59f5a085d7a2e05418
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 19:36:10 2023 -0800
AppIconsView: improve the way primary icons are handled
commit c7ad6b10a1ed4181037f5d2a9c07b0810f3d6887
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 19:35:57 2023 -0800
Icons: reduce image sizes
commit 8b8e471c976dc4c3c986026c759feeb39e858305
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 18:52:42 2023 -0800
Add App Icon changer
commit 38c0a8a9a35e491833387134ba5089d003261861
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 14 08:24:49 2023 -0800
Fix ConnectAppleIDView being shoved into a sidebar on iPad
commit e7ff6496c1d68eb5632cd44e6cbde3f2ec904dcc
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 14 08:20:16 2023 -0800
AuthenticationOperation: fix 2FA code not being displayed
Bandaid fix, it would be better to have the alert in ConnectAppleIDView
commit c2e89b09ead25413fb242d376030f8767ccf058c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:44:48 2023 -0800
RootView: Fix UI being shoved into sidebar on iPad (closes #264, thanks @Swifticul!)
commit ec4dbb667950fa56a299fd85df4de9116d9f53e8
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:06:59 2023 -0800
OutputCapturer: fix logging disappearing from Xcode/idevicedebug run
commit d80c9ba2a8060e86870550eea5eda6211d1d4ade
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:06:17 2023 -0800
remove unused apps.json files
commit b2f81bf7c6cbaa909a0ddf6daf67324353a7ce8e
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Feb 13 18:56:34 2023 +0100
[ADD] LocalConsole showing STDOUT and STDERR
commit 2fffa6e122f53f7834255cfb9678e37f546081a8
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:35:58 2023 +0100
[FIX] App compatibility info
commit 723c8e9539eefcb8562201689074d2a2f3ad4e41
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:29:02 2023 +0100
[ADD] Debug entries for refresh attempts, sending feedback, advanced settings, and resetting the pairing file
commit 07159b0ea62bc5f3def168401b208d671797f500
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 13:07:04 2023 +0100
[ADD] Error log view
commit e0bd54389c051f9beaa5061cf53e1a6d4992b310
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:55:25 2023 +0100
[FIX] Various UI issues
commit 57213fbf0c65f529a30fa7a33cdc97b82a69b086
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:46:43 2023 +0100
[ADD] App report button and trusted source badge in app detail view
commit 0239dfcd6d364f83db5612d04afa8e0789aea8cc
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:19:07 2023 +0100
[FIX] AppIDsView and authentication workflow
commit 5af6f825ee9dab6b589eaa732595468c4e6ab6c1
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:16:48 2023 +0100
[FIX] Full screen app screenshot previews
commit b4859512ab768c9f3543db0fe7c23a642128b34d
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 14:58:06 2023 +0100
[FIX] Accent color
commit 3d0f385af7758bdd4d4c21fe643bc5e4c491123e
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:38:42 2023 +0100
[CHANGE] Overhaul of the AppDetailView with version history, reviews & ratings, and app information
commit f3e58e1485a7b61d8afe919cdfbc61e9275b5bc4
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:37:37 2023 +0100
[UPDATE] AppPillButton dimensions and expiration text
commit d3e04c1db711a21aab843ba02242fa16ac437dee
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:35:09 2023 +0100
[FIX] Show App IDs button only if user is logged in with their Apple ID
commit ed1970245a4f5eba0ed1e5c407caec82689d2656
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:32:11 2023 +0100
[ADD] Load and show trusted sources with option to add them to the app
commit 15dd885a1b64f0471bf38b011d88131028716eae
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:30:21 2023 +0100
[ADD] Credits section in SettingsView
commit 4663c017008200ab00cb8dd04a1e82117068261b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 21:23:16 2023 +0100
[CHANGE] Extracted all strings into the Localizable.strings
commit e733601c667255fa7292401027f62c51cbe853b3
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:03:33 2023 +0100
[FIX] Text alignment in SettingsView
commit fc974a80794ec8e5a715c86c7eeecf8bcf75d88c
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:02:58 2023 +0100
[ADD] Hint for new users who don't have any sources
commit 6aaadc79e5dca2e4ba159efe8ffdc03159d476c7
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 18:59:39 2023 +0100
[ADD] AppScreenshot view with ImageProcessor to automatically rotate landscape screenshots
commit b9177e89c64324c5085813c08cb9dc74d954816a
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 13:37:38 2023 +0100
[FIX] Issues introduced by changes to the AltSource specification.
commit 1531c0a77f73118005fc2de1b9b9cfe8a1f6f0dd
Author: Fabian Thies <github@fabian-thies.de>
Date: Fri Jan 13 12:48:27 2023 +0100
[UPDATE] Translations (#7)
This PR merges all the new translations made on the SideStore weblate instance (https://translate.sidestore.io/projects/sidestore/app).
New translations:
- French
- Korean
Updated translations:
- Spanish
Co-authored-by: bogotesr <bogotesr@gmail.com>
Co-authored-by: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Co-authored-by: Joss Laymon <71040782+bogotesr@users.noreply.github.com>
Co-authored-by: mindfreakdev <shost212@gmail.com>
Co-authored-by: Python <rjp2030@proton.me>
Co-authored-by: Testi Cules <ervd516@gmail.com>
commit 1dde36facea14d908afd046cabfcca25d52c5e74
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:25:50 2023 +0100
[FIX] Changes made by Xcode 14 after building the app
commit c3c3783ba49d412c2fcaa5046f140fc47c611cd3
Author: Upal <shost212@gmail.com>
Date: Mon Dec 26 19:18:33 2022 +0530
Added Hindi Language (#5)
* Added Hindi Language
commit 8400af3423543f5c9df003689d9a595606bae2e7
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 16:52:01 2022 +0530
Added Dutch Language
commit 243c7efc09fc32295e86160e602cdb47298c2de8
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:30:42 2022 +0530
Added Ukrainian Language
commit 0298a0235bdda377c36dbe1ccd4caf1940c27144
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:28:00 2022 +0530
Added Ukrainian Language
commit e5b2496b0987c4ee5ed7aec06cc5c9a490af38e5
Author: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 01:08:47 2022 -0400
Screen Crunch sucks
Signed-off-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
commit 75c52a3af269d63e72e0d40756e75ce23563af2f
Author: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 00:58:22 2022 -0400
Spanish Translation Tweaks
commit 2c07009b0457cd7e09f7168af9b5d0ebde182ca4
Author: bogotesr <bogotesr@gmail.com>
Date: Sat Dec 24 21:06:28 2022 -0700
Add es-419 and finish adding support for the translations
Added Latin American Spanish (probably not the best translation)
Made everything reference the swiftgen stuff rather than having strings
commit 6257fdcd61c6f33e06ed648efc3c813a52c05f79
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:29:57 2022 +0100
[CHANGE] Extracted some example strings and replaced them by generated localized strings
commit e23956d4ed3d37dfc31162b0fc7c3943766f6e09
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:21:57 2022 +0100
[ADD] SwiftGen configuration and generated files
commit 1341de83154655f526a48f57174c10e86018ab55
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:10:58 2022 +0100
[ADD] Empty Localizable.strings
commit 77f5844e4d4b86562a9a55c021e01937da1be1c1
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:04:10 2023 +0100
[WIP] AppScreenshot view with ImageProcessor to automatically rotate landscape images. Possible through my fork of the AsyncImage framework.
commit b3c4819e8dfbbe4e901c37b70d7f608bc0b6db32
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:56 2023 +0100
[WIP] Fetch trusted sources in SourcesView
commit a6ca73f8fcfc6b007b9f745cd5b54aef263e880c
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:06 2023 +0100
[WIP] AppIDs view in My Apps section
commit f17d00c0bcf6fa69d65f55218120462a8d01b6d2
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:00:00 2023 +0100
[ADD] Badge in AppDetailView for apps from the official source and (WIP) trusted sources
commit 875453533b7c769a21f949659aa94639cdc6d912
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:58:25 2023 +0100
[ADD] Hint view in MyAppsView telling the user about where to find updates in the future if no updates are available
commit 9a7a39a58e6788ee0198448c1ae63c7c812a95c5
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:54:44 2023 +0100
[FIX] App permission icon color
commit 65db392388d39ccc553f5474c1c8ce238c467145
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:51:06 2023 +0100
[ADD] Show source name and external url domain in NewsItemView
commit 6a6fc2299591c05589fc7564f91ef59d99b13b5d
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 16:02:57 2022 +0100
[ADD] Full-screen app screenshot preview
commit 5697c4c063c97866055d5ddfb72818b7ec7aee4e
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 15:21:16 2022 +0100
[CHANGE] Replace system image name strings with SFSymbols
commit bcd54067d3061ab3e63114166e37d3ab8c6a17a8
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 13:12:39 2022 +0100
[ADD] Dependency: SFSafeSymbols
commit c7ce32a5628ea7f52f03e70c85e1e2ca8fbce33b
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:49:49 2022 +0100
[ADD] WIP: Promoted category cards and app list filter button in BrowseView
commit 5a1496a3cd91f33c3e3ddca579ae4194d84654c0
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:45 2022 +0100
[FIX] AccentColor in dark mode
commit 497c048240e9d410afcb83cd285488699b18a800
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:23 2022 +0100
[ADD] Carousel for SideStore-specific announcements in NewsView
commit 02e48a207f6e8b29cabbaf6cae76dd761076c8ca
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:45:44 2022 +0100
[ADD] WIP: Add My Apps view with support for sideloading new apps, refreshing installed apps and much more
commit a0eb30f98ea5d04883904cda69db1060e0788daa
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:54 2022 +0100
[CHANGE] Fixed the AppRowView background blur effect
commit 378631e976f4e7cf07728e8f804eee1748d24182
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:10 2022 +0100
[ADD] Backported dismiss() environment variable to let views dismiss themselves
commit 0e7083539df52034f002f8db697c802b2a434fc5
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:18:57 2022 +0100
[ADD] Search bar for BrowseView on iOS 15
commit 0c034b61d9b264b226bbfa88a419a091489ec5af
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:16:36 2022 +0100
[CHANGE] Fetch news when NewsView appears
commit 89dea75b84cbebd398503da9457d16369911f44f
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:15:16 2022 +0100
Improved app detail view
commit 81ea791b63f7a4411c949222e862fa07a4175c5a
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:12:38 2022 +0100
[ADD] Authentication view for connecting SideStore to an Apple ID
commit c81f716427688fca0e6bd44e68e9d19b0d352c2c
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:41:30 2022 +0100
[WIP] Fixed the app permissions grid in AppDetailView
commit eb151d74dd7c97dfdd804aee603625b3993d8e6b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:17:08 2022 +0100
[ADD] Expandable app and version description texts
commit 0dc7af5e510fcd8c1bbccb19cde62ab38fe8742f
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 00:26:15 2022 +0100
[ADD] iOS 13 compatible AsyncImage implementation with cache
commit d3e8473f45b89455388cc449bba36e014a037687
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Nov 23 22:34:02 2022 +0100
[ADD] News, Browse and Settings views ported to SwiftUI
This commit contains WIP SwiftUI versions of most of the views in SideStore.
commit 38a1c7eef6392db38af80e582235555c65333c8b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat May 20 20:05:36 2023 +0200
Fix rebase issues
commit f6252c3a8b8453aa1e7831d62c944f35134baa36
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat May 20 19:10:51 2023 +0200
Fix trusted sources being enabled in onboarding process regardless of user choice
commit 653d80b88e1223cdc45da908237bfc140ecb4717
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri May 19 13:14:15 2023 +0200
Add onboarding screens for an easy setup of SideStore
commit 89609ad35c52b712d7440accb65e28fb39586194
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:31:01 2023 +0100
[ADD] UI for writing an app review and submit an app rating
commit 2211013e573c59b9c19ec1a5d171711be652ccbc
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:30:21 2023 +0100
[CHANGE] UI fixes and SwiftUI previews for easier development
commit f206ee1406d5619e7f5740cd0017c8175ef87cd8
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:25:13 2023 +0100
[ADD] Refresh all apps functionality in MyAppsView
commit 00dc9b36af8ae5d8f6180aa7c8cc1896f023abde
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 11:40:26 2023 +0100
[FIX] STDOUT output not visible in Xcode console
commit 24146cef90894f8727fffec5d8d75b9c28580911
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Feb 13 18:56:34 2023 +0100
[ADD] LocalConsole showing STDOUT and STDERR
commit c46a50ec580eddaf1ad5e7587d1f4ccf4f9d2313
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:35:58 2023 +0100
[FIX] App compatibility info
commit de7e909c01d7727415f4e37c2e721eefed4ee1f5
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:29:02 2023 +0100
[ADD] Debug entries for refresh attempts, sending feedback, advanced settings, and resetting the pairing file
commit fbc754d8b7dac4e0c4c1a7343190cc97873e80aa
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 13:07:04 2023 +0100
[ADD] Error log view
commit 767d878051d23e87facee6ce6ec14f272981522d
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:55:25 2023 +0100
[FIX] Various UI issues
commit 132b140af2d70cfac8d0e8e5db3d2d02eab68d94
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:46:43 2023 +0100
[ADD] App report button and trusted source badge in app detail view
commit df7d8871ffea9239e6571e200602d213365be82e
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:19:07 2023 +0100
[FIX] AppIDsView and authentication workflow
commit ca2398e4c7973d4cf2c5371d14a97cede41a2a52
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:16:48 2023 +0100
[FIX] Full screen app screenshot previews
commit b8f02d2152eba4bf1fb71df5c1a9a6e2ab866047
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 14:58:06 2023 +0100
[FIX] Accent color
commit e85876cd24ff4fa81a4d0628766cbe18746c2d4a
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:38:42 2023 +0100
[CHANGE] Overhaul of the AppDetailView with version history, reviews & ratings, and app information
commit 3f06a530587ff02145f4e3fc9036358e524b4d8a
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:37:37 2023 +0100
[UPDATE] AppPillButton dimensions and expiration text
commit 4ee053a4f9a59597ce44517f08e74a972f49fdf6
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:35:09 2023 +0100
[FIX] Show App IDs button only if user is logged in with their Apple ID
commit e5369524ce0d475f11743f96f1bbe07a75d67c14
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:32:11 2023 +0100
[ADD] Load and show trusted sources with option to add them to the app
commit 77465cebd049379fd3e52f453d57ed699b384c1f
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:30:21 2023 +0100
[ADD] Credits section in SettingsView
commit f90bf3bfcf6982497b090c0b0995111560436d12
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 21:23:16 2023 +0100
[CHANGE] Extracted all strings into the Localizable.strings
commit 0000610b9dae8e336ed7cd059834690639a76f71
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:03:33 2023 +0100
[FIX] Text alignment in SettingsView
commit c7e095583d5be055e7cce48b8b943293aefa0c9b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:02:58 2023 +0100
[ADD] Hint for new users who don't have any sources
commit a725f3e9cc2cec550a3d084a8e0a5664b87c1eb9
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 18:59:39 2023 +0100
[ADD] AppScreenshot view with ImageProcessor to automatically rotate landscape screenshots
commit b5dea18073a6480c8ae1839ab3078cc4ca405328
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 13:37:38 2023 +0100
[FIX] Issues introduced by changes to the AltSource specification.
commit b9b309e603d7912f4edc7cef0e16ce622515d1ce
Author: Fabian Thies <github@fabian-thies.de>
Date: Fri Jan 13 12:48:27 2023 +0100
[UPDATE] Translations (#7)
This PR merges all the new translations made on the SideStore weblate instance (https://translate.sidestore.io/projects/sidestore/app).
New translations:
- French
- Korean
Updated translations:
- Spanish
Co-authored-by: bogotesr <bogotesr@gmail.com>
Co-authored-by: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Co-authored-by: Joss Laymon <71040782+bogotesr@users.noreply.github.com>
Co-authored-by: mindfreakdev <shost212@gmail.com>
Co-authored-by: Python <rjp2030@proton.me>
Co-authored-by: Testi Cules <ervd516@gmail.com>
commit 15f1be0aa8469a6166b713c054d685db527500ef
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:25:50 2023 +0100
[FIX] Changes made by Xcode 14 after building the app
commit ffd80ce0b4b098df1cdc41adbcf2b9d7c50d68bb
Author: Upal <shost212@gmail.com>
Date: Mon Dec 26 19:18:33 2022 +0530
Added Hindi Language (#5)
* Added Hindi Language
commit 350891ee2a558db6b6cac08a392bd733f3b8643b
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 16:52:01 2022 +0530
Added Dutch Language
commit 5dec1cd561df4f257e91dac0bc3fc946a3be9c06
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:30:42 2022 +0530
Added Ukrainian Language
commit c4d235d742df09fe1ec677cc3aee30c5467d8a0f
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:28:00 2022 +0530
Added Ukrainian Language
commit cdc6675dd5d402616c89cfecaf9e041c3f6b64be
Author: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 01:08:47 2022 -0400
Screen Crunch sucks
Signed-off-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
commit 85635bb26e57f266a1f46e60f4750804a7ad2809
Author: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 00:58:22 2022 -0400
Spanish Translation Tweaks
commit 3be0a4a89c17cc8a0e349f54f2a4adcc361d1ed2
Author: bogotesr <bogotesr@gmail.com>
Date: Sat Dec 24 21:06:28 2022 -0700
Add es-419 and finish adding support for the translations
Added Latin American Spanish (probably not the best translation)
Made everything reference the swiftgen stuff rather than having strings
commit 47e47fb3cfe6a228ccbb3a13254803273dcd9eda
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:29:57 2022 +0100
[CHANGE] Extracted some example strings and replaced them by generated localized strings
commit 48903034b6f91a1b34b59220025302657f3a4b2a
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:21:57 2022 +0100
[ADD] SwiftGen configuration and generated files
commit 6952218ee716ae5284437d78606d62ca1b95ca46
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:10:58 2022 +0100
[ADD] Empty Localizable.strings
commit 80146c1e038ce354094b56dd890d850092235bba
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:04:10 2023 +0100
[WIP] AppScreenshot view with ImageProcessor to automatically rotate landscape images. Possible through my fork of the AsyncImage framework.
commit 642ae996c974e0b18cbdd24810cb57da6d93e39f
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:56 2023 +0100
[WIP] Fetch trusted sources in SourcesView
commit 8040636aa51b2a9318e0bdd3dfed0c8a83a1fdbc
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:06 2023 +0100
[WIP] AppIDs view in My Apps section
commit 731fcfaca74f49b548133163f4cf2dcdd8ecf1e0
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:00:00 2023 +0100
[ADD] Badge in AppDetailView for apps from the official source and (WIP) trusted sources
commit 708fb3fccd8e89f59aaf8844c2d9c3a80733ca53
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:58:25 2023 +0100
[ADD] Hint view in MyAppsView telling the user about where to find updates in the future if no updates are available
commit 9f429fb0689a13e5a0c0ca043a76ca4f1b82d365
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:54:44 2023 +0100
[FIX] App permission icon color
commit 29fc693f4d52aece3505fb4bcb63497d5608dcb4
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:51:06 2023 +0100
[ADD] Show source name and external url domain in NewsItemView
commit 6f373ad3056fb154e385daadf87036062e40347a
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 16:02:57 2022 +0100
[ADD] Full-screen app screenshot preview
commit c069d779d976380302d876b5d21e39dd58070f14
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 15:21:16 2022 +0100
[CHANGE] Replace system image name strings with SFSymbols
commit cd88970a22527899d9a368db130bb38b4fa24d5b
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 13:12:39 2022 +0100
[ADD] Dependency: SFSafeSymbols
commit 6b6708e43c4d6cedc003c4e6a7e996b6c3857a16
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:49:49 2022 +0100
[ADD] WIP: Promoted category cards and app list filter button in BrowseView
commit 9206eeb9e34beb7684df3a4914e59aaa1d31cd78
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:45 2022 +0100
[FIX] AccentColor in dark mode
commit 080bbb3c51ea45eb80ddf06840eb01b27749102c
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:23 2022 +0100
[ADD] Carousel for SideStore-specific announcements in NewsView
commit ea2c862900205cca60242ca35dc2393248f3a01c
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:45:44 2022 +0100
[ADD] WIP: Add My Apps view with support for sideloading new apps, refreshing installed apps and much more
commit 4fe72ea113e7f7ba7c9a219ce2ae28c174497160
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:54 2022 +0100
[CHANGE] Fixed the AppRowView background blur effect
commit c486a62b508342250f7bb5d986df5b321bec6ffa
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:10 2022 +0100
[ADD] Backported dismiss() environment variable to let views dismiss themselves
commit 3ce4451da4de11ace886a5c6ea300852d9c8f41d
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:18:57 2022 +0100
[ADD] Search bar for BrowseView on iOS 15
commit 294ba12391c40cb8ece0b2f100aefc07d63ecc7b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:16:36 2022 +0100
[CHANGE] Fetch news when NewsView appears
commit 4a3343fe612a16de0a45362d68fa5b8eb7583dd6
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:15:16 2022 +0100
Improved app detail view
commit d1e6ddd435cd5d2cf44eacb6f6806c47b4fc4c60
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:12:38 2022 +0100
[ADD] Authentication view for connecting SideStore to an Apple ID
commit 3e0379dc70dd18c34648937d167b2277addd4698
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:41:30 2022 +0100
[WIP] Fixed the app permissions grid in AppDetailView
commit d99674f8bdab6cab478a96fffebb39d0901036e5
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:17:08 2022 +0100
[ADD] Expandable app and version description texts
commit ca7acc17daabaa60bdfaba5b23221c5b7978faee
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 00:26:15 2022 +0100
[ADD] iOS 13 compatible AsyncImage implementation with cache
commit 16a8bce102057e47d8204efa2d3138aab84ab424
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Nov 23 22:34:02 2022 +0100
[ADD] News, Browse and Settings views ported to SwiftUI
This commit contains WIP SwiftUI versions of most of the views in SideStore.
2023-05-20 11:31:00 -07:00
|
|
|
// Copy STDOUT and STDERR to the logging console
|
|
|
|
|
_ = OutputCapturer.shared
|
|
|
|
|
|
2020-09-16 12:09:12 -07:00
|
|
|
// Register default settings before doing anything else.
|
|
|
|
|
UserDefaults.registerDefaults()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2023-05-20 14:23:25 -07:00
|
|
|
#if UNSTABLE
|
2023-05-20 09:24:09 -07:00
|
|
|
UnstableFeatures.load()
|
2023-05-20 14:23:25 -07:00
|
|
|
#endif
|
2023-05-20 09:24:09 -07:00
|
|
|
|
Merge SwiftUI (#221) + SwiftUI improvements (#265)
commit 22f1ff7cd7d4d4750eeda2067d23846900239b83
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:29:01 2023 -0700
fix: actually disable LocalConsole's character limit
commit 4b51915da7bc0637ccf819ac45c7d727d450ae12
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:27:12 2023 -0700
Merge SwiftUI improvements (#265)
commit 7f73f2adef2b636e05d3cd460ab5b3cab3aabca9
Merge: 72f34dd2 38a1c7ee
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat May 20 11:23:07 2023 -0700
Merge remote-tracking branch 'origin/fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit 72f34dd2868e45a909633d73833475d445cf0b78
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Apr 12 18:21:49 2023 -0700
feat: default to Storm icon for PR builds
Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
commit 060c37c42353f6ebca7416f16a428787d07686fa
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 19:40:53 2023 -0700
fix(icons): sky appears correctly in light mode
commit 8c2968aeb3e7020e325a7e48dbdd3e3b72336610
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 14:29:03 2023 -0700
fix: build errors
commit 4f512b63184f578d77980af0f3a0d14245607007
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:54:01 2023 -0700
project(minimuxer): fix actions build error
commit 5b752cf26ee66e7a49acf9e03a8c43e0236ada8b
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:51:54 2023 -0700
fix: remove duplicate isSideStore checks with a StoreApp extension
commit 62a478277e1fe60a69a2028c17e2c0dcc083c7c7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:41:58 2023 -0700
fix(AsyncFallibleButton): try to use failureReason and then fallback to localizedDescription
commit 994b2318a9efb44c906efa51b92278ebbfb1dd33
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:38:44 2023 -0700
feat(dev mode): add AFC file explorer and dump profiles
commit 423ac28ba3e6bcf6052d98d285f8c7d768312d1f
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:35:14 2023 -0700
project(AltStore): xcode wants to move these around I guess
commit af2cdd48d6deea68d8987d1c22925ee0150f8aba
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:34:57 2023 -0700
feat: add debug logging toggle
commit 44fe0c5686cb00b5b85d4dddd8a108efedfebc71
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:33:11 2023 -0700
project(minimuxer): Add libminimuxer as an input file for build step
commit 3d46a3069ab1fa166707410a5dfd05ca1a877e3c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:32:22 2023 -0700
fix: handle source conflict in merge policy
commit 82e8fb73891614abcbb9d9c8b6ca6f601f8c67a4
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Apr 9 13:31:39 2023 -0700
docs: include info on Developer Mode
commit 1dd0cd7d903b2473aaa0c817d476ec9a05b99705
Merge: 92a9650c 566841a9
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 21:07:33 2023 -0700
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit 566841a9a632c1d83e0e5752809273ede940c38a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 21:06:07 2023 -0700
Fix not being able to open the project
commit 92a9650c0c62044eb78201834567160e95199948
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:49:49 2023 -0700
Apply DevModeView suggestion
commit df94e794721480188111402e326ab4029a8767dd
Merge: d3cfc4ba cd2c5ad7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:48:52 2023 -0700
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
commit cd2c5ad7b4cd96a5b2a05e03c14a8fe404e35933
Merge: 3466870d 6146f1bd
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Apr 6 20:43:10 2023 -0700
Merge remote-tracking branch 'origin/develop' into fabianthdev/feature/SwiftUI
commit d3cfc4bab9270e5baf656ea8a272299ca48da4ae
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 13:05:11 2023 -0800
FileExplorer: Replace file when inserting
commit df62461d4a08a07812fcc548d60e3f7baa2da09e
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 13:04:52 2023 -0800
Settings: Add Export Logs and commit xcodeproj changes
commit 817d2de5e018e73c3135382f14d11d72188d1a97
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 12:19:07 2023 -0800
Rename View+SideStore
commit 3ea478ad05047006986deae73adcb5cb1e77c4ec
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 12:18:42 2023 -0800
DevMode: Add password
commit 13f9a9d1bff98e7bddc4c7cfd859dea329fa1c4c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 22 11:43:13 2023 -0800
AdvancedSettingsView: improve anisette URL by using a label instead of a placeholder
commit 3821a6034d0ef6210bebf1ec743e1298d885ac46
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 21 17:34:56 2023 -0800
project: attempt to fix crashing on launch
commit 3e8d7da0c3c026f9e5030a94bbb6bd336156da74
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:49:22 2023 -0800
AdvancedSettingsView: Remove autocomplete from anisette URL text field
commit a42c1a705f711306acc09eec75987f5daa4f0619
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:25:59 2023 -0800
SettingsView: Adjust ordering a little bit and remove accent color
commit 30efc6f210350afb63ac621852e449201526fff5
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:19:26 2023 -0800
LaunchViewController: Revert changes
commit 60412721eebb539c808e27744941121872eda5b3
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 13:04:42 2023 -0800
Fix build errors
hopefully this doesn't have any unintended side effects
commit cba00a3b9d6e8fd8ba476f9096e6ea317bdd21c2
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 12:03:22 2023 -0800
Add Advanced Settings in-app
commit 2aa880d10e102b8464ebfd6da462490659ad5f52
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 10:56:01 2023 -0800
Fix build errors after merge
commit 47848ddd18f36a769e17f3ccac6559f50144576f
Merge: deac960e 3466870d
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:56:21 2023 -0800
Merge branch 'fabianthdev/feature/SwiftUI' into naturecodevoid/swiftui-improvements
Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
commit deac960e10cad17e614ae3ff49dcd256af36d02b
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:54:56 2023 -0800
Revert OutputCapturer changes since Fabian already added the fix
commit 9f05123e42e9781acf82e74560f54548e427f21e
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:16:49 2023 -0800
AppIconView: Make isSideStore required
commit d9a4b0709594c6882faf5712fa855e5195919e71
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:16:07 2023 -0800
Fix changing SideStore app icon not displaying My Apps
commit 839699ee0304a4009dfc52013bb97cc2b9870339
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 09:00:19 2023 -0800
Icons: add Vista by Swifticul
commit 81409227d61c5092da7712662c2108c94c7a4603
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 08:06:33 2023 -0800
Add developer mode
commit 49b9be160f613b8fdfe59c17522d92b207de298a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sun Feb 19 07:57:29 2023 -0800
AppRowView: Disable ratings if there aren't any ratings
commit 3466870d8fd9971385725f105750951e9f8b27df
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:31:01 2023 +0100
[ADD] UI for writing an app review and submit an app rating
commit ffe8a92a4e9b2c904b137ac05e2db1a61f519d73
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:30:21 2023 +0100
[CHANGE] UI fixes and SwiftUI previews for easier development
commit bc2cae46a8dcd2b723160f5f02690ba57e85637b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:25:13 2023 +0100
[ADD] Refresh all apps functionality in MyAppsView
commit a95d8a502ccaa76d4ac579150ea7f58a3afdf9ed
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 11:40:26 2023 +0100
[FIX] STDOUT output not visible in Xcode console
commit 19e66112ddf78d9a923a59f0ce28bb7a5a6ee992
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:27:06 2023 -0800
SourcesView: Fix 1 trusted source causing an error making all trusted sources fail to load
commit 0d3cb843ea32d0a0d6a4c5e240fd901febd254b1
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:26:32 2023 -0800
SourcesViewController: Fix 1 trusted source causing an error making all trusted sources fail to load
commit df1a662accec86a3f8a6b3911b53f352d7247f16
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 20:25:58 2023 -0800
FetchTrustedSourcesOperation: Remove redundant if statement
commit 684c9e08eb5ba81de7c94a068491f69283bedc8a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Sat Feb 18 10:48:05 2023 -0800
Fix HMR
commit c585c57965d6a33d6d283e645dd9f19379dd1420
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:51:06 2023 -0800
Revert fixes since it didn't actually fix the problem
commit 3605ca64224e81c09a803fae7f45a384feb5df6a
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:20:56 2023 -0800
Fix HMR again
commit 40f4c94f4da77f3f4f97eea02cef1c463b8cfcd7
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 18:11:25 2023 -0800
Fix HMR crashing the app
commit 986465d8f401986b152bc0712148c67ea5554834
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Fri Feb 17 17:44:56 2023 -0800
Project: Add HMR
https://github.com/krzysztofzablocki/Inject#individual-developer-setup-once-per-machine
commit 09db1ba9fce61e76993b035194182973a9789ffc
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 18:13:32 2023 -0800
SettingsView: Move App Icon to a new, general settings section
commit 8874480b8cbd944d232d086a5bd7353011a44394
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 17:57:51 2023 -0800
Icons: invert Sky
commit f0cc4613daf7cbdc82620356297ddac8b1268799
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Thu Feb 16 17:57:19 2023 -0800
AppIconsView: Add artists
commit bec78322a44f450feae06e968e4b2f4aa0997323
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 21:00:28 2023 -0800
actions: Add build step that changes default icon
commit 03777fd2e72f5fdc3ca7259b7cc5b8c1be5f29ea
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 20:49:07 2023 -0800
Icons: add Sky, Honeydew, Midnight
commit 96ae60a9f2c98f7e1ddcae59f5a085d7a2e05418
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 19:36:10 2023 -0800
AppIconsView: improve the way primary icons are handled
commit c7ad6b10a1ed4181037f5d2a9c07b0810f3d6887
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 19:35:57 2023 -0800
Icons: reduce image sizes
commit 8b8e471c976dc4c3c986026c759feeb39e858305
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Wed Feb 15 18:52:42 2023 -0800
Add App Icon changer
commit 38c0a8a9a35e491833387134ba5089d003261861
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 14 08:24:49 2023 -0800
Fix ConnectAppleIDView being shoved into a sidebar on iPad
commit e7ff6496c1d68eb5632cd44e6cbde3f2ec904dcc
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Tue Feb 14 08:20:16 2023 -0800
AuthenticationOperation: fix 2FA code not being displayed
Bandaid fix, it would be better to have the alert in ConnectAppleIDView
commit c2e89b09ead25413fb242d376030f8767ccf058c
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:44:48 2023 -0800
RootView: Fix UI being shoved into sidebar on iPad (closes #264, thanks @Swifticul!)
commit ec4dbb667950fa56a299fd85df4de9116d9f53e8
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:06:59 2023 -0800
OutputCapturer: fix logging disappearing from Xcode/idevicedebug run
commit d80c9ba2a8060e86870550eea5eda6211d1d4ade
Author: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
Date: Mon Feb 13 21:06:17 2023 -0800
remove unused apps.json files
commit b2f81bf7c6cbaa909a0ddf6daf67324353a7ce8e
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Feb 13 18:56:34 2023 +0100
[ADD] LocalConsole showing STDOUT and STDERR
commit 2fffa6e122f53f7834255cfb9678e37f546081a8
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:35:58 2023 +0100
[FIX] App compatibility info
commit 723c8e9539eefcb8562201689074d2a2f3ad4e41
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:29:02 2023 +0100
[ADD] Debug entries for refresh attempts, sending feedback, advanced settings, and resetting the pairing file
commit 07159b0ea62bc5f3def168401b208d671797f500
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 13:07:04 2023 +0100
[ADD] Error log view
commit e0bd54389c051f9beaa5061cf53e1a6d4992b310
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:55:25 2023 +0100
[FIX] Various UI issues
commit 57213fbf0c65f529a30fa7a33cdc97b82a69b086
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:46:43 2023 +0100
[ADD] App report button and trusted source badge in app detail view
commit 0239dfcd6d364f83db5612d04afa8e0789aea8cc
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:19:07 2023 +0100
[FIX] AppIDsView and authentication workflow
commit 5af6f825ee9dab6b589eaa732595468c4e6ab6c1
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:16:48 2023 +0100
[FIX] Full screen app screenshot previews
commit b4859512ab768c9f3543db0fe7c23a642128b34d
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 14:58:06 2023 +0100
[FIX] Accent color
commit 3d0f385af7758bdd4d4c21fe643bc5e4c491123e
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:38:42 2023 +0100
[CHANGE] Overhaul of the AppDetailView with version history, reviews & ratings, and app information
commit f3e58e1485a7b61d8afe919cdfbc61e9275b5bc4
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:37:37 2023 +0100
[UPDATE] AppPillButton dimensions and expiration text
commit d3e04c1db711a21aab843ba02242fa16ac437dee
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:35:09 2023 +0100
[FIX] Show App IDs button only if user is logged in with their Apple ID
commit ed1970245a4f5eba0ed1e5c407caec82689d2656
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:32:11 2023 +0100
[ADD] Load and show trusted sources with option to add them to the app
commit 15dd885a1b64f0471bf38b011d88131028716eae
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:30:21 2023 +0100
[ADD] Credits section in SettingsView
commit 4663c017008200ab00cb8dd04a1e82117068261b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 21:23:16 2023 +0100
[CHANGE] Extracted all strings into the Localizable.strings
commit e733601c667255fa7292401027f62c51cbe853b3
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:03:33 2023 +0100
[FIX] Text alignment in SettingsView
commit fc974a80794ec8e5a715c86c7eeecf8bcf75d88c
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:02:58 2023 +0100
[ADD] Hint for new users who don't have any sources
commit 6aaadc79e5dca2e4ba159efe8ffdc03159d476c7
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 18:59:39 2023 +0100
[ADD] AppScreenshot view with ImageProcessor to automatically rotate landscape screenshots
commit b9177e89c64324c5085813c08cb9dc74d954816a
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 13:37:38 2023 +0100
[FIX] Issues introduced by changes to the AltSource specification.
commit 1531c0a77f73118005fc2de1b9b9cfe8a1f6f0dd
Author: Fabian Thies <github@fabian-thies.de>
Date: Fri Jan 13 12:48:27 2023 +0100
[UPDATE] Translations (#7)
This PR merges all the new translations made on the SideStore weblate instance (https://translate.sidestore.io/projects/sidestore/app).
New translations:
- French
- Korean
Updated translations:
- Spanish
Co-authored-by: bogotesr <bogotesr@gmail.com>
Co-authored-by: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Co-authored-by: Joss Laymon <71040782+bogotesr@users.noreply.github.com>
Co-authored-by: mindfreakdev <shost212@gmail.com>
Co-authored-by: Python <rjp2030@proton.me>
Co-authored-by: Testi Cules <ervd516@gmail.com>
commit 1dde36facea14d908afd046cabfcca25d52c5e74
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:25:50 2023 +0100
[FIX] Changes made by Xcode 14 after building the app
commit c3c3783ba49d412c2fcaa5046f140fc47c611cd3
Author: Upal <shost212@gmail.com>
Date: Mon Dec 26 19:18:33 2022 +0530
Added Hindi Language (#5)
* Added Hindi Language
commit 8400af3423543f5c9df003689d9a595606bae2e7
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 16:52:01 2022 +0530
Added Dutch Language
commit 243c7efc09fc32295e86160e602cdb47298c2de8
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:30:42 2022 +0530
Added Ukrainian Language
commit 0298a0235bdda377c36dbe1ccd4caf1940c27144
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:28:00 2022 +0530
Added Ukrainian Language
commit e5b2496b0987c4ee5ed7aec06cc5c9a490af38e5
Author: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 01:08:47 2022 -0400
Screen Crunch sucks
Signed-off-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
commit 75c52a3af269d63e72e0d40756e75ce23563af2f
Author: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 00:58:22 2022 -0400
Spanish Translation Tweaks
commit 2c07009b0457cd7e09f7168af9b5d0ebde182ca4
Author: bogotesr <bogotesr@gmail.com>
Date: Sat Dec 24 21:06:28 2022 -0700
Add es-419 and finish adding support for the translations
Added Latin American Spanish (probably not the best translation)
Made everything reference the swiftgen stuff rather than having strings
commit 6257fdcd61c6f33e06ed648efc3c813a52c05f79
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:29:57 2022 +0100
[CHANGE] Extracted some example strings and replaced them by generated localized strings
commit e23956d4ed3d37dfc31162b0fc7c3943766f6e09
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:21:57 2022 +0100
[ADD] SwiftGen configuration and generated files
commit 1341de83154655f526a48f57174c10e86018ab55
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:10:58 2022 +0100
[ADD] Empty Localizable.strings
commit 77f5844e4d4b86562a9a55c021e01937da1be1c1
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:04:10 2023 +0100
[WIP] AppScreenshot view with ImageProcessor to automatically rotate landscape images. Possible through my fork of the AsyncImage framework.
commit b3c4819e8dfbbe4e901c37b70d7f608bc0b6db32
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:56 2023 +0100
[WIP] Fetch trusted sources in SourcesView
commit a6ca73f8fcfc6b007b9f745cd5b54aef263e880c
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:06 2023 +0100
[WIP] AppIDs view in My Apps section
commit f17d00c0bcf6fa69d65f55218120462a8d01b6d2
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:00:00 2023 +0100
[ADD] Badge in AppDetailView for apps from the official source and (WIP) trusted sources
commit 875453533b7c769a21f949659aa94639cdc6d912
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:58:25 2023 +0100
[ADD] Hint view in MyAppsView telling the user about where to find updates in the future if no updates are available
commit 9a7a39a58e6788ee0198448c1ae63c7c812a95c5
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:54:44 2023 +0100
[FIX] App permission icon color
commit 65db392388d39ccc553f5474c1c8ce238c467145
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:51:06 2023 +0100
[ADD] Show source name and external url domain in NewsItemView
commit 6a6fc2299591c05589fc7564f91ef59d99b13b5d
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 16:02:57 2022 +0100
[ADD] Full-screen app screenshot preview
commit 5697c4c063c97866055d5ddfb72818b7ec7aee4e
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 15:21:16 2022 +0100
[CHANGE] Replace system image name strings with SFSymbols
commit bcd54067d3061ab3e63114166e37d3ab8c6a17a8
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 13:12:39 2022 +0100
[ADD] Dependency: SFSafeSymbols
commit c7ce32a5628ea7f52f03e70c85e1e2ca8fbce33b
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:49:49 2022 +0100
[ADD] WIP: Promoted category cards and app list filter button in BrowseView
commit 5a1496a3cd91f33c3e3ddca579ae4194d84654c0
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:45 2022 +0100
[FIX] AccentColor in dark mode
commit 497c048240e9d410afcb83cd285488699b18a800
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:23 2022 +0100
[ADD] Carousel for SideStore-specific announcements in NewsView
commit 02e48a207f6e8b29cabbaf6cae76dd761076c8ca
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:45:44 2022 +0100
[ADD] WIP: Add My Apps view with support for sideloading new apps, refreshing installed apps and much more
commit a0eb30f98ea5d04883904cda69db1060e0788daa
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:54 2022 +0100
[CHANGE] Fixed the AppRowView background blur effect
commit 378631e976f4e7cf07728e8f804eee1748d24182
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:10 2022 +0100
[ADD] Backported dismiss() environment variable to let views dismiss themselves
commit 0e7083539df52034f002f8db697c802b2a434fc5
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:18:57 2022 +0100
[ADD] Search bar for BrowseView on iOS 15
commit 0c034b61d9b264b226bbfa88a419a091489ec5af
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:16:36 2022 +0100
[CHANGE] Fetch news when NewsView appears
commit 89dea75b84cbebd398503da9457d16369911f44f
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:15:16 2022 +0100
Improved app detail view
commit 81ea791b63f7a4411c949222e862fa07a4175c5a
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:12:38 2022 +0100
[ADD] Authentication view for connecting SideStore to an Apple ID
commit c81f716427688fca0e6bd44e68e9d19b0d352c2c
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:41:30 2022 +0100
[WIP] Fixed the app permissions grid in AppDetailView
commit eb151d74dd7c97dfdd804aee603625b3993d8e6b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:17:08 2022 +0100
[ADD] Expandable app and version description texts
commit 0dc7af5e510fcd8c1bbccb19cde62ab38fe8742f
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 00:26:15 2022 +0100
[ADD] iOS 13 compatible AsyncImage implementation with cache
commit d3e8473f45b89455388cc449bba36e014a037687
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Nov 23 22:34:02 2022 +0100
[ADD] News, Browse and Settings views ported to SwiftUI
This commit contains WIP SwiftUI versions of most of the views in SideStore.
commit 38a1c7eef6392db38af80e582235555c65333c8b
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat May 20 20:05:36 2023 +0200
Fix rebase issues
commit f6252c3a8b8453aa1e7831d62c944f35134baa36
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat May 20 19:10:51 2023 +0200
Fix trusted sources being enabled in onboarding process regardless of user choice
commit 653d80b88e1223cdc45da908237bfc140ecb4717
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri May 19 13:14:15 2023 +0200
Add onboarding screens for an easy setup of SideStore
commit 89609ad35c52b712d7440accb65e28fb39586194
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:31:01 2023 +0100
[ADD] UI for writing an app review and submit an app rating
commit 2211013e573c59b9c19ec1a5d171711be652ccbc
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:30:21 2023 +0100
[CHANGE] UI fixes and SwiftUI previews for easier development
commit f206ee1406d5619e7f5740cd0017c8175ef87cd8
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 14:25:13 2023 +0100
[ADD] Refresh all apps functionality in MyAppsView
commit 00dc9b36af8ae5d8f6180aa7c8cc1896f023abde
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Feb 19 11:40:26 2023 +0100
[FIX] STDOUT output not visible in Xcode console
commit 24146cef90894f8727fffec5d8d75b9c28580911
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Feb 13 18:56:34 2023 +0100
[ADD] LocalConsole showing STDOUT and STDERR
commit c46a50ec580eddaf1ad5e7587d1f4ccf4f9d2313
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:35:58 2023 +0100
[FIX] App compatibility info
commit de7e909c01d7727415f4e37c2e721eefed4ee1f5
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 14:29:02 2023 +0100
[ADD] Debug entries for refresh attempts, sending feedback, advanced settings, and resetting the pairing file
commit fbc754d8b7dac4e0c4c1a7343190cc97873e80aa
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 13:07:04 2023 +0100
[ADD] Error log view
commit 767d878051d23e87facee6ce6ec14f272981522d
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:55:25 2023 +0100
[FIX] Various UI issues
commit 132b140af2d70cfac8d0e8e5db3d2d02eab68d94
Author: Fabian Thies <git@fabian-thies.de>
Date: Sat Feb 4 12:46:43 2023 +0100
[ADD] App report button and trusted source badge in app detail view
commit df7d8871ffea9239e6571e200602d213365be82e
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:19:07 2023 +0100
[FIX] AppIDsView and authentication workflow
commit ca2398e4c7973d4cf2c5371d14a97cede41a2a52
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 18:16:48 2023 +0100
[FIX] Full screen app screenshot previews
commit b8f02d2152eba4bf1fb71df5c1a9a6e2ab866047
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Feb 3 14:58:06 2023 +0100
[FIX] Accent color
commit e85876cd24ff4fa81a4d0628766cbe18746c2d4a
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:38:42 2023 +0100
[CHANGE] Overhaul of the AppDetailView with version history, reviews & ratings, and app information
commit 3f06a530587ff02145f4e3fc9036358e524b4d8a
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:37:37 2023 +0100
[UPDATE] AppPillButton dimensions and expiration text
commit 4ee053a4f9a59597ce44517f08e74a972f49fdf6
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:35:09 2023 +0100
[FIX] Show App IDs button only if user is logged in with their Apple ID
commit e5369524ce0d475f11743f96f1bbe07a75d67c14
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:32:11 2023 +0100
[ADD] Load and show trusted sources with option to add them to the app
commit 77465cebd049379fd3e52f453d57ed699b384c1f
Author: Fabian Thies <git@fabian-thies.de>
Date: Tue Jan 31 22:30:21 2023 +0100
[ADD] Credits section in SettingsView
commit f90bf3bfcf6982497b090c0b0995111560436d12
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 21:23:16 2023 +0100
[CHANGE] Extracted all strings into the Localizable.strings
commit 0000610b9dae8e336ed7cd059834690639a76f71
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:03:33 2023 +0100
[FIX] Text alignment in SettingsView
commit c7e095583d5be055e7cce48b8b943293aefa0c9b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 19:02:58 2023 +0100
[ADD] Hint for new users who don't have any sources
commit a725f3e9cc2cec550a3d084a8e0a5664b87c1eb9
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Jan 16 18:59:39 2023 +0100
[ADD] AppScreenshot view with ImageProcessor to automatically rotate landscape screenshots
commit b5dea18073a6480c8ae1839ab3078cc4ca405328
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 13:37:38 2023 +0100
[FIX] Issues introduced by changes to the AltSource specification.
commit b9b309e603d7912f4edc7cef0e16ce622515d1ce
Author: Fabian Thies <github@fabian-thies.de>
Date: Fri Jan 13 12:48:27 2023 +0100
[UPDATE] Translations (#7)
This PR merges all the new translations made on the SideStore weblate instance (https://translate.sidestore.io/projects/sidestore/app).
New translations:
- French
- Korean
Updated translations:
- Spanish
Co-authored-by: bogotesr <bogotesr@gmail.com>
Co-authored-by: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Co-authored-by: Joss Laymon <71040782+bogotesr@users.noreply.github.com>
Co-authored-by: mindfreakdev <shost212@gmail.com>
Co-authored-by: Python <rjp2030@proton.me>
Co-authored-by: Testi Cules <ervd516@gmail.com>
commit 15f1be0aa8469a6166b713c054d685db527500ef
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:25:50 2023 +0100
[FIX] Changes made by Xcode 14 after building the app
commit ffd80ce0b4b098df1cdc41adbcf2b9d7c50d68bb
Author: Upal <shost212@gmail.com>
Date: Mon Dec 26 19:18:33 2022 +0530
Added Hindi Language (#5)
* Added Hindi Language
commit 350891ee2a558db6b6cac08a392bd733f3b8643b
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 16:52:01 2022 +0530
Added Dutch Language
commit 5dec1cd561df4f257e91dac0bc3fc946a3be9c06
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:30:42 2022 +0530
Added Ukrainian Language
commit c4d235d742df09fe1ec677cc3aee30c5467d8a0f
Author: mindfreakdev <shost212@gmail.com>
Date: Sun Dec 25 12:28:00 2022 +0530
Added Ukrainian Language
commit cdc6675dd5d402616c89cfecaf9e041c3f6b64be
Author: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 01:08:47 2022 -0400
Screen Crunch sucks
Signed-off-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
commit 85635bb26e57f266a1f46e60f4750804a7ad2809
Author: GABO1423 <35014183+GABO1423@users.noreply.github.com>
Date: Sun Dec 25 00:58:22 2022 -0400
Spanish Translation Tweaks
commit 3be0a4a89c17cc8a0e349f54f2a4adcc361d1ed2
Author: bogotesr <bogotesr@gmail.com>
Date: Sat Dec 24 21:06:28 2022 -0700
Add es-419 and finish adding support for the translations
Added Latin American Spanish (probably not the best translation)
Made everything reference the swiftgen stuff rather than having strings
commit 47e47fb3cfe6a228ccbb3a13254803273dcd9eda
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:29:57 2022 +0100
[CHANGE] Extracted some example strings and replaced them by generated localized strings
commit 48903034b6f91a1b34b59220025302657f3a4b2a
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:21:57 2022 +0100
[ADD] SwiftGen configuration and generated files
commit 6952218ee716ae5284437d78606d62ca1b95ca46
Author: Fabian Thies <git@fabian-thies.de>
Date: Thu Dec 22 10:10:58 2022 +0100
[ADD] Empty Localizable.strings
commit 80146c1e038ce354094b56dd890d850092235bba
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:04:10 2023 +0100
[WIP] AppScreenshot view with ImageProcessor to automatically rotate landscape images. Possible through my fork of the AsyncImage framework.
commit 642ae996c974e0b18cbdd24810cb57da6d93e39f
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:56 2023 +0100
[WIP] Fetch trusted sources in SourcesView
commit 8040636aa51b2a9318e0bdd3dfed0c8a83a1fdbc
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:02:06 2023 +0100
[WIP] AppIDs view in My Apps section
commit 731fcfaca74f49b548133163f4cf2dcdd8ecf1e0
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 12:00:00 2023 +0100
[ADD] Badge in AppDetailView for apps from the official source and (WIP) trusted sources
commit 708fb3fccd8e89f59aaf8844c2d9c3a80733ca53
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:58:25 2023 +0100
[ADD] Hint view in MyAppsView telling the user about where to find updates in the future if no updates are available
commit 9f429fb0689a13e5a0c0ca043a76ca4f1b82d365
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:54:44 2023 +0100
[FIX] App permission icon color
commit 29fc693f4d52aece3505fb4bcb63497d5608dcb4
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Jan 13 11:51:06 2023 +0100
[ADD] Show source name and external url domain in NewsItemView
commit 6f373ad3056fb154e385daadf87036062e40347a
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 16:02:57 2022 +0100
[ADD] Full-screen app screenshot preview
commit c069d779d976380302d876b5d21e39dd58070f14
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 15:21:16 2022 +0100
[CHANGE] Replace system image name strings with SFSymbols
commit cd88970a22527899d9a368db130bb38b4fa24d5b
Author: Fabian Thies <git@fabian-thies.de>
Date: Fri Dec 23 13:12:39 2022 +0100
[ADD] Dependency: SFSafeSymbols
commit 6b6708e43c4d6cedc003c4e6a7e996b6c3857a16
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:49:49 2022 +0100
[ADD] WIP: Promoted category cards and app list filter button in BrowseView
commit 9206eeb9e34beb7684df3a4914e59aaa1d31cd78
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:45 2022 +0100
[FIX] AccentColor in dark mode
commit 080bbb3c51ea45eb80ddf06840eb01b27749102c
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:48:23 2022 +0100
[ADD] Carousel for SideStore-specific announcements in NewsView
commit ea2c862900205cca60242ca35dc2393248f3a01c
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Dec 21 17:45:44 2022 +0100
[ADD] WIP: Add My Apps view with support for sideloading new apps, refreshing installed apps and much more
commit 4fe72ea113e7f7ba7c9a219ce2ae28c174497160
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:54 2022 +0100
[CHANGE] Fixed the AppRowView background blur effect
commit c486a62b508342250f7bb5d986df5b321bec6ffa
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:20:10 2022 +0100
[ADD] Backported dismiss() environment variable to let views dismiss themselves
commit 3ce4451da4de11ace886a5c6ea300852d9c8f41d
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:18:57 2022 +0100
[ADD] Search bar for BrowseView on iOS 15
commit 294ba12391c40cb8ece0b2f100aefc07d63ecc7b
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:16:36 2022 +0100
[CHANGE] Fetch news when NewsView appears
commit 4a3343fe612a16de0a45362d68fa5b8eb7583dd6
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:15:16 2022 +0100
Improved app detail view
commit d1e6ddd435cd5d2cf44eacb6f6806c47b4fc4c60
Author: Fabian Thies <git@fabian-thies.de>
Date: Mon Dec 12 19:12:38 2022 +0100
[ADD] Authentication view for connecting SideStore to an Apple ID
commit 3e0379dc70dd18c34648937d167b2277addd4698
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:41:30 2022 +0100
[WIP] Fixed the app permissions grid in AppDetailView
commit d99674f8bdab6cab478a96fffebb39d0901036e5
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 16:17:08 2022 +0100
[ADD] Expandable app and version description texts
commit ca7acc17daabaa60bdfaba5b23221c5b7978faee
Author: Fabian Thies <git@fabian-thies.de>
Date: Sun Nov 27 00:26:15 2022 +0100
[ADD] iOS 13 compatible AsyncImage implementation with cache
commit 16a8bce102057e47d8204efa2d3138aab84ab424
Author: Fabian Thies <git@fabian-thies.de>
Date: Wed Nov 23 22:34:02 2022 +0100
[ADD] News, Browse and Settings views ported to SwiftUI
This commit contains WIP SwiftUI versions of most of the views in SideStore.
2023-05-20 11:31:00 -07:00
|
|
|
LCManager.shared.isVisible = UserDefaults.standard.isConsoleEnabled
|
|
|
|
|
LCManager.shared.isCharacterLimitDisabled = true // we want all logs exported
|
|
|
|
|
|
2020-07-13 17:59:52 -07:00
|
|
|
DatabaseManager.shared.start { (error) in
|
|
|
|
|
if let error = error
|
|
|
|
|
{
|
|
|
|
|
print("Failed to start DatabaseManager. Error:", error as Any)
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
print("Started DatabaseManager.")
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-03-31 14:31:34 -07:00
|
|
|
AnalyticsManager.shared.start()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-07-24 12:23:54 -07:00
|
|
|
self.setTintColor()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
|
|
|
|
SecureValueTransformer.register()
|
|
|
|
|
|
2019-06-04 18:29:50 -07:00
|
|
|
if UserDefaults.standard.firstLaunch == nil
|
|
|
|
|
{
|
2019-06-06 14:46:23 -07:00
|
|
|
Keychain.shared.reset()
|
2019-06-04 18:29:50 -07:00
|
|
|
UserDefaults.standard.firstLaunch = Date()
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-03 23:47:47 -07:00
|
|
|
UserDefaults.standard.preferredServerID = Bundle.main.object(forInfoDictionaryKey: Bundle.Info.serverID) as? String
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-19 22:20:10 -07:00
|
|
|
#if DEBUG || BETA
|
|
|
|
|
UserDefaults.standard.isDebugModeEnabled = true
|
|
|
|
|
#endif
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-06-04 18:29:50 -07:00
|
|
|
self.prepareForBackgroundFetch()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-05-09 12:45:30 -07:00
|
|
|
return true
|
|
|
|
|
}
|
2022-11-02 17:58:59 -07:00
|
|
|
|
2019-05-30 17:10:50 -07:00
|
|
|
func applicationDidEnterBackground(_ application: UIApplication)
|
2022-09-09 17:47:49 -05:00
|
|
|
{
|
|
|
|
|
// Make sure to update SceneDelegate.sceneDidEnterBackground() as well.
|
|
|
|
|
|
|
|
|
|
guard let oneMonthAgo = Calendar.current.date(byAdding: .month, value: -1, to: Date()) else { return }
|
|
|
|
|
|
|
|
|
|
let midnightOneMonthAgo = Calendar.current.startOfDay(for: oneMonthAgo)
|
|
|
|
|
DatabaseManager.shared.purgeLoggedErrors(before: midnightOneMonthAgo) { result in
|
|
|
|
|
switch result
|
|
|
|
|
{
|
|
|
|
|
case .success: break
|
|
|
|
|
case .failure(let error): print("[ALTLog] Failed to purge logged errors before \(midnightOneMonthAgo).", error)
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-11-02 17:58:59 -07:00
|
|
|
|
2022-09-09 17:47:49 -05:00
|
|
|
}
|
2019-05-09 12:45:30 -07:00
|
|
|
|
2019-05-30 17:10:50 -07:00
|
|
|
func applicationWillEnterForeground(_ application: UIApplication)
|
|
|
|
|
{
|
2019-06-04 18:29:50 -07:00
|
|
|
AppManager.shared.update()
|
2022-11-08 14:15:09 -05:00
|
|
|
start_em_proxy(bind_addr: Consts.Proxy.serverURL)
|
2019-05-09 12:45:30 -07:00
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-19 14:43:26 -07:00
|
|
|
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any]) -> Bool
|
|
|
|
|
{
|
|
|
|
|
return self.open(url)
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
func application(_ application: UIApplication, handlerFor intent: INIntent) -> Any?
|
|
|
|
|
{
|
2020-09-15 15:19:12 -07:00
|
|
|
guard #available(iOS 14, *) else { return nil }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-15 15:19:12 -07:00
|
|
|
switch intent
|
|
|
|
|
{
|
|
|
|
|
case is RefreshAllIntent: return self.intentHandler
|
|
|
|
|
case is ViewAppIntent: return self.viewAppIntentHandler
|
|
|
|
|
default: return nil
|
|
|
|
|
}
|
2020-09-08 12:29:44 -07:00
|
|
|
}
|
2019-06-04 18:29:50 -07:00
|
|
|
}
|
2019-05-09 12:45:30 -07:00
|
|
|
|
2020-07-13 17:59:52 -07:00
|
|
|
@available(iOS 13, *)
|
|
|
|
|
extension AppDelegate
|
|
|
|
|
{
|
|
|
|
|
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration
|
|
|
|
|
{
|
|
|
|
|
// Called when a new scene session is being created.
|
|
|
|
|
// Use this method to select a configuration to create the new scene with.
|
|
|
|
|
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-07-13 17:59:52 -07:00
|
|
|
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>)
|
|
|
|
|
{
|
|
|
|
|
// Called when the user discards a scene session.
|
|
|
|
|
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
|
|
|
|
|
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-24 12:23:54 -07:00
|
|
|
private extension AppDelegate
|
|
|
|
|
{
|
|
|
|
|
func setTintColor()
|
|
|
|
|
{
|
2019-09-19 11:29:10 -07:00
|
|
|
self.window?.tintColor = .altPrimary
|
2019-07-24 12:23:54 -07:00
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-19 14:43:26 -07:00
|
|
|
func open(_ url: URL) -> Bool
|
|
|
|
|
{
|
2019-09-27 17:39:36 -07:00
|
|
|
if url.isFileURL
|
|
|
|
|
{
|
|
|
|
|
guard url.pathExtension.lowercased() == "ipa" else { return false }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-27 17:39:36 -07:00
|
|
|
DispatchQueue.main.async {
|
|
|
|
|
NotificationCenter.default.post(name: AppDelegate.importAppDeepLinkNotification, object: nil, userInfo: [AppDelegate.importAppDeepLinkURLKey: url])
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-27 17:39:36 -07:00
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
guard let components = URLComponents(url: url, resolvingAgainstBaseURL: false) else { return false }
|
2020-05-15 15:11:17 -07:00
|
|
|
guard let host = components.host?.lowercased() else { return false }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
switch host
|
|
|
|
|
{
|
|
|
|
|
case "patreon":
|
|
|
|
|
DispatchQueue.main.async {
|
|
|
|
|
NotificationCenter.default.post(name: AppDelegate.openPatreonSettingsDeepLinkNotification, object: nil)
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
return true
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
case "appbackupresponse":
|
|
|
|
|
let result: Result<Void, Error>
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
switch url.path.lowercased()
|
|
|
|
|
{
|
|
|
|
|
case "/success": result = .success(())
|
|
|
|
|
case "/failure":
|
|
|
|
|
let queryItems = components.queryItems?.reduce(into: [String: String]()) { $0[$1.name] = $1.value } ?? [:]
|
|
|
|
|
guard
|
|
|
|
|
let errorDomain = queryItems["errorDomain"],
|
|
|
|
|
let errorCodeString = queryItems["errorCode"], let errorCode = Int(errorCodeString),
|
|
|
|
|
let errorDescription = queryItems["errorDescription"]
|
|
|
|
|
else { return false }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
let error = NSError(domain: errorDomain, code: errorCode, userInfo: [NSLocalizedDescriptionKey: errorDescription])
|
|
|
|
|
result = .failure(error)
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
default: return false
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
NotificationCenter.default.post(name: AppDelegate.appBackupDidFinish, object: nil, userInfo: [AppDelegate.appBackupResultKey: result])
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
return true
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-17 23:44:36 -07:00
|
|
|
case "install":
|
|
|
|
|
let queryItems = components.queryItems?.reduce(into: [String: String]()) { $0[$1.name.lowercased()] = $1.value } ?? [:]
|
|
|
|
|
guard let downloadURLString = queryItems["url"], let downloadURL = URL(string: downloadURLString) else { return false }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-17 23:44:36 -07:00
|
|
|
DispatchQueue.main.async {
|
|
|
|
|
NotificationCenter.default.post(name: AppDelegate.importAppDeepLinkNotification, object: nil, userInfo: [AppDelegate.importAppDeepLinkURLKey: downloadURL])
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-17 23:44:36 -07:00
|
|
|
return true
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-08-28 12:15:15 -07:00
|
|
|
case "source":
|
|
|
|
|
let queryItems = components.queryItems?.reduce(into: [String: String]()) { $0[$1.name.lowercased()] = $1.value } ?? [:]
|
|
|
|
|
guard let sourceURLString = queryItems["url"], let sourceURL = URL(string: sourceURLString) else { return false }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-08-28 12:15:15 -07:00
|
|
|
DispatchQueue.main.async {
|
|
|
|
|
NotificationCenter.default.post(name: AppDelegate.addSourceDeepLinkNotification, object: nil, userInfo: [AppDelegate.addSourceDeepLinkURLKey: sourceURL])
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-08-28 12:15:15 -07:00
|
|
|
return true
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-05-15 15:11:17 -07:00
|
|
|
default: return false
|
2019-09-27 17:39:36 -07:00
|
|
|
}
|
2019-09-19 14:43:26 -07:00
|
|
|
}
|
|
|
|
|
}
|
2019-07-24 12:23:54 -07:00
|
|
|
}
|
|
|
|
|
|
2019-06-04 18:29:50 -07:00
|
|
|
extension AppDelegate
|
|
|
|
|
{
|
|
|
|
|
private func prepareForBackgroundFetch()
|
|
|
|
|
{
|
2019-06-21 11:20:03 -07:00
|
|
|
// "Fetch" every hour, but then refresh only those that need to be refreshed (so we don't drain the battery).
|
2019-07-24 13:16:53 -07:00
|
|
|
UIApplication.shared.setMinimumBackgroundFetchInterval(1 * 60 * 60)
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-06-04 18:29:50 -07:00
|
|
|
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { (success, error) in
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-07-01 17:14:51 -07:00
|
|
|
#if DEBUG
|
|
|
|
|
UIApplication.shared.registerForRemoteNotifications()
|
|
|
|
|
#endif
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-07-01 17:14:51 -07:00
|
|
|
func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data)
|
|
|
|
|
{
|
|
|
|
|
let tokenParts = deviceToken.map { data -> String in
|
|
|
|
|
return String(format: "%02.2hhx", data)
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-07-01 17:14:51 -07:00
|
|
|
let token = tokenParts.joined()
|
|
|
|
|
print("Push Token:", token)
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-07-01 17:14:51 -07:00
|
|
|
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void)
|
|
|
|
|
{
|
|
|
|
|
self.application(application, performFetchWithCompletionHandler: completionHandler)
|
2019-05-09 12:45:30 -07:00
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-07-31 13:35:12 -07:00
|
|
|
func application(_ application: UIApplication, performFetchWithCompletionHandler backgroundFetchCompletionHandler: @escaping (UIBackgroundFetchResult) -> Void)
|
2019-06-04 18:29:50 -07:00
|
|
|
{
|
2020-09-08 12:29:44 -07:00
|
|
|
if UserDefaults.standard.isBackgroundRefreshEnabled && !UserDefaults.standard.presentedLaunchReminderNotification
|
2019-09-05 11:51:49 -07:00
|
|
|
{
|
2020-09-08 12:29:44 -07:00
|
|
|
let threeHours: TimeInterval = 3 * 60 * 60
|
|
|
|
|
let trigger = UNTimeIntervalNotificationTrigger(timeInterval: threeHours, repeats: false)
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
let content = UNMutableNotificationContent()
|
|
|
|
|
content.title = NSLocalizedString("App Refresh Tip", comment: "")
|
2022-11-05 23:50:07 -07:00
|
|
|
content.body = NSLocalizedString("The more you open SideStore, the more chances it's given to refresh apps in the background.", comment: "")
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
let request = UNNotificationRequest(identifier: "background-refresh-reminder5", content: content, trigger: trigger)
|
|
|
|
|
UNUserNotificationCenter.current().add(request)
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
UserDefaults.standard.presentedLaunchReminderNotification = true
|
2019-09-05 11:51:49 -07:00
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-06-21 11:33:12 -07:00
|
|
|
BackgroundTaskManager.shared.performExtendedBackgroundTask { (taskResult, taskCompletionHandler) in
|
2019-07-24 13:16:53 -07:00
|
|
|
if let error = taskResult.error
|
|
|
|
|
{
|
|
|
|
|
print("Error starting extended background task. Aborting.", error)
|
2019-07-31 13:35:12 -07:00
|
|
|
backgroundFetchCompletionHandler(.failed)
|
2020-09-08 12:29:44 -07:00
|
|
|
taskCompletionHandler()
|
2019-07-24 13:16:53 -07:00
|
|
|
return
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-07-31 13:35:12 -07:00
|
|
|
if !DatabaseManager.shared.isStarted
|
|
|
|
|
{
|
|
|
|
|
DatabaseManager.shared.start() { (error) in
|
2020-09-08 12:29:44 -07:00
|
|
|
if error != nil
|
2019-07-31 13:35:12 -07:00
|
|
|
{
|
|
|
|
|
backgroundFetchCompletionHandler(.failed)
|
2020-09-08 12:29:44 -07:00
|
|
|
taskCompletionHandler()
|
2019-07-31 13:35:12 -07:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2020-09-08 12:29:44 -07:00
|
|
|
self.performBackgroundFetch { (backgroundFetchResult) in
|
|
|
|
|
backgroundFetchCompletionHandler(backgroundFetchResult)
|
|
|
|
|
} refreshAppsCompletionHandler: { (refreshAppsResult) in
|
|
|
|
|
taskCompletionHandler()
|
|
|
|
|
}
|
2019-07-31 13:35:12 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2020-09-08 12:29:44 -07:00
|
|
|
self.performBackgroundFetch { (backgroundFetchResult) in
|
|
|
|
|
backgroundFetchCompletionHandler(backgroundFetchResult)
|
|
|
|
|
} refreshAppsCompletionHandler: { (refreshAppsResult) in
|
|
|
|
|
taskCompletionHandler()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
func performBackgroundFetch(backgroundFetchCompletionHandler: @escaping (UIBackgroundFetchResult) -> Void,
|
|
|
|
|
refreshAppsCompletionHandler: @escaping (Result<[String: Result<InstalledApp, Error>], Error>) -> Void)
|
|
|
|
|
{
|
|
|
|
|
self.fetchSources { (result) in
|
|
|
|
|
switch result
|
|
|
|
|
{
|
|
|
|
|
case .failure: backgroundFetchCompletionHandler(.failed)
|
|
|
|
|
case .success: backgroundFetchCompletionHandler(.newData)
|
2019-07-31 13:35:12 -07:00
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
if !UserDefaults.standard.isBackgroundRefreshEnabled
|
|
|
|
|
{
|
|
|
|
|
refreshAppsCompletionHandler(.success([:]))
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
guard UserDefaults.standard.isBackgroundRefreshEnabled else { return }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
DatabaseManager.shared.persistentContainer.performBackgroundTask { (context) in
|
|
|
|
|
let installedApps = InstalledApp.fetchAppsForBackgroundRefresh(in: context)
|
|
|
|
|
AppManager.shared.backgroundRefresh(installedApps, completionHandler: refreshAppsCompletionHandler)
|
2019-07-31 13:35:12 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private extension AppDelegate
|
|
|
|
|
{
|
2020-09-08 12:29:44 -07:00
|
|
|
func fetchSources(completionHandler: @escaping (Result<Set<Source>, Error>) -> Void)
|
2019-07-31 13:35:12 -07:00
|
|
|
{
|
2020-03-24 13:27:44 -07:00
|
|
|
AppManager.shared.fetchSources() { (result) in
|
2019-09-05 11:51:49 -07:00
|
|
|
do
|
|
|
|
|
{
|
2020-09-08 12:29:44 -07:00
|
|
|
let (sources, context) = try result.get()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-05 11:51:49 -07:00
|
|
|
let previousUpdatesFetchRequest = InstalledApp.updatesFetchRequest() as! NSFetchRequest<NSFetchRequestResult>
|
|
|
|
|
previousUpdatesFetchRequest.includesPendingChanges = false
|
|
|
|
|
previousUpdatesFetchRequest.resultType = .dictionaryResultType
|
|
|
|
|
previousUpdatesFetchRequest.propertiesToFetch = [#keyPath(InstalledApp.bundleIdentifier)]
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-06 14:41:30 -07:00
|
|
|
let previousNewsItemsFetchRequest = NewsItem.fetchRequest() as NSFetchRequest<NSFetchRequestResult>
|
|
|
|
|
previousNewsItemsFetchRequest.includesPendingChanges = false
|
|
|
|
|
previousNewsItemsFetchRequest.resultType = .dictionaryResultType
|
|
|
|
|
previousNewsItemsFetchRequest.propertiesToFetch = [#keyPath(NewsItem.identifier)]
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-05 11:51:49 -07:00
|
|
|
let previousUpdates = try context.fetch(previousUpdatesFetchRequest) as! [[String: String]]
|
2019-09-06 14:41:30 -07:00
|
|
|
let previousNewsItems = try context.fetch(previousNewsItemsFetchRequest) as! [[String: String]]
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-05 11:51:49 -07:00
|
|
|
try context.save()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-05 11:51:49 -07:00
|
|
|
let updatesFetchRequest = InstalledApp.updatesFetchRequest()
|
2019-09-06 14:41:30 -07:00
|
|
|
let newsItemsFetchRequest = NewsItem.fetchRequest() as NSFetchRequest<NewsItem>
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-05 11:51:49 -07:00
|
|
|
let updates = try context.fetch(updatesFetchRequest)
|
2019-09-06 14:41:30 -07:00
|
|
|
let newsItems = try context.fetch(newsItemsFetchRequest)
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-05 11:51:49 -07:00
|
|
|
for update in updates
|
2019-07-31 13:35:12 -07:00
|
|
|
{
|
2019-09-05 11:51:49 -07:00
|
|
|
guard !previousUpdates.contains(where: { $0[#keyPath(InstalledApp.bundleIdentifier)] == update.bundleIdentifier }) else { continue }
|
2022-09-12 17:05:55 -07:00
|
|
|
guard let storeApp = update.storeApp, let version = storeApp.version else { continue }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-05 11:51:49 -07:00
|
|
|
let content = UNMutableNotificationContent()
|
|
|
|
|
content.title = NSLocalizedString("New Update Available", comment: "")
|
2022-09-12 17:05:55 -07:00
|
|
|
content.body = String(format: NSLocalizedString("%@ %@ is now available for download.", comment: ""), update.name, version)
|
2019-09-21 22:30:01 -07:00
|
|
|
content.sound = .default
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-05 11:51:49 -07:00
|
|
|
let request = UNNotificationRequest(identifier: UUID().uuidString, content: content, trigger: nil)
|
|
|
|
|
UNUserNotificationCenter.current().add(request)
|
|
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-06 14:41:30 -07:00
|
|
|
for newsItem in newsItems
|
|
|
|
|
{
|
|
|
|
|
guard !previousNewsItems.contains(where: { $0[#keyPath(NewsItem.identifier)] == newsItem.identifier }) else { continue }
|
|
|
|
|
guard !newsItem.isSilent else { continue }
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-06 14:41:30 -07:00
|
|
|
let content = UNMutableNotificationContent()
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-06 14:41:30 -07:00
|
|
|
if let app = newsItem.storeApp
|
|
|
|
|
{
|
|
|
|
|
content.title = String(format: NSLocalizedString("%@ News", comment: ""), app.name)
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2022-11-05 23:50:07 -07:00
|
|
|
content.title = NSLocalizedString("SideStore News", comment: "")
|
2019-09-06 14:41:30 -07:00
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-06 14:41:30 -07:00
|
|
|
content.body = newsItem.title
|
2019-09-21 22:30:01 -07:00
|
|
|
content.sound = .default
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2019-09-06 14:41:30 -07:00
|
|
|
let request = UNNotificationRequest(identifier: UUID().uuidString, content: content, trigger: nil)
|
|
|
|
|
UNUserNotificationCenter.current().add(request)
|
|
|
|
|
}
|
2019-09-05 11:51:49 -07:00
|
|
|
|
|
|
|
|
DispatchQueue.main.async {
|
|
|
|
|
UIApplication.shared.applicationIconBadgeNumber = updates.count
|
2019-07-31 13:35:12 -07:00
|
|
|
}
|
2022-09-09 17:47:49 -05:00
|
|
|
|
2020-09-08 12:29:44 -07:00
|
|
|
completionHandler(.success(sources))
|
2019-07-31 13:35:12 -07:00
|
|
|
}
|
|
|
|
|
catch
|
|
|
|
|
{
|
2020-09-08 12:29:44 -07:00
|
|
|
print("Error fetching apps:", error)
|
|
|
|
|
completionHandler(.failure(error))
|
2019-07-24 13:16:53 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-05-09 12:45:30 -07:00
|
|
|
}
|