taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 4b070fea735dbdfcd4b23bb51c29f6897682db31
parent 4f2b20ca9bd0559742f20a418f5f03f72f521165
Author: Marc Stibane <marc@taler.net>
Date:   Sat, 25 Feb 2023 19:02:17 +0100

Entitlements: Data protection, NFC, Background modes

Diffstat:
MInfo.plist | 11++++++++++-
MTalerWallet.xcodeproj/project.pbxproj | 4++++
ATalerWalletT.entitlements | 12++++++++++++
3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/Info.plist b/Info.plist @@ -2,13 +2,17 @@ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> + <key>BGTaskSchedulerPermittedIdentifiers</key> + <array> + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> + </array> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleTypeRole</key> <string>Viewer</string> <key>CFBundleURLName</key> - <string>com.taler-systems.talerwallet</string> + <string>com.taler-systems.talerwallet15</string> <key>CFBundleURLSchemes</key> <array> <string>taler</string> @@ -27,5 +31,10 @@ <key>UISceneConfigurations</key> <dict/> </dict> + <key>UIBackgroundModes</key> + <array> + <string>fetch</string> + <string>processing</string> + </array> </dict> </plist> diff --git a/TalerWallet.xcodeproj/project.pbxproj b/TalerWallet.xcodeproj/project.pbxproj @@ -98,6 +98,7 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 4E3AE7EF29A7E8F40070BEC4 /* TalerWalletT.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = TalerWalletT.entitlements; sourceTree = "<group>"; }; 4EA1ABBD29A3833A008821EA /* PublicConstants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PublicConstants.swift; sourceTree = "<group>"; }; 4EB094D429896CD20043A8A1 /* TalerWalletTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TalerWalletTests.swift; sourceTree = "<group>"; }; 4EB094D529896CD20043A8A1 /* WalletBackendTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WalletBackendTests.swift; sourceTree = "<group>"; }; @@ -386,6 +387,7 @@ D14AFD1424D232B300C51073 = { isa = PBXGroup; children = ( + 4E3AE7EF29A7E8F40070BEC4 /* TalerWalletT.entitlements */, 4EB094EE298979840043A8A1 /* TalerWallet1 */, 4EB094E129896FED0043A8A1 /* Info.plist */, AB710490285995B6008B04F0 /* taler-swift */, @@ -774,6 +776,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = TalerWalletT.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; @@ -809,6 +812,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = TalerWalletT.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; diff --git a/TalerWalletT.entitlements b/TalerWalletT.entitlements @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>com.apple.developer.default-data-protection</key> + <string>NSFileProtectionComplete</string> + <key>com.apple.developer.nfc.readersession.formats</key> + <array> + <string>TAG</string> + </array> +</dict> +</plist>