Skip to content

Commit

Permalink
Release/0.17.0 (#817)
Browse files Browse the repository at this point in the history
- Updated Debug PopUp UI
- Updated Logs Screen UI
- Updated project for Swift 5.7 and Xcode 14
- Fixed compiler and IDE warnings
- Updated Cartfile file
- Added new bug reporting scene
- Removed email composer scene
- Added new colors to the app theme
- Added wallet reset functionality. The app will now check DB and min. valid FFI version, and based on that, will show the pop-up to the user.
- Improved DB version validation
- Added Dropbox as a backup option
- Refactored backup functionality to be able to handle multiple backup options
- Updated UI of the settings and backup settings screens
- Fixed few minor issues
- Updated FFI version to 0.41.0
- Updated min valid DB version to 0.41.0
  • Loading branch information
TruszczynskiA authored Dec 5, 2022
1 parent 2d7fdd5 commit 2bf2884
Show file tree
Hide file tree
Showing 173 changed files with 6,710 additions and 4,014 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ fastlane/test_output
.DS_Store
fastlane/Appfile
MobileWallet/TariLib/libtari_wallet_ffi.a
MobileWallet/Constants.plist
.idea/
fastlane/.env*
env.json
382 changes: 279 additions & 103 deletions MobileWallet.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1120"
LastUpgradeVersion = "1400"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1140"
LastUpgradeVersion = "1400"
wasCreatedForAppExtension = "YES"
version = "1.3">
<BuildAction
Expand Down Expand Up @@ -47,7 +47,7 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3A1365B6272BE3AC00402389"
BlueprintIdentifier = "3A1365C3272BE66800402389"
BuildableName = "UnitTests.xctest"
BlueprintName = "UnitTests"
ReferencedContainer = "container:MobileWallet.xcodeproj">
Expand Down
8 changes: 2 additions & 6 deletions MobileWallet/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import UIKit
import CoreData
import AVFoundation
import GiphyUISDK
import GiphyCoreSDK

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate {
Expand All @@ -65,16 +64,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
Giphy.configure(apiKey: giphyApiKey)
}

AppConfigurator.configureLoggers()
AppConfigurator.configure()

return true
}

func applicationWillTerminate(_ application: UIApplication) {
if ICloudBackup.shared.inProgress || BackupScheduler.shared.isBackupScheduled {
UserDefaults.Key.backupOperationAborted.set(true)
ICloudBackup.shared.scheduleNotification()
}
BackupManager.shared.onTerminateAppAction()
}

// MARK: UISceneSession Lifecycle
Expand Down
136 changes: 11 additions & 125 deletions MobileWallet/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,128 +1,14 @@
{
"images":[
{
"idiom":"iphone",
"size":"20x20",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"20x20",
"scale":"3x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"29x29",
"scale":"1x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"29x29",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"29x29",
"scale":"3x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"40x40",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"40x40",
"scale":"3x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"60x60",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"60x60",
"scale":"3x",
"filename":"[email protected]"
},
{
"idiom":"iphone",
"size":"76x76",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"20x20",
"scale":"1x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"20x20",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"29x29",
"scale":"1x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"29x29",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"40x40",
"scale":"1x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"40x40",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"76x76",
"scale":"1x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"76x76",
"scale":"2x",
"filename":"[email protected]"
},
{
"idiom":"ipad",
"size":"83.5x83.5",
"scale":"2x",
"filename":"[email protected]"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"scale" : "1x",
"filename" : "[email protected]"
}
],
"info":{
"version":1,
"author":"makeappicon"
"images" : [
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF6",
"green" : "0xF6",
"red" : "0xF6"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.000",
"green" : "0.000",
"red" : "0.000"
"blue" : "0x00",
"green" : "0x00",
"red" : "0x00"
}
},
"idiom" : "universal"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.251",
"green" : "0.216",
"red" : "0.231"
"blue" : "0x40",
"green" : "0x37",
"red" : "0x3A"
}
},
"idiom" : "universal"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF6",
"green" : "0xF6",
"red" : "0xF6"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 6 additions & 0 deletions MobileWallet/Assets.xcassets/Color Palette/Text/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x99",
"green" : "0x85",
"red" : "0x7F"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x00",
"green" : "0x00",
"red" : "0x00"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [
{
"idiom" : "universal",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "255",
"alpha" : "1.000",
"blue" : "255",
"green" : "255"
"blue" : "1.000",
"green" : "1.000",
"red" : "1.000"
}
}
},
"idiom" : "universal"
}
]
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
5 changes: 2 additions & 3 deletions MobileWallet/Backup/BackupPrompts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,8 @@ private class BackupPrompts {

guard incomingTransactionsCount >= triggers.numberOfIncomingTxs &&
balance >= triggers.totalBalance.rawValue &&
ICloudBackup.shared.isValidBackupExists() == triggers.hasConnectediCloud &&
(ICloudBackup.shared.lastBackup?.isEncrypted ?? false) == triggers.backupIsEncrypted &&
!ICloudBackup.shared.iCloudBackupsIsOn
BackupManager.shared.isAnyServiceSynced == triggers.hasConnectediCloud &&
!BackupManager.shared.isAnyServiceOn
else {
continue
}
Expand Down
Loading

0 comments on commit 2bf2884

Please sign in to comment.