Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit f5af4f6

Browse files
authored
Merge branch 'release/3.2.x' into fix/15011-False-Frame-Color-for-INVALID-and-REVOKED-Certificates-after-RampDown
2 parents 4814d63 + b342c88 commit f5af4f6

File tree

10 files changed

+44
-64
lines changed

10 files changed

+44
-64
lines changed

src/xcode/ENA/ENA.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -13806,14 +13806,14 @@
1380613806
CODE_SIGNING_REQUIRED = NO;
1380713807
CODE_SIGN_ENTITLEMENTS = "${PROJECT}/Resources/ENA.entitlements";
1380813808
CODE_SIGN_IDENTITY = "Apple Development";
13809-
CODE_SIGN_STYLE = Automatic;
13809+
CODE_SIGN_STYLE = Manual;
1381013810
CURRENT_PROJECT_VERSION = 14;
13811-
DEVELOPMENT_TEAM = 523TP53AQF;
13811+
DEVELOPMENT_TEAM = "";
1381213812
GCC_PREPROCESSOR_DEFINITIONS = "SQLITE_HAS_CODEC=1";
1381313813
INFOPLIST_FILE = ENA/Resources/Info.plist;
1381413814
IPHONE_APP_CODE_SIGN_IDENTITY = "iPhone Developer";
1381513815
IPHONE_APP_DEV_TEAM = 523TP53AQF;
13816-
IPHONE_APP_DIST_PROF_SPECIFIER = "523TP53AQF/Corona-Warn-App";
13816+
IPHONE_APP_DIST_PROF_SPECIFIER = "";
1381713817
LD_RUNPATH_SEARCH_PATHS = (
1381813818
"$(inherited)",
1381913819
"@executable_path/Frameworks",
@@ -13827,7 +13827,7 @@
1382713827
);
1382813828
PRODUCT_BUNDLE_IDENTIFIER = de.rki.coronawarnapp;
1382913829
PRODUCT_NAME = "$(TARGET_NAME)";
13830-
PROVISIONING_PROFILE_SPECIFIER = "";
13830+
PROVISIONING_PROFILE_SPECIFIER = $IPHONE_APP_DIST_PROF_SPECIFIER;
1383113831
SWIFT_OBJC_BRIDGING_HEADER = "ENA-Bridging-Header.h";
1383213832
SWIFT_VERSION = 5.0;
1383313833
TARGETED_DEVICE_FAMILY = 1;

src/xcode/ENA/ENA/Resources/Localization/bg.lproj/privacy-policy.html

-7
Original file line numberDiff line numberDiff line change
@@ -997,13 +997,6 @@ <h3>
997997
To do this, select the procedure “Positive self-test?” or “Positive test and no result in the
998998
app?”.
999999
</p>
1000-
<p>
1001-
Please note that in rare cases, if you use the warning feature, people you know personally who
1002-
also use the app and then receive a warning, may infer that the warning came from you. This may
1003-
be the case if a person whom you know had no contact with anyone except with you on the day for
1004-
which the possible exposure is displayed.
1005-
1006-
</p>
10071000
<h3>
10081001
f. Using the app for information purposes only
10091002

src/xcode/ENA/ENA/Resources/Localization/de.lproj/privacy-policy.html

