diff --git a/AndroidTools/AndroidTools.xcodeproj/project.pbxproj b/AndroidTools/AndroidTools.xcodeproj/project.pbxproj index 8c3a1f6..6363576 100644 --- a/AndroidTools/AndroidTools.xcodeproj/project.pbxproj +++ b/AndroidTools/AndroidTools.xcodeproj/project.pbxproj @@ -77,7 +77,6 @@ 81E9822D2BDD06600004B154 /* InstallApplicationUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81E9822C2BDD06600004B154 /* InstallApplicationUseCase.swift */; }; 81E9822F2BDD09E70004B154 /* GetDeviceInformationUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81E9822E2BDD09E70004B154 /* GetDeviceInformationUseCase.swift */; }; 81E982312BDD0F190004B154 /* RebootDeviceUseCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81E982302BDD0F190004B154 /* RebootDeviceUseCase.swift */; }; - 81E982342BDD2FD10004B154 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = 81E982332BDD2FD10004B154 /* Sparkle */; }; 81E982372BDD3A740004B154 /* CheckForUpdateViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81E982362BDD3A740004B154 /* CheckForUpdateViewModel.swift */; }; 81E982392BDD3B480004B154 /* CheckForUpdateView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81E982382BDD3B480004B154 /* CheckForUpdateView.swift */; }; 81F41C5B2BEA4DF4005F1730 /* TableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81F41C5A2BEA4DF4005F1730 /* TableView.swift */; }; @@ -175,7 +174,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 81E982342BDD2FD10004B154 /* Sparkle in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -469,7 +467,6 @@ ); name = AndroidTools; packageProductDependencies = ( - 81E982332BDD2FD10004B154 /* Sparkle */, ); productName = AndroidTools; productReference = 8178547A2BC59F6300B5B2EE /* AndroidTools.app */; @@ -500,7 +497,6 @@ ); mainGroup = 817854712BC59F6300B5B2EE; packageReferences = ( - 81E982322BDD2FD10004B154 /* XCRemoteSwiftPackageReference "Sparkle" */, ); productRefGroup = 8178547B2BC59F6300B5B2EE /* Products */; projectDirPath = ""; @@ -733,7 +729,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIconDark; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; - CODE_SIGN_ENTITLEMENTS = ""; + CODE_SIGN_ENTITLEMENTS = AndroidTools/AndroidTools.entitlements; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; @@ -765,7 +761,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIconDark; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; - CODE_SIGN_ENTITLEMENTS = ""; + CODE_SIGN_ENTITLEMENTS = AndroidTools/AndroidTools.entitlements; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; @@ -813,25 +809,6 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ - -/* Begin XCRemoteSwiftPackageReference section */ - 81E982322BDD2FD10004B154 /* XCRemoteSwiftPackageReference "Sparkle" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/sparkle-project/Sparkle"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 2.6.0; - }; - }; -/* End XCRemoteSwiftPackageReference section */ - -/* Begin XCSwiftPackageProductDependency section */ - 81E982332BDD2FD10004B154 /* Sparkle */ = { - isa = XCSwiftPackageProductDependency; - package = 81E982322BDD2FD10004B154 /* XCRemoteSwiftPackageReference "Sparkle" */; - productName = Sparkle; - }; -/* End XCSwiftPackageProductDependency section */ }; rootObject = 817854722BC59F6300B5B2EE /* Project object */; } diff --git a/AndroidTools/AndroidTools.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/AndroidTools/AndroidTools.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index d8b69dd..0000000 --- a/AndroidTools/AndroidTools.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pins" : [ - { - "identity" : "sparkle", - "kind" : "remoteSourceControl", - "location" : "https://github.com/sparkle-project/Sparkle", - "state" : { - "revision" : "0a4caaf7a81eea2cece651ef4b17331fa0634dff", - "version" : "2.6.0" - } - } - ], - "version" : 2 -} diff --git a/AndroidTools/AndroidTools/AndroidTools.entitlements b/AndroidTools/AndroidTools/AndroidTools.entitlements index 53b24dc..ae896e1 100644 --- a/AndroidTools/AndroidTools/AndroidTools.entitlements +++ b/AndroidTools/AndroidTools/AndroidTools.entitlements @@ -2,10 +2,18 @@ - com.apple.security.temporary-exception.mach-lookup.global-name - - $(PRODUCT_BUNDLE_IDENTIFIER)-spks - $(PRODUCT_BUNDLE_IDENTIFIER)-spki - + com.apple.security.app-sandbox + + com.apple.security.device.usb + + com.apple.security.network.client + + com.apple.security.network.server + + com.apple.security.temporary-exception.mach-lookup.global-name + + $(PRODUCT_BUNDLE_IDENTIFIER)-spks + $(PRODUCT_BUNDLE_IDENTIFIER)-spki + diff --git a/AndroidTools/AndroidTools/AndroidToolsApp.swift b/AndroidTools/AndroidTools/AndroidToolsApp.swift index 0a74b24..b79c8fd 100644 --- a/AndroidTools/AndroidTools/AndroidToolsApp.swift +++ b/AndroidTools/AndroidTools/AndroidToolsApp.swift @@ -6,17 +6,11 @@ // import SwiftUI -import Sparkle @main struct AndroidToolsApp: App { @AppStorage("mode") private var mode = Constants.appearanceModes.first! - private let updaterController : SPUStandardUpdaterController - - init(){ - updaterController = SPUStandardUpdaterController(startingUpdater: true, updaterDelegate: nil, userDriverDelegate: nil) - } var body: some Scene { @@ -27,7 +21,7 @@ struct AndroidToolsApp: App { } .commands { CommandGroup(after: .appInfo) { - CheckForUpdateView(updater: updaterController.updater) + // CheckForUpdateView(updater: updaterController.updater) } } diff --git a/AndroidTools/AndroidTools/Presentation/Settings/ApplicationSettingsViewModel.swift b/AndroidTools/AndroidTools/Presentation/Settings/ApplicationSettingsViewModel.swift index 18d268e..131352c 100644 --- a/AndroidTools/AndroidTools/Presentation/Settings/ApplicationSettingsViewModel.swift +++ b/AndroidTools/AndroidTools/Presentation/Settings/ApplicationSettingsViewModel.swift @@ -6,11 +6,9 @@ // import Foundation -import Sparkle @Observable class ApplicationSettingsViewModel : ObservableObject { - let updaterController : SPUStandardUpdaterController private let getAdbVersionUseCase : GetAdbVersionUseCase = GetAdbVersionUseCase() private let getAdbPathUseCase : GetAdbPathUseCase = GetAdbPathUseCase() @@ -21,12 +19,10 @@ class ApplicationSettingsViewModel : ObservableObject { var toast : Toast? = nil - init(){ - updaterController = SPUStandardUpdaterController(startingUpdater: true, updaterDelegate: nil, userDriverDelegate: nil) - } + func checkForUpdates(){ - updaterController.updater.checkForUpdates() + // updaterController.updater.checkForUpdates() } func getAdbVersion(){ diff --git a/AndroidTools/AndroidTools/Presentation/Settings/Updater/CheckForUpdateView.swift b/AndroidTools/AndroidTools/Presentation/Settings/Updater/CheckForUpdateView.swift index 44ee8b2..51e1db8 100644 --- a/AndroidTools/AndroidTools/Presentation/Settings/Updater/CheckForUpdateView.swift +++ b/AndroidTools/AndroidTools/Presentation/Settings/Updater/CheckForUpdateView.swift @@ -6,21 +6,13 @@ // import SwiftUI -import Sparkle struct CheckForUpdateView: View { @ObservedObject private var checkForUpdateViewModel : CheckForUpdateViewModel - private let updater : SPUUpdater - - init(updater : SPUUpdater){ - self.updater = updater - self.checkForUpdateViewModel = CheckForUpdateViewModel(updater: updater) - } var body: some View { Button("Check for updates...") { - updater.checkForUpdates() + //updater.checkForUpdates() } - .disabled(!checkForUpdateViewModel.canCheckForUpdate) } } diff --git a/AndroidTools/AndroidTools/Presentation/Settings/Updater/CheckForUpdateViewModel.swift b/AndroidTools/AndroidTools/Presentation/Settings/Updater/CheckForUpdateViewModel.swift index 4bb5dba..61ee5f9 100644 --- a/AndroidTools/AndroidTools/Presentation/Settings/Updater/CheckForUpdateViewModel.swift +++ b/AndroidTools/AndroidTools/Presentation/Settings/Updater/CheckForUpdateViewModel.swift @@ -7,13 +7,8 @@ import Foundation import SwiftUI -import Sparkle final class CheckForUpdateViewModel : ObservableObject { @Published var canCheckForUpdate = false - init(updater : SPUUpdater){ - updater.publisher(for: \.canCheckForUpdates) - .assign(to: &$canCheckForUpdate) - } } diff --git a/Documentation/privacy-policy.md b/Documentation/privacy-policy.md new file mode 100644 index 0000000..b667f43 --- /dev/null +++ b/Documentation/privacy-policy.md @@ -0,0 +1,32 @@ +# Privacy Policy for Android Tools Application + +## Introduction +Welcome to the Android Tool Application ("the Application"). We take your privacy very seriously. This privacy policy explains how we handle your personal information when you use our Application. + +## Data Collection and Use +### No Collection of Personal Data +We do not collect any personally identifiable or confidential data from your use of the Application. + +### No Advertisements +Our Application does not contain any advertisements, so no data is collected for advertising purposes. + +## Access to User Data +### No Access to Personal Data +The Application does not access any personal or confidential user data. + +## Data Security +### Secure Procedures +Although we do not collect personal or confidential data, we are committed to following secure practices to ensure the protection of any information you may provide to us through other means (e.g., direct contact). + +## Data Retention and Deletion +### No Data Retention +Since we do not collect any personal or confidential data, there is no applicable data retention or deletion policy for the Application. + +## Contact +For any questions or requests regarding this privacy policy, you can contact us at the following address: `thomas.bernard@ikmail.com` + +## Changes to the Privacy Policy +This privacy policy is effective as of [publication date]. Any changes to this policy will be posted on this page. We encourage you to check this page regularly to stay informed about our privacy practices. + +## Conclusion +Your privacy is important to us. Even though our Application does not collect any personal data, we are committed to maintaining the highest standards of privacy and security. Thank you for using our Tarot Scorekeeping Application. \ No newline at end of file