Skip to content

Commit

Permalink
🚀[Release v3.11.1] Merge into Main (#212)
Browse files Browse the repository at this point in the history
* 🦺[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>
  • Loading branch information
kcw-grunt and Iferencak committed Nov 24, 2023
1 parent ac218dd commit 18ff96f
Show file tree
Hide file tree
Showing 34 changed files with 1,015 additions and 1,455 deletions.
13 changes: 4 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,7 @@ Package.resolved

# Add this line if you want to avoid checking in Xcode SPM integration.
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control

Pods/


# SwiftFormat
BuildTools/.build
Expand All @@ -46,4 +39,6 @@ BuildTools/.swiftpm

# Sensitive Partner API
Modules/litewallet-partner-api-ios
litewallet-partner-api-ios
litewallet-partner-api-ios

/partner-keys.plist
2 changes: 1 addition & 1 deletion Modules/loafwallet-core
96 changes: 68 additions & 28 deletions loafwallet.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion loafwallet/BRAPIClient+Wallet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ extension BRAPIClient {
func exchangeRates(isFallback: Bool = false, _ handler: @escaping (_ rates: [Rate], _ error: String?) -> Void)
{
let request = isFallback ? URLRequest(url: URL(string: fallbackRatesURL)!) : URLRequest(url: URL(string: APIServer.baseUrl + "v1/rates")!)
print("::: request: \(request.debugDescription)")
_ = dataTaskWithRequest(request) { data, _, error in
if error == nil, let data = data,
let parsedData = try? JSONSerialization.jsonObject(with: data, options: .allowFragments)
Expand Down
60 changes: 60 additions & 0 deletions loafwallet/BRAddressExtension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
//
// BRAddressExtension.swift
// loafwallet
//
// Created by Kerry Washington on 11/4/23.
// Copyright © 2023 Litecoin Foundation. All rights reserved.
//
import BRCore
import Foundation

extension BRAddress: CustomStringConvertible, Hashable {
init?(string: String) {
self.init()
let cStr = [CChar](string.utf8CString)
guard cStr.count <= MemoryLayout<BRAddress>.size else { return nil }
UnsafeMutableRawPointer(mutating: &s).assumingMemoryBound(to: CChar.self).assign(from: cStr,
count: cStr.count)
}

init?(scriptPubKey: [UInt8]) {
self.init()
guard BRAddressFromScriptPubKey(UnsafeMutableRawPointer(mutating: &s).assumingMemoryBound(to: CChar.self),
MemoryLayout<BRAddress>.size, scriptPubKey, scriptPubKey.count) > 0
else { return nil }
}

init?(scriptSig: [UInt8]) {
self.init()
guard BRAddressFromScriptSig(UnsafeMutableRawPointer(mutating: &s).assumingMemoryBound(to: CChar.self),
MemoryLayout<BRAddress>.size, scriptSig, scriptSig.count) > 0 else { return nil }
}

var scriptPubKey: [UInt8]? {
var script = [UInt8](repeating: 0, count: 25)
let count = BRAddressScriptPubKey(&script, script.count,
UnsafeRawPointer([s]).assumingMemoryBound(to: CChar.self))
guard count > 0 else { return nil }
if count < script.count { script.removeSubrange(count...) }
return script
}

var hash160: UInt160? {
var hash = UInt160()
guard BRAddressHash160(&hash, UnsafeRawPointer([s]).assumingMemoryBound(to: CChar.self)) != 0
else { return nil }
return hash
}

public var description: String {
return String(cString: UnsafeRawPointer([s]).assumingMemoryBound(to: CChar.self))
}

public var hashValue: Int {
return BRAddressHash([s])
}

public static func == (l: BRAddress, r: BRAddress) -> Bool {
return BRAddressEq([l.s], [r.s]) != 0
}
}
60 changes: 60 additions & 0 deletions loafwallet/BRCalculationExtension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import BRCore
import Foundation

extension UInt256: CustomStringConvertible {
public var description: String {
return String(format: "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x" +
"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
u8.31, u8.30, u8.29, u8.28, u8.27, u8.26, u8.25, u8.24,
u8.23, u8.22, u8.21, u8.20, u8.19, u8.18, u8.17, u8.16,
u8.15, u8.14, u8.13, u8.12, u8.11, u8.10, u8.9, u8.8,
u8.7, u8.6, u8.5, u8.4, u8.3, u8.2, u8.1, u8.0)
}
}

extension UInt128: Equatable {
public static func == (l: UInt128, r: UInt128) -> Bool {
return l.u64 == r.u64
}

public static func != (l: UInt128, r: UInt128) -> Bool {
return l.u64 != r.u64
}
}

extension UInt160: Equatable {
public static func == (l: UInt160, r: UInt160) -> Bool {
return l.u32 == r.u32
}

public static func != (l: UInt160, r: UInt160) -> Bool {
return l.u32 != r.u32
}
}

extension UInt256: Equatable {
public static func == (l: UInt256, r: UInt256) -> Bool {
return l.u64 == r.u64
}

public static func != (l: UInt256, r: UInt256) -> Bool {
return l.u64 != r.u64
}

var hexString: String {
var u = self
return withUnsafePointer(to: &u) { p in
Data(bytes: p, count: MemoryLayout<UInt256>.stride).hexString
}
}
}

extension UInt512: Equatable {
public static func == (l: UInt512, r: UInt512) -> Bool {
return l.u64 == r.u64
}

public static func != (l: UInt512, r: UInt512) -> Bool {
return l.u64 != r.u64
}
}
118 changes: 118 additions & 0 deletions loafwallet/BRKeyExtension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
//
// BRKeyExtension.swift
// loafwallet
//
// Created by Kerry Washington on 11/4/23.
// Copyright © 2023 Litecoin Foundation. All rights reserved.
//
import BRCore
import Foundation

extension BRKey {
// privKey must be wallet import format (WIF), mini private key format, or hex string
init?(privKey: String) {
self.init()
guard BRKeySetPrivKey(&self, privKey) != 0 else { return nil }
}

// decrypts a BIP38 key using the given passphrase and returns nil if passphrase is incorrect
init?(bip38Key: String, passphrase: String) {
self.init()
guard let nfcPhrase = CFStringCreateMutableCopy(secureAllocator, 0, passphrase as CFString) else { return nil }
CFStringNormalize(nfcPhrase, .C) // NFC unicode normalization
guard BRKeySetBIP38Key(&self, bip38Key, nfcPhrase as String) != 0 else { return nil }
}

// pubKey must be a DER encoded public key
init?(pubKey: [UInt8]) {
self.init()
guard BRKeySetPubKey(&self, pubKey, pubKey.count) != 0 else { return nil }
}

init?(secret: UnsafePointer<UInt256>, compact: Bool) {
self.init()
guard BRKeySetSecret(&self, secret, compact ? 1 : 0) != 0 else { return nil }
}

// recover a pubKey from a compact signature
init?(md: UInt256, compactSig: [UInt8]) {
self.init()
guard BRKeyRecoverPubKey(&self, md, compactSig, compactSig.count) != 0 else { return nil }
}

// WIF private key
mutating func privKey() -> String? {
return autoreleasepool
{ // wrapping in autoreleasepool ensures sensitive memory is wiped and freed immediately
let count = BRKeyPrivKey(&self, nil, 0)
var data = CFDataCreateMutable(secureAllocator, count) as Data
data.count = count
guard data.withUnsafeMutableBytes({ BRKeyPrivKey(&self, $0, count) }) != 0 else { return nil }
return CFStringCreateFromExternalRepresentation(secureAllocator, data as CFData,
CFStringBuiltInEncodings.UTF8.rawValue) as String
}
}

// encrypts key with passphrase
mutating func bip38Key(passphrase: String) -> String? {
return autoreleasepool {
guard let nfcPhrase = CFStringCreateMutableCopy(secureAllocator, 0, passphrase as CFString)
else { return nil }
CFStringNormalize(nfcPhrase, .C) // NFC unicode normalization
let count = BRKeyBIP38Key(&self, nil, 0, nfcPhrase as String)
var data = CFDataCreateMutable(secureAllocator, count) as Data
data.count = count
guard data.withUnsafeMutableBytes({ BRKeyBIP38Key(&self, $0, count, nfcPhrase as String) }) != 0
else { return nil }
return CFStringCreateFromExternalRepresentation(secureAllocator, data as CFData,
CFStringBuiltInEncodings.UTF8.rawValue) as String
}
}

// DER encoded public key
mutating func pubKey() -> [UInt8]? {
var pubKey = [UInt8](repeating: 0, count: BRKeyPubKey(&self, nil, 0))
guard !pubKey.isEmpty, BRKeyPubKey(&self, &pubKey, pubKey.count) == pubKey.count else { return nil }
return pubKey
}

// ripemd160 hash of the sha256 hash of the public key
mutating func hash160() -> UInt160? {
let hash = BRKeyHash160(&self)
guard hash != UInt160() else { return nil }
return hash
}

// pay-to-pubkey-hash litecoin address
mutating func address() -> String? {
var addr = [CChar](repeating: 0, count: MemoryLayout<BRAddress>.size)
guard BRKeyAddress(&self, &addr, addr.count) > 0 else { return nil }
return String(cString: addr)
}

mutating func sign(md: UInt256) -> [UInt8]? {
var sig = [UInt8](repeating: 0, count: 73)
let count = BRKeySign(&self, &sig, sig.count, md)
guard count > 0 else { return nil }
if count < sig.count { sig.removeSubrange(sig.count...) }
return sig
}

mutating func verify(md: UInt256, sig: [UInt8]) -> Bool {
var sig = sig
return BRKeyVerify(&self, md, &sig, sig.count) != 0
}

// wipes key material
mutating func clean() {
BRKeyClean(&self)
}

// Pieter Wuille's compact signature encoding used for bitcoin message signing
// to verify a compact signature, recover a public key from the sig and verify that it matches the signer's pubkey
mutating func compactSign(md: UInt256) -> [UInt8]? {
var sig = [UInt8](repeating: 0, count: 65)
guard BRKeyCompactSign(&self, &sig, sig.count, md) == sig.count else { return nil }
return sig
}
}
12 changes: 12 additions & 0 deletions loafwallet/BRMasterKeyExtension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import BRCore
import Foundation

extension BRMasterPubKey: Equatable {
public static func == (l: BRMasterPubKey, r: BRMasterPubKey) -> Bool {
return l.fingerPrint == r.fingerPrint && l.chainCode == r.chainCode && l.pubKey == r.pubKey
}

public static func != (l: BRMasterPubKey, r: BRMasterPubKey) -> Bool {
return l.fingerPrint != r.fingerPrint || l.chainCode != r.chainCode || l.pubKey != r.pubKey
}
}
Loading

0 comments on commit 18ff96f

Please sign in to comment.