+4-21
Original file line numberDiff line numberDiff line change
@@ -1027,13 +1027,6 @@ <h3>
10271027
Wählen Sie hierzu das Verfahren „Selbsttest positiv?“ bzw. „Test positiv und kein Ergebnis in
10281028
der App?“.
10291029
</p>
1030-
<p>
1031-
Bitte beachten Sie, dass Ihre Warnung in seltenen Fällen dazu führen kann, dass Personen in
1032-
Ihrem persönlichen Umfeld, die die App nutzen und gewarnt werden, unter Umständen darauf
1033-
schließen können, dass Sie die Warnung abgegeben haben. Dies kann der Fall sein, wenn eine
1034-
Person in Ihrem persönlichen Umfeld an dem Tag, an dem die Risiko-Begegnung angezeigt wird,
1035-
außer mit Ihnen keine anderen Kontakte hatte.
1036-
</p>
10371030
<h3>
10381031
f. Informatorische Nutzung der App
10391032
</h3>
@@ -1775,18 +1768,13 @@ <h2>
17751768
die Rechte aus den Artikeln 15, 16, 17, 18, 20 und 21 DSGVO,
17761769
</li>
17771770
<li>
1778-
das Recht, die <a
1779-
href="https://www.rki.de/DE/Content/Institut/OrgEinheiten/Datenschutz/Datenschutz_node.html">
1780-
behördliche Datenschutzbeauftragte des RKI</a> zu kontaktieren und Ihr Anliegen vorzubringen
1781-
(Art. 38 Abs. 4 DSGVO) und
1771+
das Recht, die <a href="https://www.rki.de/DE/Content/Institut/OrgEinheiten/Datenschutz/Datenschutz_node.html">behördliche Datenschutzbeauftragte des RKI</a> zu kontaktieren und Ihr Anliegen vorzubringen (Art. 38 Abs. 4 DSGVO) und
17821772
</li>
17831773
<li>
17841774
das Recht, sich bei einer Aufsichtsbehörde für den
1785-
Datenschutz zu beschweren. Dazu können Sie sich an die Aufsichtsbehörde an Ihrem Wohnort
1786-
oder an die für des RKI
1787-
zuständige Behörde wenden. Die zuständige Aufsichtsbehörde für das RKI
1788-
ist der Bundesbeauftragte für den Datenschutz und die
1789-
Informationsfreiheit, Graurheindorfer Str. 153, 53117 Bonn.
1775+
Datenschutz zu beschweren. Dazu können Sie sich beispielsweise an die Aufsichtsbehörde an Ihrem Wohnort
1776+
oder an die für das RKI zuständige Behörde wenden. Die zuständige Aufsichtsbehörde für das RKI
1777+
ist der Bundesbeauftragte für den Datenschutz und die Informationsfreiheit, Graurheindorfer Str. 153, 53117 Bonn.
17901778
</li>
17911779
</ul>
17921780
<p>
@@ -1803,11 +1791,6 @@ <h2>
18031791
Ihnen bereitgestellten Informationen zu Ihrer Identität in der Regel nicht
18041792
erfüllt werden können.
18051793
</p>
1806-
<p>
1807-
Wenn anlässlich der Aktualisierung eines digitalen COVID-Zertifikats der Hash-Wert der
1808-
elektronischen Signatur vorübergehend gespeichert wird, ermöglicht es dieser dem RKI nicht, die
1809-
Identität von Zertifikatsinhabern zu ermitteln (siehe Abschnitt 6.o.).
1810-
</p>
18111794
<p>
18121795
Wenn anlässlich der Aktualisierung eines digitalen COVID-Zertifikats die Hash-Werte der
18131796
elektronischen Signaturen vorübergehend gespeichert werden, ermöglichen es diese dem RKI nicht,

src/xcode/ENA/ENA/Resources/Localization/en.lproj/privacy-policy.html

+1-8
Original file line numberDiff line numberDiff line change
@@ -997,13 +997,6 @@ <h3>
997997
To do this, select the procedure “Positive self-test?” or “Positive test and no result in the
998998
app?”.
999999
</p>
1000-
<p>
1001-
Please note that in rare cases, if you use the warning feature, people you know personally who
1002-
also use the app and then receive a warning, may infer that the warning came from you. This may
1003-
be the case if a person whom you know had no contact with anyone except with you on the day for
1004-
which the possible exposure is displayed.
1005-
1006-
</p>
10071000
<h3>
10081001
f. Using the app for information purposes only
10091002

@@ -1750,7 +1743,7 @@ <h2>
17501743
</li>
17511744
<li>
17521745
The right to lodge a complaint with a data protection
1753-
supervisory authority. To do so, you can either contact your local
1746+
supervisory authority. To do so, you can for example contact your local
17541747
supervisory authority or the authority responsible for the RKI. The
17551748
supervisory authority responsible for the RKI is the Federal
17561749
Commissioner for Data Protection and Freedom of Information,

src/xcode/ENA/ENA/Resources/Localization/pl.lproj/privacy-policy.html

