Skip to content

Commit 7931f11

Browse files
authored
Merge pull request #138 from ProteGO-Safe/release/4.13.0
Release/4.13.0
2 parents 458e70a + d502c31 commit 7931f11

31 files changed

+193
-254
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](http://keepachangelog.com/)
77
and this project adheres to [Semantic Versioning](http://semver.org/).
88

9+
## 4.13.0
10+
- Updated UI
11+
- Added handling deeplinks
12+
- Added handling redirect to sms
13+
914
## 4.12.0
1015
- Disabled DeviceCheck for lab test
1116
- Updated UI

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def pods_definition
1919
pod 'RealmSwift', '~> 5.0.0'
2020
pod 'SwiftProtobuf', '~> 1.0'
2121

22-
pod 'DBDebugToolkit', :configurations => ['Dev', 'DevDist', 'Stage', 'StageDebug', 'StageScreencast', 'LiveDebug', 'LiveAdhoc']
22+
pod 'DBDebugToolkit', :configurations => ['Stage', 'StageDebug', 'LiveDebug']
2323

2424
end
2525

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@ SPEC CHECKSUMS:
183183
TrustKit: 073855e3adecd317417bda4ac9e9ac54a2e3b9f2
184184
ZIPFoundation: b1f0de4eed33e74a676f76e12559ab6b75990197
185185

186-
PODFILE CHECKSUM: 779fe596c92aaa178911e4fb4980414eb2b9ab2e
186+
PODFILE CHECKSUM: a0ed6453db652247e6c6ceef9c7e8c6f658f3f5e
187187

188188
COCOAPODS: 1.10.1

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ For convenience, there's a `rebuild.sh` script which performs actions mentioned
7373
To launch it, type `sh rebuild.sh` in your console.
7474

7575
## ChangeLog
76+
**4.13.0**
77+
- Updated UI
78+
- Added handling deeplinks
79+
- Added handling redirect to sms
80+
7681
**4.12.0**
7782
- Disabled DeviceCheck for lab test
7883
- Updated UI

project.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
name: safesafe
22

33
configs:
4-
Dev: debug
5-
DevDist: release
64
StageDebug: debug
7-
StageScreencast: release
85
Stage: release
96
LiveDebug: debug
107
Live: release
11-
LiveAdhoc: release #That's a build with Live PWA URL but with debug console
8+
StageAdhoc: release
129

1310
schemes:
14-
safesafe Dev:
15-
build:
16-
targets:
17-
safesafe: all
18-
run:
19-
config: Dev
2011

2112
safesafe Stage:
2213
build:
@@ -42,7 +33,7 @@ targets:
4233
PushMutableContent:
4334
settings:
4435
CODE_SIGN_STYLE: Manual
45-
MARKETING_VERSION: "4.12.0"
36+
MARKETING_VERSION: "4.13.0"
4637
CURRENT_PROJECT_VERSION: 746
4738
TARGETED_DEVICE_FAMILY: 1,2
4839
type: app-extension
@@ -51,6 +42,7 @@ targets:
5142
configFiles:
5243
Stage: safesafe/Resources/Extensions/apns-stage-mutablecontent.xcconfig
5344
StageDebug: safesafe/Resources/Extensions/apns-stage-mutablecontent-dev.xcconfig
45+
StageAdhoc: safesafe/Resources/Extensions/apns-stage-adhoc-mutablecontent.xcconfig
5446
Live: safesafe/Resources/Extensions/apns-mutablecontent.xcconfig
5547
LiveDebug: safesafe/Resources/Extensions/apns-mutablecontent-dev.xcconfig
5648
sources:
@@ -77,32 +69,26 @@ targets:
7769
deploymentTarget: "12.1"
7870
settings:
7971
CODE_SIGN_STYLE: Manual
80-
MARKETING_VERSION: "4.12.0"
72+
MARKETING_VERSION: "4.13.0"
8173
CURRENT_PROJECT_VERSION: 746
8274
TARGETED_DEVICE_FAMILY: 1
8375
SWIFT_OBJC_BRIDGING_HEADER: $(PROJECT_DIR)/safesafe/App/safesafe-Bridging-Header.h
8476
configFiles:
85-
Dev: safesafe/Resources/Dev/dev.xcconfig
86-
DevDist: safesafe/Resources/Dev/devDist.xcconfig
87-
StageScreencast: safesafe/Resources/Stage/stageScreencast.xcconfig
8877
StageDebug: safesafe/Resources/Stage/stageDebug.xcconfig
8978
Stage: safesafe/Resources/Stage/stage.xcconfig
79+
StageAdhoc: safesafe/Resources/Stage/stageAdhoc.xcconfig
9080
LiveDebug: safesafe/Resources/Live/liveDebug.xcconfig
91-
LiveAdhoc: safesafe/Resources/Live/liveAdhoc.xcconfig
9281
Live: safesafe/Resources/Live/live.xcconfig
9382
sources:
9483
- path: safesafe
9584
name: "safesafe"
9685
excludes:
9786
- "Resources/translations"
9887
- "Resources/pwa"
99-
- "Resources/Dev/Config-dev.plist"
10088
- "Resources/Stage/Config-stage.plist"
10189
- "Resources/Live/Config-live.plist"
102-
- "Resources/Dev/GoogleService-Info-Dev.plist"
10390
- "Resources/Stage/GoogleService-Info-Stage.plist"
10491
- "Resources/Live/GoogleService-Info-Live.plist"
105-
- "Info-dev.plist"
10692
- "Info-stage.plist"
10793
- "Info-live.plist"
10894
- path: safesafe/Resources/pwa

safesafe/Common/Helpers/Deep linking/DeepLinkingWorker.swift

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protocol DeepLinkingWorkerType {
2828
func navigate(with url: URL)
2929
}
3030

31-
protocol DeepLinkingDelegate: class {
31+
protocol DeepLinkingDelegate: AnyObject {
3232
func runRoute(routeString: String)
3333
}
3434

@@ -67,7 +67,15 @@ final class DeepLinkingWorker: DeepLinkingWorkerType {
6767

6868
let paths = components.path.split(separator: "/")
6969

70-
guard let path = paths.first, paths.count == 1 else { return }
70+
let path: String
71+
72+
if paths.count == 1 {
73+
path = String(paths[0])
74+
} else if(paths.contains("uploadHistoricalData")) {
75+
path = "uploadHistoricalData"
76+
} else {
77+
return
78+
}
7179

7280
var routeData: [String: Any] = ["name": path]
7381

safesafe/DependencyContainer/DependencyContainer.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ final class DependencyContainer {
9090
lazy var notificationHistoryWorker: NotificationHistoryWorkerType = NotificationHistoryWorker(storage: realmLocalStorage)
9191
lazy var exposureHistoricalService: ExposureServiceHistoricalDataProtocol = ExposureServiceHistoricalData(storageService: realmLocalStorage)
9292
lazy var jailbreakService: JailbreakServiceProtocol = JailbreakService()
93-
lazy var jsBridge = JSBridge(with: serviceStatusManager)
93+
lazy var openerService: OpenerServiceType = OpenerService()
94+
lazy var jsBridge = JSBridge(serviceStatusManager: serviceStatusManager, openerService: openerService)
9495
lazy var realmLocalStorage = RealmLocalStorage()
9596

9697
lazy var remoteConfigSetting: RemoteConfigSettings = {

safesafe/Info-dev.plist

Lines changed: 0 additions & 122 deletions
This file was deleted.

safesafe/Info-live.plist

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,24 @@
1616
<string>6.0</string>
1717
<key>CFBundleName</key>
1818
<string>ProteGO Safe</string>
19+
<key>CFBundlePackageType</key>
20+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
21+
<key>CFBundleShortVersionString</key>
22+
<string>$(MARKETING_VERSION)</string>
23+
<key>CFBundleVersion</key>
24+
<string>$(CURRENT_PROJECT_VERSION)</string>
25+
<key>ENAPIVersion</key>
26+
<string>1</string>
27+
<key>ENDeveloperRegion</key>
28+
<string>PL</string>
29+
<key>FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED</key>
30+
<true/>
31+
<key>ITSAppUsesNonExemptEncryption</key>
32+
<false/>
33+
<key>LSApplicationCategoryType</key>
34+
<string></string>
35+
<key>LSRequiresIPhoneOS</key>
36+
<true/>
1937
<key>TSKConfiguration</key>
2038
<dict>
2139
<key>TSKPinnedDomains</key>
@@ -39,18 +57,6 @@
3957
</dict>
4058
</dict>
4159
</dict>
42-
<key>CFBundlePackageType</key>
43-
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
44-
<key>CFBundleShortVersionString</key>
45-
<string>$(MARKETING_VERSION)</string>
46-
<key>CFBundleVersion</key>
47-
<string>$(CURRENT_PROJECT_VERSION)</string>
48-
<key>ITSAppUsesNonExemptEncryption</key>
49-
<false/>
50-
<key>FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED</key>
51-
<true/>
52-
<key>LSRequiresIPhoneOS</key>
53-
<true/>
5460
<key>UIApplicationSceneManifest</key>
5561
<dict>
5662
<key>UIApplicationSupportsMultipleScenes</key>
@@ -75,8 +81,6 @@
7581
</array>
7682
<key>UILaunchStoryboardName</key>
7783
<string>LaunchScreen</string>
78-
<key>LSApplicationCategoryType</key>
79-
<string></string>
8084
<key>UIRequiredDeviceCapabilities</key>
8185
<array>
8286
<string>armv7</string>
@@ -97,9 +101,5 @@
97101
</array>
98102
<key>UIViewControllerBasedStatusBarAppearance</key>
99103
<true/>
100-
<key>ENDeveloperRegion</key>
101-
<string>PL</string>
102-
<key>ENAPIVersion</key>
103-
<string>1</string>
104104
</dict>
105105
</plist>

safesafe/Resources/Dev/dev.xcconfig

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)