Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀[Release v3.13.5] Merge into Main #246

Merged
merged 97 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
6aec72c
Develop (#111)
kcw-grunt Aug 22, 2020
3c3f8be
[Merge to Master] Develop with tech debt improvements (#123)
kcw-grunt Oct 14, 2020
f663d7f
Release/v2.8.0 (#131)
kcw-grunt Oct 30, 2020
06a4151
[Release v2.8.2] Merge into Master (#153)
kcw-grunt Nov 21, 2020
07ea23e
[Release v2.8.3] Merge into Master (#167)
kcw-grunt Dec 5, 2020
aa8723f
[Merge v2.9.0] into Master (#170)
kcw-grunt Dec 21, 2020
47fd0d2
[Merge v3.0.0] into Master (#183)
kcw-grunt Jan 10, 2021
55d047c
[HOTFIX] Hide Card Tab (#191)
kcw-grunt Jan 11, 2021
6f50864
[Merge into Master] v3.1.1 (#194)
kcw-grunt Jan 15, 2021
2f8cb53
[Release v3.2.0] Merge into Main (#216)
kcw-grunt Jan 27, 2021
d529bf1
[Release v3.3.0] Merge into Main (#236)
kcw-grunt Mar 11, 2021
1b89f9b
🚀[Release v3.4.0] Merge into Main (#263)
kcw-grunt Apr 18, 2021
4745f4d
Create GitHub Action: push-to-release-email (#56)
kcw-grunt Jun 6, 2021
cdc1afb
🚀[Release v3.5.0] Merge into Main (#55)
kcw-grunt Jun 8, 2021
93899ca
🔥🛠[Hotfix] Buy tab crashes (#64)
kcw-grunt Jun 12, 2021
142e645
🚀[Release v3.6.0] Merge into Main (#91)
kcw-grunt Sep 25, 2021
528d070
🦺[Tech Debt] Update to match the v3.6.0 Binary (#93)
kcw-grunt Sep 25, 2021
ae965bc
Revert "🦺[Tech Debt] Update to match the v3.6.0 Binary (#93)"
kcw-grunt Sep 25, 2021
f09a0bc
🦺[Tech Debt] Update to match the v3.6.0 Binary part deux (#94)
kcw-grunt Sep 25, 2021
d99761e
🚀[Release v3.6.1] Merge into Main (#98)
kcw-grunt Oct 11, 2021
89c5f26
🚀[Release v3.7.1] Merge into Main (#112)
kcw-grunt Apr 10, 2022
092b11a
Add files via upload
kcw-grunt Apr 15, 2022
e0690fa
Update README.md
kcw-grunt Apr 15, 2022
281706c
🚀[Release v3.9.0] Merge into Main (#123)
kcw-grunt Sep 18, 2022
eb702f6
Release/v3.9.0 (#128)
kcw-grunt Oct 16, 2022
4af43a9
🚀[Release v3.10.0] Merge into Main (#136)
kcw-grunt Oct 28, 2022
40eaf59
Create FUNDING.yml
kcw-grunt Nov 20, 2022
2c83c2f
🚀[Release v3.10.1] Merge into Main (#160)
kcw-grunt Nov 27, 2022
3dc7f07
🚀[Release v3.11.0] Merge into Main (#187)
kcw-grunt Jan 26, 2023
b7c14de
🦺[Techdebt] fix firebase (#115)
kcw-grunt Oct 28, 2022
3077440
🥳[Techdebt] relayout address view controller (#120)
kcw-grunt Aug 29, 2022
d64752c
buiid bump (#125)
kcw-grunt Oct 28, 2022
12da9b4
reemvoed conflict tags
kcw-grunt Nov 6, 2022
132df10
🚀[Release v3.10.1] Merge into Develop (#162)
kcw-grunt Nov 28, 2022
5d8d392
Add SwiftFormat to the codebase (#159)
Iferencak Dec 5, 2022
8146509
🤬[Techdebt] #167 add custom user agent++ (#168)
kcw-grunt Dec 14, 2022
6a0dba8
bump to match current prod build number
kcw-grunt Jan 26, 2023
ab463bd
Removed app install date variable (#200)
Iferencak Mar 12, 2023
655851a
nit…format (#203)
kcw-grunt Mar 16, 2023
030c20b
Update the loafwallet-core submodule
kcw-grunt Apr 9, 2023
a267777
#207 resolve core update issue missing labels (#211)
kcw-grunt Nov 4, 2023
ff2f99c
🚀[Release v3.11.1] Merge into Develop (#214)
kcw-grunt Nov 24, 2023
07160c0
Removed all ArticleIds (#216)
kcw-grunt Dec 1, 2023
32b86fe
RENAMED the project to Litewallet
kcw-grunt Nov 24, 2023
a22a440
Updated the fee words for all languages
kcw-grunt Nov 27, 2023
e874156
Added new EnterPhraseView HostingController
kcw-grunt Nov 28, 2023
3d4a524
WIP: Pusher waiting for https://github.com/pusher/push-notifications-…
kcw-grunt Dec 1, 2023
d0b8d9f
Integrating the ops fee
kcw-grunt Dec 1, 2023
9b0d988
Successfully send to 2 outputs
kcw-grunt Dec 1, 2023
9e925a9
Integrated Push Notifications
kcw-grunt Dec 3, 2023
500007f
Refactored legacy code
kcw-grunt Dec 4, 2023
48934a5
Refactored the Launch
kcw-grunt Dec 4, 2023
4dcc1cf
WIP: Adding more create views
kcw-grunt Dec 5, 2023
40f0f2d
updated the gitignore
kcw-grunt Jan 4, 2024
4f68a3e
Began added CreateViews
kcw-grunt Dec 6, 2023
83cb83b
Updated the localization files
kcw-grunt Dec 7, 2023
168e130
Added pusher and paths for devices
kcw-grunt Dec 8, 2023
12b324e
Finished layout of Acceptance for notifications
kcw-grunt Dec 31, 2023
e429062
Fixes a memory leak solved by @hectorchu
kcw-grunt Jan 7, 2024
f7ff45f
updated loafwallet-core version
kcw-grunt Jan 7, 2024
cf40516
Need to work in the Showing and hiding the announce view
kcw-grunt Jan 12, 2024
daa7153
added LWAnalytics notifications
kcw-grunt Jan 14, 2024
9046873
Merge branch 'develop' into exploration/update-create-restore-wallet
kcw-grunt Jan 14, 2024
e1b77d9
added amount field
kcw-grunt Jan 14, 2024
a1b5cf7
prelayout of the amount in the send SwiftUI send
kcw-grunt Jan 14, 2024
e785122
added memo and Amount
kcw-grunt Jan 15, 2024
1d4cb3d
added hack to make it work
kcw-grunt Jan 15, 2024
c0de3e9
cleanup of unused code
kcw-grunt Jan 15, 2024
e8f5c92
cleanup of other efforts to debug
kcw-grunt Jan 15, 2024
f6dc44e
readded the didStartEditing
kcw-grunt Jan 15, 2024
6cc906a
Readded then Address Cell View
kcw-grunt Jan 16, 2024
e3dc344
Maintenance refactor
kcw-grunt Jan 17, 2024
2d62ce6
fix TestFlight 3.12.0 (240115) · iPhone 13 · 17.2.1
kcw-grunt Jan 17, 2024
97da390
Refactored the send animations and layout
kcw-grunt Jan 17, 2024
3b74393
clean up location of vars
kcw-grunt Jan 18, 2024
95e549c
Fixed a big bug
kcw-grunt Jan 18, 2024
c9469dc
😍[Feature] Exploration/update create restore wallet (#219)
kcw-grunt Jan 18, 2024
fe88131
Merge branch 'exploration/update-create-restore-wallet' into develop
kcw-grunt Jan 18, 2024
cd02d81
resolve conflicts
kcw-grunt Jan 18, 2024
8798c75
Added a address test (#220)
kcw-grunt Jan 19, 2024
502f29b
updated gitignore
kcw-grunt Jan 19, 2024
46b5d5b
mod gitignore (#223)
kcw-grunt Jan 30, 2024
775fab4
🚀[Release v3.12.1] Merge into Develop (#228)
kcw-grunt Feb 14, 2024
04146e8
🚀[Release v3.12.1-2400214] Merge into Develop (#232)
kcw-grunt Feb 27, 2024
1bb73a7
Techdebt/update ops data (#234)
kcw-grunt Mar 19, 2024
9038d6e
🚀[Release v3.13.1-20240322.0] Merge into Develop #235 (#236)
kcw-grunt Apr 2, 2024
28cd0d5
Fix/transaction crashes 240 (#243)
kcw-grunt May 11, 2024
c49b399
Bugfix/general maintenance (#238)
kcw-grunt May 11, 2024
6cabec8
version bump
kcw-grunt May 11, 2024
8fbdfa5
removed unused code
kcw-grunt May 13, 2024
4ce9975
Added Ukrainian localizations
kcw-grunt May 13, 2024
244c294
Disabled bitrefill until compliance docs received
kcw-grunt May 16, 2024
0c57f0b
version bump
kcw-grunt May 19, 2024
b282cae
bugfix of SyncProgress crash
kcw-grunt May 20, 2024
e25ed0f
🚀[Release v3.13.5] Merge into Develop (#245)
kcw-grunt May 31, 2024
892d81c
Merge remote-tracking branch 'origin/develop' into release/v3.13.5
kcw-grunt Jul 14, 2024
2534079
fix: merge conflicts with main
hassanashraf92 Jul 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ Modules/litewallet-partner-api-ios
litewallet-partner-api-ios
/partner-keys.plist
partner-keys.plist
GoogleService-Info.plist
GoogleService-Info.plist
*.gpx
19 changes: 19 additions & 0 deletions Dakar, Senegal.gpx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd http://www.topografix.com/GPX/gpx_style/0/2 http://www.topografix.com/GPX/gpx_style/0/2/gpx_style.xsd" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpx_style="http://www.topografix.com/GPX/gpx_style/0/2" version="1.1" creator="https://gpx.studio">
<metadata>
<name>new</name>
<author>
<name>gpx.studio</name>
<link href="https://gpx.studio"></link>
</author>
</metadata>
<trk>
<name>new</name>
<type>Cycling</type>
<trkseg>
<trkpt lat="14.737937563639399" lon="-17.483073867161895">
<ele>23.1</ele>
</trkpt>
</trkseg>
</trk>
</gpx>
104 changes: 104 additions & 0 deletions PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePerformanceData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherUsageData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCrashData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
5,245 changes: 5,245 additions & 0 deletions litewallet.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
3 changes: 1 addition & 2 deletions litewallet/AddressFieldView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ struct AddressFieldView: UIViewRepresentable {
parent = textField
}

func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool
{
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
if let currentValue = textField.text as NSString? {
let proposedValue = currentValue.replacingCharacters(in: range, with: string) as String
parent.text = proposedValue
Expand Down
47 changes: 32 additions & 15 deletions litewallet/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

var resourceRequest: NSBundleResourceRequest?

func application(_ application: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
{
func application(_ application: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
requestResourceWith(tag: ["initial-resources", "speakTag"]) { [self] in

// Language
updateCurrentUserLocale(localeId: Locale.current.identifier)
Bundle.setLanguage(UserDefaults.selectedLanguage)

// Ops
let startDate = Partner.partnerKeyPath(name: .litewalletStart)
if startDate == "error-litewallet-start-key" {
Expand All @@ -25,14 +29,16 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
self.setFirebaseConfiguration()

// Pusher
self.pushNotifications.start(instanceId: Partner.partnerKeyPath(name: .pusherStaging))
let generaliOSInterest = "general-ios"
let debugGeneraliOSInterest = "debug-general-ios"
self.pushNotifications.start(instanceId: Partner.partnerKeyPath(name: .pusher))
let generalInterest = String.preferredLanguageInterest(currentId: UserDefaults.selectedLanguage)
let debugGeneralInterest = "debug-general"

try? self.pushNotifications.clearDeviceInterests()

try? self.pushNotifications
.addDeviceInterest(interest: generaliOSInterest)
.addDeviceInterest(interest: generalInterest)
try? self.pushNotifications
.addDeviceInterest(interest: debugGeneraliOSInterest)
.addDeviceInterest(interest: debugGeneralInterest)

let interests = self.pushNotifications.getDeviceInterests()?.joined(separator: "|") ?? ""
let device = UIDevice.current.identifierForVendor?.uuidString ?? "ID"
Expand All @@ -41,6 +47,23 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

LWAnalytics.logEventWithParameters(itemName: ._20231202_RIGI,
properties: interestsDict)

let current = UNUserNotificationCenter.current()

current.getNotificationSettings(completionHandler: { settings in

debugPrint(settings.debugDescription)
if settings.authorizationStatus == .denied {
self.pushNotifications.clearAllState {
LWAnalytics.logEventWithParameters(itemName: ._20240506_DPN)
}

self.pushNotifications.stop {
LWAnalytics.logEventWithParameters(itemName: ._20240510_SPN)
}
}
})

} onFailure: { error in

let properties: [String: String] = ["error_type": "on_demand_resources_not_found",
Expand All @@ -49,8 +72,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
properties: properties)
}

updateCurrentUserLocale(localeId: Locale.current.identifier)

guard let thisWindow = window else { return false }

thisWindow.tintColor = .liteWalletBlue
Expand All @@ -61,8 +82,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

LWAnalytics.logEventWithParameters(itemName: ._20191105_AL)

Bundle.setLanguage(UserDefaults.selectedLanguage)

return true
}

Expand All @@ -78,13 +97,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
applicationController.didEnterBackground()
}

func application(_: UIApplication, shouldAllowExtensionPointIdentifier _: UIApplication.ExtensionPointIdentifier) -> Bool
{
func application(_: UIApplication, shouldAllowExtensionPointIdentifier _: UIApplication.ExtensionPointIdentifier) -> Bool {
return false // disable extensions such as custom keyboards for security purposes
}

func application(_: UIApplication, open url: URL, options _: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool
{
func application(_: UIApplication, open url: URL, options _: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {
return applicationController.open(url: url)
}

Expand Down
Loading