-7
Original file line numberDiff line numberDiff line change
@@ -997,13 +997,6 @@ <h3>
997997
To do this, select the procedure “Positive self-test?” or “Positive test and no result in the
998998
app?”.
999999
</p>
1000-
<p>
1001-
Please note that in rare cases, if you use the warning feature, people you know personally who
1002-
also use the app and then receive a warning, may infer that the warning came from you. This may
1003-
be the case if a person whom you know had no contact with anyone except with you on the day for
1004-
which the possible exposure is displayed.
1005-
1006-
</p>
10071000
<h3>
10081001
f. Using the app for information purposes only
10091002

src/xcode/ENA/ENA/Resources/Localization/ro.lproj/privacy-policy.html

-7
Original file line numberDiff line numberDiff line change
@@ -997,13 +997,6 @@ <h3>
997997
To do this, select the procedure “Positive self-test?” or “Positive test and no result in the
998998
app?”.
999999
</p>
1000-
<p>
1001-
Please note that in rare cases, if you use the warning feature, people you know personally who
1002-
also use the app and then receive a warning, may infer that the warning came from you. This may
1003-
be the case if a person whom you know had no contact with anyone except with you on the day for
1004-
which the possible exposure is displayed.
1005-
1006-
</p>
10071000
<h3>
10081001
f. Using the app for information purposes only
10091002

src/xcode/ENA/ENA/Resources/Localization/tr.lproj/privacy-policy.html

+4-8
Original file line numberDiff line numberDiff line change
@@ -733,8 +733,7 @@ <h3>
733733

734734
<p>
735735
Uygulamanın ana işlevlerinden biri, risk değerlendirmesidir. Bunun görevleri, Korona testi
736-
pozitif çıkan kişilerle olası maruz kalmaları (riskli karşılaşmalar) konusunda sizi sınır ötesi
737-
ortamda da uyarmak, kişisel enfeksiyon riskinizi hesaplamak ve size bu bağlamda davranış ve
736+
pozitif çıkan kişilerle olası maruz kalmaları (riskli karşılaşmalar) konusunda sizi uyarmak, kişisel enfeksiyon riskinizi hesaplamak ve size bu bağlamda davranış ve
738737
sağlık bilgileri temin etmektir.
739738
</p>
740739

