Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* v1.0

* Add vibration.

* Revert team.

* Add l10n.
  • Loading branch information
yspreen authored May 16, 2021
1 parent b7bad2d commit 316247a
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 37 deletions.
26 changes: 20 additions & 6 deletions DGCAWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
CE4BD258264FF39D00689FD6 /* CertificateViewer.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CE4BD25A264FF39D00689FD6 /* CertificateViewer.storyboard */; };
CE56B5052639F48E00FB31B1 /* SwiftDGC in Frameworks */ = {isa = PBXBuildFile; productRef = CE56B5042639F48E00FB31B1 /* SwiftDGC */; };
CE56BC07264068110044FD3F /* GatewayConnection.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE56BC06264068110044FD3F /* GatewayConnection.swift */; };
CE6B330E2651A54800845B8E /* SwiftDGC in Frameworks */ = {isa = PBXBuildFile; productRef = CE6B330D2651A54800845B8E /* SwiftDGC */; };
CE6D4A44264835F100A5D33D /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = CE6D4A46264835F100A5D33D /* Localizable.strings */; };
CE8096D9263B07BB00A65AD6 /* UIColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE8096D8263B07BB00A65AD6 /* UIColor.swift */; };
CE81533A263FF7EC0030D777 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = CE815339263FF7EC0030D777 /* README.md */; };
Expand Down Expand Up @@ -95,13 +96,11 @@
CEA6D709261F8D2900715333 /* DGCAWalletUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DGCAWalletUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
CEA6D70D261F8D2900715333 /* DGCAWalletUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DGCAWalletUITests.swift; sourceTree = "<group>"; };
CEA6D70F261F8D2900715333 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
CEA6E560264058B50066DC8E /* UIViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIViewController.swift; sourceTree = "<group>"; };
CEC7FEDE264C5A41005561BA /* context.jsonc */ = {isa = PBXFileReference; lastKnownFileType = text; path = context.jsonc; sourceTree = SOURCE_ROOT; };
CED2725F26398683003D47A9 /* UIFont.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIFont.swift; sourceTree = "<group>"; };
CED949C9263B50CE00883558 /* List.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = List.swift; sourceTree = "<group>"; };
CEDABD3F263C5FF4007A9B97 /* CertTable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CertTable.swift; sourceTree = "<group>"; };
CEDABD48263C70EF007A9B97 /* CertPages.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CertPages.swift; sourceTree = "<group>"; };
CEDCA7972639E6E700FCB83E /* SwiftDGC */ = {isa = PBXFileReference; lastKnownFileType = folder; name = SwiftDGC; path = "../dgca-app-core-ios"; sourceTree = "<group>"; };
CEDCA79B2639E77800FCB83E /* Package.resolved */ = {isa = PBXFileReference; lastKnownFileType = text; name = Package.resolved; path = DGCAWallet.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved; sourceTree = SOURCE_ROOT; };
CEE9DA54263C7D4000A31532 /* CertCode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CertCode.swift; sourceTree = "<group>"; };
CEE9DA5C263C865200A31532 /* Brightness.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Brightness.swift; sourceTree = "<group>"; };
Expand All @@ -115,6 +114,7 @@
files = (
CE8912FB2634C6B900CB92AF /* Alamofire in Frameworks */,
CE56B5052639F48E00FB31B1 /* SwiftDGC in Frameworks */,
CE6B330E2651A54800845B8E /* SwiftDGC in Frameworks */,
CE1F155C2639F9E700736D48 /* SwiftyJSON in Frameworks */,
CE13CF00262DCC180070C80E /* FloatingPanel in Frameworks */,
);
Expand Down Expand Up @@ -235,7 +235,6 @@
CEA6D6DF261F8D2700715333 = {
isa = PBXGroup;
children = (
CEDCA7972639E6E700FCB83E /* SwiftDGC */,
CEA6D6EA261F8D2700715333 /* DGCAWallet */,
CEA6D701261F8D2900715333 /* DGCAWalletTests */,
CEA6D70C261F8D2900715333 /* DGCAWalletUITests */,
Expand Down Expand Up @@ -310,6 +309,7 @@
CE8912FA2634C6B900CB92AF /* Alamofire */,
CE56B5042639F48E00FB31B1 /* SwiftDGC */,
CE1F155B2639F9E700736D48 /* SwiftyJSON */,
CE6B330D2651A54800845B8E /* SwiftDGC */,
);
productName = DGCAWallet;
productReference = CEA6D6E8261F8D2700715333 /* DGCAWallet.app */;
Expand Down Expand Up @@ -386,6 +386,7 @@
CE13CEFE262DCC180070C80E /* XCRemoteSwiftPackageReference "FloatingPanel" */,
CE8912F92634C6B900CB92AF /* XCRemoteSwiftPackageReference "Alamofire" */,
CE1F155A2639F9E700736D48 /* XCRemoteSwiftPackageReference "SwiftyJSON" */,
CE6B330C2651A54800845B8E /* XCRemoteSwiftPackageReference "dgca-app-core-ios" */,
);
productRefGroup = CEA6D6E9261F8D2700715333 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -678,14 +679,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 9TD26M5RG8;
DEVELOPMENT_TEAM = KH99XNF745;
INFOPLIST_FILE = DGCAWallet/SupportingFiles/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.4.0;
MARKETING_VERSION = 1.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.t-systems.DGCAWallet.dev";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -706,7 +707,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.4.0;
MARKETING_VERSION = 1.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.t-systems.DGCAWallet.dev";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -856,6 +857,14 @@
minimumVersion = 5.0.1;
};
};
CE6B330C2651A54800845B8E /* XCRemoteSwiftPackageReference "dgca-app-core-ios" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/eu-digital-green-certificates/dgca-app-core-ios";
requirement = {
branch = main;
kind = branch;
};
};
CE8912F92634C6B900CB92AF /* XCRemoteSwiftPackageReference "Alamofire" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Alamofire/Alamofire";
Expand All @@ -881,6 +890,11 @@
isa = XCSwiftPackageProductDependency;
productName = SwiftDGC;
};
CE6B330D2651A54800845B8E /* SwiftDGC */ = {
isa = XCSwiftPackageProductDependency;
package = CE6B330C2651A54800845B8E /* XCRemoteSwiftPackageReference "dgca-app-core-ios" */;
productName = SwiftDGC;
};
CE8912FA2634C6B900CB92AF /* Alamofire */ = {
isa = XCSwiftPackageProductDependency;
package = CE8912F92634C6B900CB92AF /* XCRemoteSwiftPackageReference "Alamofire" */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
"version": "5.4.3"
}
},
{
"package": "SwiftDGC",
"repositoryURL": "https://github.com/eu-digital-green-certificates/dgca-app-core-ios",
"state": {
"branch": "main",
"revision": "0792980147e02bf6db0738af157bb2a8d31ea3cf",
"version": null
}
},
{
"package": "FloatingPanel",
"repositoryURL": "https://github.com/SCENEE/FloatingPanel",
Expand Down
1 change: 1 addition & 0 deletions DGCAWallet/ViewControllers/List.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ class ListVC: UIViewController {
presentingViewer = viewer

present(fpc, animated: true, completion: nil)
UIImpactFeedbackGenerator(style: .medium).impactOccurred()
}

override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
Expand Down
18 changes: 14 additions & 4 deletions Localization/DGCAWallet/en.xcloc/Localized Contents/en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@
<tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="12.5" build-num="12E262"/>
</header>
<body>
<trans-unit id="OQB-kV-Lgy.normalTitle" xml:space="preserve">
<source>Privacy Information</source>
<target>Privacy Information</target>
<note>Class = "UIButton"; normalTitle = "Privacy Information"; ObjectID = "OQB-kV-Lgy";</note>
<trans-unit id="5Lw-xZ-YJu.text" xml:space="preserve">
<source>GitHub Page</source>
<target>GitHub Page</target>
<note>Class = "UILabel"; text = "GitHub Page"; ObjectID = "5Lw-xZ-YJu";</note>
</trans-unit>
<trans-unit id="Rdn-TW-8aO.text" xml:space="preserve">
<source>app-version</source>
Expand All @@ -116,6 +116,11 @@
<target>Links</target>
<note>Class = "UITableViewSection"; headerTitle = "Links"; ObjectID = "fbO-s8-6gg";</note>
</trans-unit>
<trans-unit id="hky-ZS-URO.text" xml:space="preserve">
<source>Privacy Information</source>
<target>Privacy Information</target>
<note>Class = "UILabel"; text = "Privacy Information"; ObjectID = "hky-ZS-URO";</note>
</trans-unit>
<trans-unit id="nbb-SQ-pYn.title" xml:space="preserve">
<source>Cancel</source>
<target>Cancel</target>
Expand All @@ -126,6 +131,11 @@
<target>Settings</target>
<note>Class = "UINavigationItem"; title = "Settings"; ObjectID = "nqQ-GZ-nBR";</note>
</trans-unit>
<trans-unit id="phM-g4-Hab.text" xml:space="preserve">
<source>EU Digital Green Certificate</source>
<target>EU Digital Green Certificate</target>
<note>Class = "UILabel"; text = "EU Digital Green Certificate"; ObjectID = "phM-g4-Hab";</note>
</trans-unit>
</body>
</file>
<file original="DGCAWallet/SupportingFiles/en.lproj/InfoPlist.strings" source-language="en" target-language="en" datatype="plaintext">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<rect key="frame" x="0.0" y="44" width="375" height="734"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="a9u-Ia-KEX" customClass="RoundedButton" customModule="DGCAWallet" customModuleProvider="target">
<rect key="frame" x="147.66666666666666" y="643" width="80" height="39"/>
<color key="backgroundColor" name="yellow"/>
<rect key="frame" x="147.66666666666666" y="631" width="80" height="51"/>
<color key="backgroundColor" name="grey10"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="80" id="8Pr-DR-H2m"/>
</constraints>
Expand All @@ -51,13 +51,13 @@
<nil key="highlightedColor"/>
</label>
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dsC-7e-Skh">
<rect key="frame" x="0.0" y="124.33333333333331" width="375" height="514.66666666666674"/>
<rect key="frame" x="0.0" y="124.33333333333334" width="375" height="502.66666666666663"/>
<connections>
<segue destination="PGK-qk-zXH" kind="embed" id="qHl-nM-9kf"/>
</connections>
</containerView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YeB-JS-Q1Q">
<rect key="frame" x="16" y="32" width="58" height="34"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YeB-JS-Q1Q">
<rect key="frame" x="16" y="32" width="343" height="34"/>
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
<state key="normal" title="Cancel">
<color key="titleColor" name="blue"/>
Expand All @@ -75,6 +75,7 @@
</imageView>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="YeB-JS-Q1Q" secondAttribute="trailing" constant="16" id="4a9-1n-6Ht"/>
<constraint firstItem="zGf-U8-pn3" firstAttribute="top" secondItem="a9u-Ia-KEX" secondAttribute="bottom" constant="16" id="5qd-XO-Lib"/>
<constraint firstItem="DVW-2y-e4I" firstAttribute="top" secondItem="yEe-AH-rsr" secondAttribute="top" priority="999" constant="70" id="695-CS-7M3"/>
<constraint firstItem="DVW-2y-e4I" firstAttribute="top" secondItem="yEe-AH-rsr" secondAttribute="top" priority="998" constant="32" id="6Py-fR-Th3"/>
Expand Down Expand Up @@ -250,7 +251,7 @@
</scenes>
<designables>
<designable name="a9u-Ia-KEX">
<size key="intrinsicContentSize" width="54" height="39"/>
<size key="intrinsicContentSize" width="78" height="51"/>
</designable>
</designables>
<resources>
Expand All @@ -265,9 +266,6 @@
<namedColor name="grey10">
<color red="0.92199999094009399" green="0.92199999094009399" blue="0.92199999094009399" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="yellow">
<color red="1" green="0.83899998664855957" blue="0.090000003576278687" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
Expand Down
Loading

0 comments on commit 316247a

Please sign in to comment.