Skip to content

Commit 18ff96f

Browse files
kcw-gruntIferencak
andauthored
🚀[Release v3.11.1] Merge into Main (#212)
* 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * reemvoed conflict tags * 🚀[Release v3.10.1] Merge into Develop (#162) * 🚀[Release v3.10.0] Merge into Main (#136) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * 🚀[Release v3.10.0] Merge into Develop (#135) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🚧[Techdebt] Firebase polish 121 (#139) * 🚀[Release v3.10.0] Merge into Main (#136) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * Create sync-mirror.yml * Changed the clone sig * Update sync-mirror.yml - added sync branches and tags * Update sync-mirror.yml refactor * Update sync-mirror.yml fixed uname * Update sync-mirror.yml * Update sync-mirror.yml * Create PubtoPrivate.yml * Update sync-mirror.yml * 🚀[Release v3.10.0] Merge into Develop (#135) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * build bump -clean up strings file - Udpated to iOS 14.0 as a target https://www.statista.com/statistics/1118925/mobile-apple-ios-version-share-worldwide/ * Removed cruft * Updated the Firebase constants - changed it to lowercase * updated links * fixed constants -build bump * Mark unused code (#147) * Added and modified a ruby script that shows a warining if a class, function or variable is not used * Fixed static function partnersDataArray * Updated build number * build bump * clean up duplicate scripts * readded "Send.UnstoppableDomains.udSystemError" = "System lookup problem. [Error: %2$d]"; -bumped the version and build to test Bitrise * fixed today extension version and build number * fixed coding norm (space after colon) - fixed Turkish - Italian mixup - version bump * Add SwiftFormat to the codebase (#159) * Added SwiftFormat to the run scripts * Removed --elseOnSameLine from rules as it is on by default * Added --disable enumNamespaces rule * Using SwiftFormat to auto-format current code * Removed --allman rule * 🚀[Release v3.10.1] Merge into Develop (#162) * 🚀[Release v3.10.0] Merge into Main (#136) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * 🚀[Release v3.10.0] Merge into Develop (#135) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🚧[Techdebt] Firebase polish 121 (#139) * 🚀[Release v3.10.0] Merge into Main (#136) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * Create sync-mirror.yml * Changed the clone sig * Update sync-mirror.yml - added sync branches and tags * Update sync-mirror.yml refactor * Update sync-mirror.yml fixed uname * Update sync-mirror.yml * Update sync-mirror.yml * Create PubtoPrivate.yml * Update sync-mirror.yml * 🚀[Release v3.10.0] Merge into Develop (#135) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * build bump -clean up strings file - Udpated to iOS 14.0 as a target https://www.statista.com/statistics/1118925/mobile-apple-ios-version-share-worldwide/ * Removed cruft * Updated the Firebase constants - changed it to lowercase * updated links * fixed constants -build bump * Mark unused code (#147) * Added and modified a ruby script that shows a warining if a class, function or variable is not used * Fixed static function partnersDataArray * Updated build number * build bump * clean up duplicate scripts * readded "Send.UnstoppableDomains.udSystemError" = "System lookup problem. [Error: %2$d]"; -bumped the version and build to test Bitrise * fixed today extension version and build number * fixed coding norm (space after colon) - fixed Turkish - Italian mixup - version bump * Added SwiftFormat to the run scripts * Removed --elseOnSameLine from rules as it is on by default * Added --disable enumNamespaces rule * Using SwiftFormat to auto-format current code * Removed --allman rule * PartnerData auto-format * Added marking of unused code back to runscripts * Delete PubtoPrivate.yml * Delete sync-mirror.yml Co-authored-by: Kerry Washington <mrkerrywashington@icloud.com> * 🤬[Techdebt] #167 add custom user agent++ (#168) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * Create sync-mirror.yml * Changed the clone sig * Update sync-mirror.yml - added sync branches and tags * Update sync-mirror.yml refactor * Update sync-mirror.yml fixed uname * Update sync-mirror.yml * Update sync-mirror.yml * Create PubtoPrivate.yml * 🚀[Release v3.10.0] Merge into Develop (#135) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🚧[Techdebt] Firebase polish 121 (#139) * 🚀[Release v3.10.0] Merge into Main (#136) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * Create sync-mirror.yml * Changed the clone sig * Update sync-mirror.yml - added sync branches and tags * Update sync-mirror.yml refactor * Update sync-mirror.yml fixed uname * Update sync-mirror.yml * Update sync-mirror.yml * Create PubtoPrivate.yml * Update sync-mirror.yml * 🚀[Release v3.10.0] Merge into Develop (#135) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * build bump -clean up strings file - Udpated to iOS 14.0 as a target https://www.statista.com/statistics/1118925/mobile-apple-ios-version-share-worldwide/ * Removed cruft * Updated the Firebase constants - changed it to lowercase * updated links * fixed constants -build bump * Mark unused code (#147) * Added and modified a ruby script that shows a warining if a class, function or variable is not used * Fixed static function partnersDataArray * Updated build number * changed the urtl - change the deployment target * removed staging server url normalizing to the prod server only * aded small test - build bump * Retired old https server code (#154) * Updated * 🚀[Release v3.10.1] Merge into Develop (#162) * 🚀[Release v3.10.0] Merge into Main (#136) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * 🚀[Release v3.10.0] Merge into Develop (#135) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🚧[Techdebt] Firebase polish 121 (#139) * 🚀[Release v3.10.0] Merge into Main (#136) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * Create sync-mirror.yml * Changed the clone sig * Update sync-mirror.yml - added sync branches and tags * Update sync-mirror.yml refactor * Update sync-mirror.yml fixed uname * Update sync-mirror.yml * Update sync-mirror.yml * Create PubtoPrivate.yml * Update sync-mirror.yml * 🚀[Release v3.10.0] Merge into Develop (#135) * 🦺[Techdebt] fix firebase (#115) * Update firebase config auto clean up strings - version bump - Commented out debug FB file * Checked the version is sending FB data - bump build number * 🥳[Techdebt] relayout address view controller (#120) * Successfully placed in UIHosting Address Updated the strings file * Added event * added delay - used for animating U Domain * Added function of subviews in SendViewController Layout is updated * Adding the function to the send Cleaned up and wired up Cells - UD View/Model - Send Address View/Model Reset the amount Label in SendViewController * Refactored SendButton - Using UIHostingViewController * Successfully send LTC -WIP: fix white space * Refactored the layout of the send button * buiid bump (#125) * [Techdebt] ci cd refactor (#132) * Removed flaky tests * build bump * build bump * removed unused file - build bump * build bump * fixed scan QR (#130) * fixed scan QR * update gitignore * Feature/add bitrefill new (#134) * Added llocalView - added bitrefill - basic function is available - build bump * bump * added basic web widget * updated logo * build bump * changed the Bitrefill link - build bump * pre-bump version - to get a binary to TestFlight * build bump * build bump again * Clean up background * build bump * build bump -clean up strings file - Udpated to iOS 14.0 as a target https://www.statista.com/statistics/1118925/mobile-apple-ios-version-share-worldwide/ * Removed cruft * Updated the Firebase constants - changed it to lowercase * updated links * fixed constants -build bump * Mark unused code (#147) * Added and modified a ruby script that shows a warining if a class, function or variable is not used * Fixed static function partnersDataArray * Updated build number * build bump * clean up duplicate scripts * readded "Send.UnstoppableDomains.udSystemError" = "System lookup problem. [Error: %2$d]"; -bumped the version and build to test Bitrise * fixed today extension version and build number * fixed coding norm (space after colon) - fixed Turkish - Italian mixup - version bump * added custom var * build bump * Add codesigndoc ignore * Added Swift Packages to the project - Closes : #156 * Removed pods * Added Litewallet PartnerAPI to project * SUCCESS! - Added PartnerAPI as a Submodule * Rebase from SwiftFormat * Update .gitignore * Removed submodule * resetting add the submodule * updated config * Removed PartnerAPI #170 Removed references to the LitewalletPartnerAPI lib - Compiled the app - Added LitecoinCard View for CardView - Added CardWebViewController - Deleted unused views and viewModels * change build number * Rmeoved all LitecoinCard Tests * build bump * Failed Test for Bitrise CI * Unbroken tests * small change build bump * another build bump * build again * build bump * yet again bump * small change * matching build number with bitrise run * nonsense change * Fixed the UDSystem Error issues - removed commented out PartnerAPI Code Co-authored-by: Iferencak <iferencak@profico.hr> * bump to match current prod build number * Removed app install date variable (#200) * nit…format (#203) * Update the loafwallet-core submodule * #207 resolve core update issue missing labels (#211) * move the git submodule to the latest - v1.0.0 releease of loafwallet-core # Conflicts: # Modules/loafwallet-core * ISSUE: Not able to type and display recv addresses - There is a failiure in the conversion from CChar to Int8 - Have send working - updated loafwallet-core v1.1.0 - Added falsePositived interface - Added enum and set values for - low privacy - semi-private - anonymous - Updated the loafwallet-core - adds the fpRate var * Resolved PeerManager set with proper optional setting. * WIP: Cannot unwrap ltc1 addresses to retain them in the UILabel - ltc1 addresses are present but not unwrapping properly @Iferencak this is the disappearing error you saw when we updated the loafwallet-core. - Not able to figure this out yet. - All ideas are welcome * WIP: Still debugging - The issue is the BRCore methods compare the `ltc1` address against the set of addresses and it fails because the BRSet is not setup for the address. The issue is this worked before and I need to investigate what happened before and how things changed Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * move the git submodule to the latest - v1.0.0 releease of loafwallet-core * Bugfix!: Duplicated char in converter Added optic enum Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * Move all the extensions from BRCore to separate files - Moved these into separate files to help debug Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * Refactored the conversion - Fixed a bug where a element is duplicated `unichar(charArray.20),unichar(charArray.21), unichar(charArray.22), unichar(charArray.23), unichar(charArray.23), unichar(charArray.24)` Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> --------- Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * bump build to date based number Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * Removed Ternio Card code Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * Polished the version tag in the lock screen Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * Build bump Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * Removed TabBarVC - Cleanup to remove old references Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * Updated the Infura and partner IPFS access - Required in the latest UD library Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> * Added commit to partner keys Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> --------- Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com> Co-authored-by: Iferencak <iferencak@profico.hr>
1 parent ac218dd commit 18ff96f

34 files changed

Lines changed: 1015 additions & 1455 deletions

.gitignore

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,7 @@ Package.resolved
3030

3131
# Add this line if you want to avoid checking in Xcode SPM integration.
3232
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
33-
34-
# CocoaPods
35-
#
36-
# We recommend against adding the Pods directory to your .gitignore. However
37-
# you should judge for yourself, the pros and cons are mentioned at:
38-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
39-
40-
Pods/
33+
4134

4235
# SwiftFormat
4336
BuildTools/.build
@@ -46,4 +39,6 @@ BuildTools/.swiftpm
4639

4740
# Sensitive Partner API
4841
Modules/litewallet-partner-api-ios
49-
litewallet-partner-api-ios
42+
litewallet-partner-api-ios
43+
44+
/partner-keys.plist

loafwallet.xcodeproj/project.pbxproj

Lines changed: 68 additions & 28 deletions
Large diffs are not rendered by default.

loafwallet/BRAPIClient+Wallet.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ extension BRAPIClient {
1616
func exchangeRates(isFallback: Bool = false, _ handler: @escaping (_ rates: [Rate], _ error: String?) -> Void)
1717
{
1818
let request = isFallback ? URLRequest(url: URL(string: fallbackRatesURL)!) : URLRequest(url: URL(string: APIServer.baseUrl + "v1/rates")!)
19-
print("::: request: \(request.debugDescription)")
2019
_ = dataTaskWithRequest(request) { data, _, error in
2120
if error == nil, let data = data,
2221
let parsedData = try? JSONSerialization.jsonObject(with: data, options: .allowFragments)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
//
2+
// BRAddressExtension.swift
3+
// loafwallet
4+
//
5+
// Created by Kerry Washington on 11/4/23.
6+
// Copyright © 2023 Litecoin Foundation. All rights reserved.
7+
//
8+
import BRCore
9+
import Foundation
10+
11+
extension BRAddress: CustomStringConvertible, Hashable {
12+
init?(string: String) {
13+
self.init()
14+
let cStr = [CChar](string.utf8CString)
15+
guard cStr.count <= MemoryLayout<BRAddress>.size else { return nil }
16+
UnsafeMutableRawPointer(mutating: &s).assumingMemoryBound(to: CChar.self).assign(from: cStr,
17+
count: cStr.count)
18+
}
19+
20+
init?(scriptPubKey: [UInt8]) {
21+
self.init()
22+
guard BRAddressFromScriptPubKey(UnsafeMutableRawPointer(mutating: &s).assumingMemoryBound(to: CChar.self),
23+
MemoryLayout<BRAddress>.size, scriptPubKey, scriptPubKey.count) > 0
24+
else { return nil }
25+
}
26+
27+
init?(scriptSig: [UInt8]) {
28+
self.init()
29+
guard BRAddressFromScriptSig(UnsafeMutableRawPointer(mutating: &s).assumingMemoryBound(to: CChar.self),
30+
MemoryLayout<BRAddress>.size, scriptSig, scriptSig.count) > 0 else { return nil }
31+
}
32+
33+
var scriptPubKey: [UInt8]? {
34+
var script = [UInt8](repeating: 0, count: 25)
35+
let count = BRAddressScriptPubKey(&script, script.count,
36+
UnsafeRawPointer([s]).assumingMemoryBound(to: CChar.self))
37+
guard count > 0 else { return nil }
38+
if count < script.count { script.removeSubrange(count...) }
39+
return script
40+
}
41+
42+
var hash160: UInt160? {
43+
var hash = UInt160()
44+
guard BRAddressHash160(&hash, UnsafeRawPointer([s]).assumingMemoryBound(to: CChar.self)) != 0
45+
else { return nil }
46+
return hash
47+
}
48+
49+
public var description: String {
50+
return String(cString: UnsafeRawPointer([s]).assumingMemoryBound(to: CChar.self))
51+
}
52+
53+
public var hashValue: Int {
54+
return BRAddressHash([s])
55+
}
56+
57+
public static func == (l: BRAddress, r: BRAddress) -> Bool {
58+
return BRAddressEq([l.s], [r.s]) != 0
59+
}
60+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import BRCore
2+
import Foundation
3+
4+
extension UInt256: CustomStringConvertible {
5+
public var description: String {
6+
return String(format: "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x" +
7+
"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
8+
u8.31, u8.30, u8.29, u8.28, u8.27, u8.26, u8.25, u8.24,
9+
u8.23, u8.22, u8.21, u8.20, u8.19, u8.18, u8.17, u8.16,
10+
u8.15, u8.14, u8.13, u8.12, u8.11, u8.10, u8.9, u8.8,
11+
u8.7, u8.6, u8.5, u8.4, u8.3, u8.2, u8.1, u8.0)
12+
}
13+
}
14+
15+
extension UInt128: Equatable {
16+
public static func == (l: UInt128, r: UInt128) -> Bool {
17+
return l.u64 == r.u64
18+
}
19+
20+
public static func != (l: UInt128, r: UInt128) -> Bool {
21+
return l.u64 != r.u64
22+
}
23+
}
24+
25+
extension UInt160: Equatable {
26+
public static func == (l: UInt160, r: UInt160) -> Bool {
27+
return l.u32 == r.u32
28+
}
29+
30+
public static func != (l: UInt160, r: UInt160) -> Bool {
31+
return l.u32 != r.u32
32+
}
33+
}
34+
35+
extension UInt256: Equatable {
36+
public static func == (l: UInt256, r: UInt256) -> Bool {
37+
return l.u64 == r.u64
38+
}
39+
40+
public static func != (l: UInt256, r: UInt256) -> Bool {
41+
return l.u64 != r.u64
42+
}
43+
44+
var hexString: String {
45+
var u = self
46+
return withUnsafePointer(to: &u) { p in
47+
Data(bytes: p, count: MemoryLayout<UInt256>.stride).hexString
48+
}
49+
}
50+
}
51+
52+
extension UInt512: Equatable {
53+
public static func == (l: UInt512, r: UInt512) -> Bool {
54+
return l.u64 == r.u64
55+
}
56+
57+
public static func != (l: UInt512, r: UInt512) -> Bool {
58+
return l.u64 != r.u64
59+
}
60+
}

loafwallet/BRKeyExtension.swift

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
//
2+
// BRKeyExtension.swift
3+
// loafwallet
4+
//
5+
// Created by Kerry Washington on 11/4/23.
6+
// Copyright © 2023 Litecoin Foundation. All rights reserved.
7+
//
8+
import BRCore
9+
import Foundation
10+
11+
extension BRKey {
12+
// privKey must be wallet import format (WIF), mini private key format, or hex string
13+
init?(privKey: String) {
14+
self.init()
15+
guard BRKeySetPrivKey(&self, privKey) != 0 else { return nil }
16+
}
17+
18+
// decrypts a BIP38 key using the given passphrase and returns nil if passphrase is incorrect
19+
init?(bip38Key: String, passphrase: String) {
20+
self.init()
21+
guard let nfcPhrase = CFStringCreateMutableCopy(secureAllocator, 0, passphrase as CFString) else { return nil }
22+
CFStringNormalize(nfcPhrase, .C) // NFC unicode normalization
23+
guard BRKeySetBIP38Key(&self, bip38Key, nfcPhrase as String) != 0 else { return nil }
24+
}
25+
26+
// pubKey must be a DER encoded public key
27+
init?(pubKey: [UInt8]) {
28+
self.init()
29+
guard BRKeySetPubKey(&self, pubKey, pubKey.count) != 0 else { return nil }
30+
}
31+
32+
init?(secret: UnsafePointer<UInt256>, compact: Bool) {
33+
self.init()
34+
guard BRKeySetSecret(&self, secret, compact ? 1 : 0) != 0 else { return nil }
35+
}
36+
37+
// recover a pubKey from a compact signature
38+
init?(md: UInt256, compactSig: [UInt8]) {
39+
self.init()
40+
guard BRKeyRecoverPubKey(&self, md, compactSig, compactSig.count) != 0 else { return nil }
41+
}
42+
43+
// WIF private key
44+
mutating func privKey() -> String? {
45+
return autoreleasepool
46+
{ // wrapping in autoreleasepool ensures sensitive memory is wiped and freed immediately
47+
let count = BRKeyPrivKey(&self, nil, 0)
48+
var data = CFDataCreateMutable(secureAllocator, count) as Data
49+
data.count = count
50+
guard data.withUnsafeMutableBytes({ BRKeyPrivKey(&self, $0, count) }) != 0 else { return nil }
51+
return CFStringCreateFromExternalRepresentation(secureAllocator, data as CFData,
52+
CFStringBuiltInEncodings.UTF8.rawValue) as String
53+
}
54+
}
55+
56+
// encrypts key with passphrase
57+
mutating func bip38Key(passphrase: String) -> String? {
58+
return autoreleasepool {
59+
guard let nfcPhrase = CFStringCreateMutableCopy(secureAllocator, 0, passphrase as CFString)
60+
else { return nil }
61+
CFStringNormalize(nfcPhrase, .C) // NFC unicode normalization
62+
let count = BRKeyBIP38Key(&self, nil, 0, nfcPhrase as String)
63+
var data = CFDataCreateMutable(secureAllocator, count) as Data
64+
data.count = count
65+
guard data.withUnsafeMutableBytes({ BRKeyBIP38Key(&self, $0, count, nfcPhrase as String) }) != 0
66+
else { return nil }
67+
return CFStringCreateFromExternalRepresentation(secureAllocator, data as CFData,
68+
CFStringBuiltInEncodings.UTF8.rawValue) as String
69+
}
70+
}
71+
72+
// DER encoded public key
73+
mutating func pubKey() -> [UInt8]? {
74+
var pubKey = [UInt8](repeating: 0, count: BRKeyPubKey(&self, nil, 0))
75+
guard !pubKey.isEmpty, BRKeyPubKey(&self, &pubKey, pubKey.count) == pubKey.count else { return nil }
76+
return pubKey
77+
}
78+
79+
// ripemd160 hash of the sha256 hash of the public key
80+
mutating func hash160() -> UInt160? {
81+
let hash = BRKeyHash160(&self)
82+
guard hash != UInt160() else { return nil }
83+
return hash
84+
}
85+
86+
// pay-to-pubkey-hash litecoin address
87+
mutating func address() -> String? {
88+
var addr = [CChar](repeating: 0, count: MemoryLayout<BRAddress>.size)
89+
guard BRKeyAddress(&self, &addr, addr.count) > 0 else { return nil }
90+
return String(cString: addr)
91+
}
92+
93+
mutating func sign(md: UInt256) -> [UInt8]? {
94+
var sig = [UInt8](repeating: 0, count: 73)
95+
let count = BRKeySign(&self, &sig, sig.count, md)
96+
guard count > 0 else { return nil }
97+
if count < sig.count { sig.removeSubrange(sig.count...) }
98+
return sig
99+
}
100+
101+
mutating func verify(md: UInt256, sig: [UInt8]) -> Bool {
102+
var sig = sig
103+
return BRKeyVerify(&self, md, &sig, sig.count) != 0
104+
}
105+
106+
// wipes key material
107+
mutating func clean() {
108+
BRKeyClean(&self)
109+
}
110+
111+
// Pieter Wuille's compact signature encoding used for bitcoin message signing
112+
// to verify a compact signature, recover a public key from the sig and verify that it matches the signer's pubkey
113+
mutating func compactSign(md: UInt256) -> [UInt8]? {
114+
var sig = [UInt8](repeating: 0, count: 65)
115+
guard BRKeyCompactSign(&self, &sig, sig.count, md) == sig.count else { return nil }
116+
return sig
117+
}
118+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import BRCore
2+
import Foundation
3+
4+
extension BRMasterPubKey: Equatable {
5+
public static func == (l: BRMasterPubKey, r: BRMasterPubKey) -> Bool {
6+
return l.fingerPrint == r.fingerPrint && l.chainCode == r.chainCode && l.pubKey == r.pubKey
7+
}
8+
9+
public static func != (l: BRMasterPubKey, r: BRMasterPubKey) -> Bool {
10+
return l.fingerPrint != r.fingerPrint || l.chainCode != r.chainCode || l.pubKey != r.pubKey
11+
}
12+
}

0 commit comments

Comments
 (0)