@@ -773,7 +772,7 @@ <h3>
773772
</p>
774773
<p>
775774
Enfeksiyon riski, yalnızca Uygulama içinde hesaplanır ve COVID-19 bildirim sistemine veya diğer
776-
alıcılara (RKI, Almanya’daki diğer sağlık kurumları veya diğer ülkeler, Apple, Google ve diğer
775+
alıcılara (RKI, sağlık kurumları, Apple, Google ve diğer
777776
üçüncü taraflar da dahil olmak üzere) aktarılmaz.
778777
</p>
779778

@@ -1569,7 +1568,7 @@ <h3>
15691568
</h3>
15701569

15711570
<p>
1572-
Diğer insanları uyarmak için test sonucunuzun ( (daha doğrusu, son 14 güne dair rastgele kimlik
1571+
Diğer insanları uyarmak için test sonucunuzun (daha doğrusu, son 14 güne dair rastgele kimlik
15731572
numaralarınız, olay kimlikleriniz ve kaydedilen giriş ve çıkış denetim zamanlarınızın)
15741573
aktarılmasına ilişkin vermiş olduğunuz rıza beyanını, testi görüntüleyerek ve ardından
15751574
“Diğerlerini uyar” seçeneğini devre dışı bırakarak iptal edebilirsiniz. Ayrıca “Giriş
@@ -1676,10 +1675,7 @@ <h2>
16761675
>
16771676
RKI’nin veri koruma görevlisi
16781677
</a>
1679-
ile iletişim geçme ve isteklerinizi dile getirme hakkı (GVKT madde 38, fıkra 4 uyarınca) ve
1680-
</li>
1681-
<li>
1682-
veri koruma denetim makamına şikayette bulunma hakkı. Bunun için ya ikâmet yerinizdeki
1678+
ile iletişim geçme ve isteklerinizi dile getirme hakkı (GVKT madde 38, fıkra 4 uyarınca) ve veri koruma denetim makamına şikayette bulunma hakkı. Bunun için ya ikâmet yerinizdeki
16831679
yetkili denetim makamı ya da RKI için yetkili makam ile iletişime geçebilirsiniz. RKI için
16841680
yetkili denetim makamı: Bundesbeauftragte für den Datenschutz und die Informationsfreiheit
16851681
(Federal Veri Koruma ve Bilgi Özgürlüğü Komiseri), Graurheindorfer Str. 153, 53117 Bonn.

src/xcode/ENA/ENA/Source/Models/Exposure/MockExposureManager.swift

+14-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ final class MockExposureManager {
2929
preconditionFailure("Don't use this mock in production!")
3030
#endif
3131
}
32+
33+
// MARK: - Private
34+
35+
private var _exposureManagerState = ExposureManagerState(authorized: true, enabled: true, status: .active) {
36+
didSet {
37+
guard let appDelegate = UIApplication.shared.delegate as? ENStateHandlerUpdating else {
38+
return
39+
}
40+
appDelegate.updateEnState(_exposureManagerState.status == .active ? .enabled : .disabled)
41+
}
42+
}
3243
}
3344

3445
extension MockExposureManager: ExposureManager {
@@ -49,15 +60,17 @@ extension MockExposureManager: ExposureManager {
4960
}
5061

5162
func enable(completion: @escaping CompletionHandler) {
63+
_exposureManagerState = ExposureManagerState(authorized: true, enabled: true, status: .active)
5264
completion(exposureNotificationError)
5365
}
5466

5567
func disable(completion: @escaping CompletionHandler) {
68+
_exposureManagerState = ExposureManagerState(authorized: true, enabled: true, status: .disabled)
5669
completion(exposureNotificationError)
5770
}
5871

5972
var exposureManagerState: ExposureManagerState {
60-
ExposureManagerState(authorized: true, enabled: true, status: .active)
73+
_exposureManagerState
6174
}
6275

6376
func detectExposures(configuration _: ENExposureConfiguration, diagnosisKeyURLs _: [URL], completionHandler: @escaping ENDetectExposuresHandler) -> Progress {

src/xcode/ENA/ENA/Source/Scenes/Events/TraceLocations/Configuration/TraceLocationConfigurationViewController.swift

+16
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,22 @@ class TraceLocationConfigurationViewController: UIViewController, FooterViewHand
6060
permanentDefaultLengthFootnoteLabel.text = AppStrings.TraceLocations.Configuration.defaultCheckinLengthFootnote
6161

6262
}
63+
64+
override func viewWillAppear(_ animated: Bool) {
65+
// Fix an overlay bug for iPhone SE 1st
66+
DispatchQueue.main.async { [weak self] in
67+
self?.navigationController?.navigationBar.isTranslucent = false
68+
self?.navigationController?.navigationBar.backgroundColor = .enaColor(for: .background)
69+
}
70+
}
71+
72+
override func viewWillDisappear(_ animated: Bool) {
73+
// Fix an overlay bug for iPhone SE 1st
74+
DispatchQueue.main.async { [weak self] in
75+
self?.navigationController?.navigationBar.isTranslucent = true
76+
self?.navigationController?.navigationBar.backgroundColor = nil
77+
}
78+
}
6379

6480
// MARK: - Protocol FooterViewHandling
6581

src/xcode/ENA/ENA/Source/View Helpers/AppStrings.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ enum AppStrings {
6060
static let coronaWarnAppStoreLink = NSLocalizedString("TicketValidation_CoronaWarnAppLink", tableName: "Localizable.links", comment: "")
6161
static let stikoVaccinationRecommendations = NSLocalizedString("Stiko_VaccinationRecommendations", tableName: "Localizable.links", comment: "")
6262
static let warnWithoutTANFAQLink = NSLocalizedString("ExposureSubmission_WarnWithoutTAN_FAQLink", tableName: "Localizable.links", comment: "")
63-
static let pandemicRadarLink = NSLocalizedString("Home_LinkCard_PandemicRadar_URL", comment: "")
63+
static let pandemicRadarLink = NSLocalizedString("Home_LinkCard_PandemicRadar_URL", tableName: "Localizable.links", comment: "")
6464
}
6565

6666
enum QuickActions {

0 commit comments

Comments
 (0)