Skip to content

Commit

Permalink
🚀[Release v3.5.0] Merge into Main (#55)
Browse files Browse the repository at this point in the history
* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* Develop - Release/v2.8.0 (#132)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* Fix crash in Amount formatter (#140)

* 🦺 [Tech Debt] Update Podfile and Refactor build process (#144)

* Update Podfile

- Set mimum value of iOS 13
- Removed unused SwiftyJSON
- Removed unused Watch Scheme
- re-added xcscheme
- removed non-used code
- added status badge in README

* removed the podfile target force

* added SPM .build folder exclusion in gitignore

* [Bugfix] Renamed enum from State (#147)

* Renamed enum from State

 ## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState`

* Toggled iOS version 13

* Revert "[Bugfix] Renamed enum from State (#147)" (#150)

This reverts commit ea8293b5c7f206706942416a1d7d9b139926fa97.

* [Warmfix] Issue:146 Remove direct donation: support litecoin foundation (#151)

* Prepared the code for differnt Cell / Remove Donation Code

- Updated localized strings file(s)
- Removed old Donate files
- Updated SendVIewController

* Resolved the previous conflicts

- Added in SupportLitecoinFoundation SwiftUI view and model
- Working in the basic functionality of the new Support Litecoin Foundation view

* Worked in the vars of SupportLitecoinFoundation  view

* Removed Donation code

* Set a URL for the support LTC address

* Add new WebKit view and supporting code

* Adjusted height constants in the nightmare scenario of the SendCell

-There is a nasty sandwich of ViewControllers where SwiftUI should be used.
- This needs to be simplified

# Conflicts:
#	loafwallet/src/ViewControllers/RootModals/SendViewController.swift

* Added new MVVM Views and ViewModels

- Adding more SwiftUI code

* Refactored and stubbed out tests

* version bump

* Renamed enum from State  to ReduxState

## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState` using Xcode Refactor: Rename

* Cleaned up Localized strings file

* Added review fixes

- Added CGFloat multiplier in padding
- Fixed formatting
- Added tracking Support taps

* [Release] Merge v2.8.2 into Develop (#158)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* Release/v2.8.0 (#131)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* [Release v2.8.2] Merge into Develop

## Release Notes: v2.8.2 (1)
This release is due to a requirement to App Store to remove references to donations.  In it’s replacement, a reference to the Litecoin Foundation support page where the user can elect to send LTC if they so choose.
- [Warmfix] Issue:146 Remove direct donation: support litecoin foundati…

##  Other Improvements
- Fix crash in Amount formatter (#140)
- [Bugfix] Renamed enum from State (#147) (#150)

## Bugfixes
 - Renaming the enum caused a conflict with SwiftUI @State

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Hotfix Increment

-Updated to allow upload to App Store

* build number change

* fixed conflicts

Co-authored-by: Mohamed Barry <[email protected]>

* [Bugfix] Replace the LF Support View (#159)

* Moved the LF Cell from Send.

- BartyCrouch linted the stigns files.

* Updated the LF Support location

- Reset the localiaztion language to ‘Customer support’
- Add the dismissal actions

* [Bugfix] Fix buy tab: Simplex urls (#157)

* Updated the url to new servers

* Linted the Localized strings

* Setup url constants

* updated pk file status

* Updated per PR review comments

* fixed naming of the url variable

* [Merge v2.8.3] into Develop (#169)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* Release/v2.8.0 (#131)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* [Release v2.8.2] Merge into Master  (#153)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* Develop - Release/v2.8.0 (#132)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* Fix crash in Amount formatter (#140)

* 🦺 [Tech Debt] Update Podfile and Refactor build process (#144)

* Update Podfile

- Set mimum value of iOS 13
- Removed unused SwiftyJSON
- Removed unused Watch Scheme
- re-added xcscheme
- removed non-used code
- added status badge in README

* removed the podfile target force

* added SPM .build folder exclusion in gitignore

* [Bugfix] Renamed enum from State (#147)

* Renamed enum from State

 ## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState`

* Toggled iOS version 13

* Revert "[Bugfix] Renamed enum from State (#147)" (#150)

This reverts commit ea8293b5c7f206706942416a1d7d9b139926fa97.

* [Warmfix] Issue:146 Remove direct donation: support litecoin foundation (#151)

* Prepared the code for differnt Cell / Remove Donation Code

- Updated localized strings file(s)
- Removed old Donate files
- Updated SendVIewController

* Resolved the previous conflicts

- Added in SupportLitecoinFoundation SwiftUI view and model
- Working in the basic functionality of the new Support Litecoin Foundation view

* Worked in the vars of SupportLitecoinFoundation  view

* Removed Donation code

* Set a URL for the support LTC address

* Add new WebKit view and supporting code

* Adjusted height constants in the nightmare scenario of the SendCell

-There is a nasty sandwich of ViewControllers where SwiftUI should be used.
- This needs to be simplified

# Conflicts:
#	loafwallet/src/ViewControllers/RootModals/SendViewController.swift

* Added new MVVM Views and ViewModels

- Adding more SwiftUI code

* Refactored and stubbed out tests

* version bump

* Renamed enum from State  to ReduxState

## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState` using Xcode Refactor: Rename

* Cleaned up Localized strings file

* Added review fixes

- Added CGFloat multiplier in padding
- Fixed formatting
- Added tracking Support taps

* [Release v2.8.2] Merge into Develop

## Release Notes: v2.8.2 (1)
This release is due to a requirement to App Store to remove references to donations.  In it’s replacement, a reference to the Litecoin Foundation support page where the user can elect to send LTC if they so choose.
- [Warmfix] Issue:146 Remove direct donation: support litecoin foundati…

##  Other Improvements
- Fix crash in Amount formatter (#140)
- [Bugfix] Renamed enum from State (#147) (#150)

## Bugfixes
 - Renaming the enum caused a conflict with SwiftUI @State

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Hotfix Increment

-Updated to allow upload to App Store

* build number change

* fixed conflicts

Co-authored-by: Mohamed Barry <[email protected]>
Co-authored-by: Nikolay Spassov <[email protected]>

* version bump

Co-authored-by: Mohamed Barry <[email protected]>
Co-authored-by: Nikolay Spassov <[email protected]>

* [Feature Issue 154] Adding Unstoppable Domains functionality  (#155)

* Added UD to Podfile

- Stubbed out the view, viewModel and the test class for UD

* [UI Polish] Added images and localized strings

- Added more of strings and UD structure
- Trimmed images to resize for button
- Added localized strings for placeholder

* Updated UnstoppableDomainsView and Model details

- Added DEV notes script
- Adjusted Previews by unchecking the `build install only`

* Added more tests

- UnstoppableDomains View Model tests
- SupportLitecoinFoundationViewModel tests

* reformatted code in new SwiftUI views and viewModels

* Added UD action to the SendViewController

* Updated project

* Updated localized UD Placeholder

* Setup API keys

* removed pk file

* Changed the localizations related to UD

- Added ‘Or’ label
- Added UD placeholder text
- Changed the LTC address placeholder text

* Added in the Or and relayout of the button

- Added Partner layout view for UD and Simplex

* Resolved code review comments

- Update the localizations
- Refactored the UD shared instance (singleton) to retain throguh the call
- Added timing probes

* revert to current  version

* reformatted the Support LF view strings

* Remove Test Playground.

* Removed unused SocialView and ViewModel

* Improved resolution

- Added a Dispatch and ‘exit’ when address is found sooner than 12 secs. Much better experience for the user.

* Added infura

* Resolved review comments

* Rewrote copy for “Enter a Litecoin address”

* Fix some trivial conflict markers (#177)

* [Bugfix] Upgrade the business logic for Unstoppable Domains (#179)

* Fix some triival conflict markers

* Added test to button once the UD string meets a minimum length

* Clears address text field when Lookup button is pressed

* Set the background color of the AlertToast

* Locailization of the alert language

* move logic to release the first responder

* per review notes

* [Feature] Litecoin card v1 (#180)

* [Litecoin Card] Progress Step 1

- Major work: litecoin-card TabBarView refactor
- Updated UIColor for Color
- SwiftUI preview devices
- Working out the  Nav polish
- Fixed hard-coded UD lookup label with proper localizations
- Commented out BitId

* [Litecoin Card] Progress Step 2

- Added more  localizations
- Rebuilding registration view need to add keyboard
- Fixed the animation for the card view
- Fixed Alert name collisions to the SimplexAlert

* [Litecoin Card] Progress Step 3

- Added Login views and localizations
- Added partnerAPI Swift Package
- Layout the registration view
- Add more localizations
- BUGFIX: Image missing in this branch.

* [Litecoin Card] Progress Step 4

More localizations
Added data Validators
Final Polish for Registration View
Registration View Modal wiring works

* [Litecoin Card] Progress Step 5

Register works to the model
Login is working
Added animation for Login/Logout
Login and Loogut working
Added localizations
More localizations

* [Litecoin Card] RC 1 polishes

Communcations polishing + dev cleanup
Polishing the RegistrationView layout
Fixed bug: https://github.com/litecoin-foundation/loafwallet-ios/issues/175

* [Litecoin Card] RC2: removed defunct script

* per review comments

- Ar files removal
- Cleanup localizable
- Removed Ar.proj files
- Removed empty class
- Added all Validation localization framework
- Added localizations of the validations
- Refactored per review notes

* Bugfix- login message

Added failure message localizations

* [Merge v3.0.0] into Develop (#184)

* version bump

* Added some tests

* Refactored the login logic

- Used the status of the binding to change the UI

* Added combined logic  of the email and password fields to enable login button

Reference @losh11 comment:
`The cards login now gives a good login failed alert. However I think the login button should be disabled until the text in the email input is validated as email format.`

* build bump

* [HOTFIX]  hide litecoin card (#192)

* [Merge v3.0.0] into Master (#183)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* Develop - Release/v2.8.0 (#132)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* Fix crash in Amount formatter (#140)

* 🦺 [Tech Debt] Update Podfile and Refactor build process (#144)

* Update Podfile

- Set mimum value of iOS 13
- Removed unused SwiftyJSON
- Removed unused Watch Scheme
- re-added xcscheme
- removed non-used code
- added status badge in README

* removed the podfile target force

* added SPM .build folder exclusion in gitignore

* [Bugfix] Renamed enum from State (#147)

* Renamed enum from State

 ## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState`

* Toggled iOS version 13

* Revert "[Bugfix] Renamed enum from State (#147)" (#150)

This reverts commit ea8293b5c7f206706942416a1d7d9b139926fa97.

* [Warmfix] Issue:146 Remove direct donation: support litecoin foundation (#151)

* Prepared the code for differnt Cell / Remove Donation Code

- Updated localized strings file(s)
- Removed old Donate files
- Updated SendVIewController

* Resolved the previous conflicts

- Added in SupportLitecoinFoundation SwiftUI view and model
- Working in the basic functionality of the new Support Litecoin Foundation view

* Worked in the vars of SupportLitecoinFoundation  view

* Removed Donation code

* Set a URL for the support LTC address

* Add new WebKit view and supporting code

* Adjusted height constants in the nightmare scenario of the SendCell

-There is a nasty sandwich of ViewControllers where SwiftUI should be used.
- This needs to be simplified

# Conflicts:
#	loafwallet/src/ViewControllers/RootModals/SendViewController.swift

* Added new MVVM Views and ViewModels

- Adding more SwiftUI code

* Refactored and stubbed out tests

* version bump

* Renamed enum from State  to ReduxState

## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState` using Xcode Refactor: Rename

* Cleaned up Localized strings file

* Added review fixes

- Added CGFloat multiplier in padding
- Fixed formatting
- Added tracking Support taps

* [Release] Merge v2.8.2 into Develop (#158)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* Release/v2.8.0 (#131)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* [Release v2.8.2] Merge into Develop

## Release Notes: v2.8.2 (1)
This release is due to a requirement to App Store to remove references to donations.  In it’s replacement, a reference to the Litecoin Foundation support page where the user can elect to send LTC if they so choose.
- [Warmfix] Issue:146 Remove direct donation: support litecoin foundati…

##  Other Improvements
- Fix crash in Amount formatter (#140)
- [Bugfix] Renamed enum from State (#147) (#150)

## Bugfixes
 - Renaming the enum caused a conflict with SwiftUI @State

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Hotfix Increment

-Updated to allow upload to App Store

* build number change

* fixed conflicts

Co-authored-by: Mohamed Barry <[email protected]>

* [Bugfix] Replace the LF Support View (#159)

* Moved the LF Cell from Send.

- BartyCrouch linted the stigns files.

* Updated the LF Support location

- Reset the localiaztion language to ‘Customer support’
- Add the dismissal actions

* [Bugfix] Fix buy tab: Simplex urls (#157)

* Updated the url to new servers

* Linted the Localized strings

* Setup url constants

* updated pk file status

* Updated per PR review comments

* fixed naming of the url variable

* [Merge v2.8.3] into Develop (#169)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* Release/v2.8.0 (#131)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* [Release v2.8.2] Merge into Master  (#153)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* Develop - Release/v2.8.0 (#132)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* Fix crash in Amount formatter (#140)

* 🦺 [Tech Debt] Update Podfile and Refactor build process (#144)

* Update Podfile

- Set mimum value of iOS 13
- Removed unused SwiftyJSON
- Removed unused Watch Scheme
- re-added xcscheme
- removed non-used code
- added status badge in README

* removed the podfile target force

* added SPM .build folder exclusion in gitignore

* [Bugfix] Renamed enum from State (#147)

* Renamed enum from State

 ## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState`

* Toggled iOS version 13

* Revert "[Bugfix] Renamed enum from State (#147)" (#150)

This reverts commit ea8293b5c7f206706942416a1d7d9b139926fa97.

* [Warmfix] Issue:146 Remove direct donation: support litecoin foundation (#151)

* Prepared the code for differnt Cell / Remove Donation Code

- Updated localized strings file(s)
- Removed old Donate files
- Updated SendVIewController

* Resolved the previous conflicts

- Added in SupportLitecoinFoundation SwiftUI view and model
- Working in the basic functionality of the new Support Litecoin Foundation view

* Worked in the vars of SupportLitecoinFoundation  view

* Removed Donation code

* Set a URL for the support LTC address

* Add new WebKit view and supporting code

* Adjusted height constants in the nightmare scenario of the SendCell

-There is a nasty sandwich of ViewControllers where SwiftUI should be used.
- This needs to be simplified

# Conflicts:
#	loafwallet/src/ViewControllers/RootModals/SendViewController.swift

* Added new MVVM Views and ViewModels

- Adding more SwiftUI code

* Refactored and stubbed out tests

* version bump

* Renamed enum from State  to ReduxState

## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState` using Xcode Refactor: Rename

* Cleaned up Localized strings file

* Added review fixes

- Added CGFloat multiplier in padding
- Fixed formatting
- Added tracking Support taps

* [Release v2.8.2] Merge into Develop

## Release Notes: v2.8.2 (1)
This release is due to a requirement to App Store to remove references to donations.  In it’s replacement, a reference to the Litecoin Foundation support page where the user can elect to send LTC if they so choose.
- [Warmfix] Issue:146 Remove direct donation: support litecoin foundati…

##  Other Improvements
- Fix crash in Amount formatter (#140)
- [Bugfix] Renamed enum from State (#147) (#150)

## Bugfixes
 - Renaming the enum caused a conflict with SwiftUI @State

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Hotfix Increment

-Updated to allow upload to App Store

* build number change

* fixed conflicts

Co-authored-by: Mohamed Barry <[email protected]>
Co-authored-by: Nikolay Spassov <[email protected]>

* version bump

Co-authored-by: Mohamed Barry <[email protected]>
Co-authored-by: Nikolay Spassov <[email protected]>

* [Feature Issue 154] Adding Unstoppable Domains functionality  (#155)

* Added UD to Podfile

- Stubbed out the view, viewModel and the test class for UD

* [UI Polish] Added images and localized strings

- Added more of strings and UD structure
- Trimmed images to resize for button
- Added localized strings for placeholder

* Updated UnstoppableDomainsView and Model details

- Added DEV notes script
- Adjusted Previews by unchecking the `build install only`

* Added more tests

- UnstoppableDomains View Model tests
- SupportLitecoinFoundationViewModel tests

* reformatted code in new SwiftUI views and viewModels

* Added UD action to the SendViewController

* Updated project

* Updated localized UD Placeholder

* Setup API keys

* removed pk file

* Changed the localizations related to UD

- Added ‘Or’ label
- Added UD placeholder text
- Changed the LTC address placeholder text

* Added in the Or and relayout of the button

- Added Partner layout view for UD and Simplex

* Resolved code review comments

- Update the localizations
- Refactored the UD shared instance (singleton) to retain throguh the call
- Added timing probes

* revert to current  version

* reformatted the Support LF view strings

* Remove Test Playground.

* Removed unused SocialView and ViewModel

* Improved resolution

- Added a Dispatch and ‘exit’ when address is found sooner than 12 secs. Much better experience for the user.

* Added infura

* Resolved review comments

* Rewrote copy for “Enter a Litecoin address”

* Fix some trivial conflict markers (#177)

* [Bugfix] Upgrade the business logic for Unstoppable Domains (#179)

* Fix some triival conflict markers

* Added test to button once the UD string meets a minimum length

* Clears address text field when Lookup button is pressed

* Set the background color of the AlertToast

* Locailization of the alert language

* move logic to release the first responder

* per review notes

* [Feature] Litecoin card v1 (#180)

* [Litecoin Card] Progress Step 1

- Major work: litecoin-card TabBarView refactor
- Updated UIColor for Color
- SwiftUI preview devices
- Working out the  Nav polish
- Fixed hard-coded UD lookup label with proper localizations
- Commented out BitId

* [Litecoin Card] Progress Step 2

- Added more  localizations
- Rebuilding registration view need to add keyboard
- Fixed the animation for the card view
- Fixed Alert name collisions to the SimplexAlert

* [Litecoin Card] Progress Step 3

- Added Login views and localizations
- Added partnerAPI Swift Package
- Layout the registration view
- Add more localizations
- BUGFIX: Image missing in this branch.

* [Litecoin Card] Progress Step 4

More localizations
Added data Validators
Final Polish for Registration View
Registration View Modal wiring works

* [Litecoin Card] Progress Step 5

Register works to the model
Login is working
Added animation for Login/Logout
Login and Loogut working
Added localizations
More localizations

* [Litecoin Card] RC 1 polishes

Communcations polishing + dev cleanup
Polishing the RegistrationView layout
Fixed bug: https://github.com/litecoin-foundation/loafwallet-ios/issues/175

* [Litecoin Card] RC2: removed defunct script

* per review comments

- Ar files removal
- Cleanup localizable
- Removed Ar.proj files
- Removed empty class
- Added all Validation localization framework
- Added localizations of the validations
- Refactored per review notes

* Bugfix- login message

Added failure message localizations

* version bump

* Added some tests

* Refactored the login logic

- Used the status of the binding to change the UI

* Added combined logic  of the email and password fields to enable login button

Reference @losh11 comment:
`The cards login now gives a good login failed alert. However I think the login button should be disabled until the text in the email input is validated as email format.`

* build bump

Co-authored-by: Mohamed Barry <[email protected]>
Co-authored-by: Nikolay Spassov <[email protected]>

* Hide Card Tab

* added comments for v1

Co-authored-by: Mohamed Barry <[email protected]>
Co-authored-by: Nikolay Spassov <[email protected]>

* [Bugfix]UD resolved address / got callback (#193)

* Fixed bug: resolved address / got callback

- Added a dispatch group
- Fixed the bug by  adding wait to the group from (@JohnnyJumper)
- Refactored partner plist

* removed cruft

* polish UD model

* v3.0.1 Card Hidden - found hidden code…

* Resolved review comment

- polished the address send label

* removed unused code

- clean comments

* [Merge into Develop] Release v3.1.1 (#195)

* [Merge v3.0.0] into Master (#183)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* Develop - Release/v2.8.0 (#132)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that has never been called
- Added in 2016
- This is not supported currently

* Change email addresses

Also added feedback and support emails.

* Added HTML for support email

Fixed bitcoin references

* Removed empty UITests

* bump build number

* updated html to be for iPhone only

* Fix podfile and build version

* Revert "[Bugfix] Cleared Simplex  (#126)"

This reverts commit 154eb4fbbe71b4ff1a2323dd316bf7b6783c3b0a.

* bump build number

Co-authored-by: Mohamed Barry <[email protected]>

* Fix crash in Amount formatter (#140)

* 🦺 [Tech Debt] Update Podfile and Refactor build process (#144)

* Update Podfile

- Set mimum value of iOS 13
- Removed unused SwiftyJSON
- Removed unused Watch Scheme
- re-added xcscheme
- removed non-used code
- added status badge in README

* removed the podfile target force

* added SPM .build folder exclusion in gitignore

* [Bugfix] Renamed enum from State (#147)

* Renamed enum from State

 ## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState`

* Toggled iOS version 13

* Revert "[Bugfix] Renamed enum from State (#147)" (#150)

This reverts commit ea8293b5c7f206706942416a1d7d9b139926fa97.

* [Warmfix] Issue:146 Remove direct donation: support litecoin foundation (#151)

* Prepared the code for differnt Cell / Remove Donation Code

- Updated localized strings file(s)
- Removed old Donate files
- Updated SendVIewController

* Resolved the previous conflicts

- Added in SupportLitecoinFoundation SwiftUI view and model
- Working in the basic functionality of the new Support Litecoin Foundation view

* Worked in the vars of SupportLitecoinFoundation  view

* Removed Donation code

* Set a URL for the support LTC address

* Add new WebKit view and supporting code

* Adjusted height constants in the nightmare scenario of the SendCell

-There is a nasty sandwich of ViewControllers where SwiftUI should be used.
- This needs to be simplified

# Conflicts:
#	loafwallet/src/ViewControllers/RootModals/SendViewController.swift

* Added new MVVM Views and ViewModels

- Adding more SwiftUI code

* Refactored and stubbed out tests

* version bump

* Renamed enum from State  to ReduxState

## Problem
 The original design of Breadwallet (Loafwallet) used a SimpleRedux architecture which maanged the State in an unsual (yet effective) way.

Within that design ‘state’ was managed by an enum named “State”

This was fine until SwiftUI and Combine where there is now a name collision since @State is referring to the SwfitUI attribute.

 ## Approach
While redesiging the app would be ideal, the reality is this needs to be fixed as soon as possible because Litewallet is now using SwiftUI.

 Steps to fix the problem:
 - [ ] Renamed variable from `State` to `ReduxState` using Xcode Refactor: Rename

* Cleaned up Localized strings file

* Added review fixes

- Added CGFloat multiplier in padding
- Fixed formatting
- Added tracking Support taps

* [Release] Merge v2.8.2 into Develop (#158)

* [Merge to Master] Develop with tech debt improvements (#123)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

Co-authored-by: Mohamed Barry <[email protected]>

* Release/v2.8.0 (#131)

* fix crash: window required

* compute QR code only once

* run code on main thread

* update cocoapods firebase

* update addresses + event

* version bump

* remove unused fonts

* Updated key for RemoteRunnable in xcscheme

* Added Issue templates (#122)

- Bug Report
- Feature Request
- Also have watch xcscheme added per upgrade

* [Bugfix] Cleared Simplex  (#126)

* Disabled Simplex 
- Was causing crashes when return messages were happening.
- Will update in the next cycle with an updated UI
- Added a Analytics:  DID TAP BUY TAB marker

* Added Coming Soon label to the tableview background view for a temporary sign
- Added all translation for the coming soon message

* ## Release Notes: v2.8.0  (version bump)

This release is the first release in months that needed an update based on the changes in the enviroment. In general, the Litewallet code base is bloated with 1000's of lines of unused code and this makes debugging and adding new features very difficult. In addition, the requirements of iOS 14 and the plan to move from UIKit to a SwiftUI+Combine architecture means subsequent PRs will reflect a more streamlined codebase.

## Tech Debt
- Also have watch xcscheme added per upgrade
- Added Issue templates (#122)
	- Bug Report
	- Feature Request
- Updated key for RemoteRunnable in xcscheme
- remove unused fonts
- run code on main thread
- update cocoapods firebase
- update addresses + event

## Improvements
* compute QR code only once
	- Soft launch for Import QR Code

## Bugfixes
* fix crash: window required

## Temporary Workarounds
The proxy server the supports buying LTC is being refactored and so no mobile clients can use the Simplex service
	* Disabled Simplex / Added temp message
		- Was causing crashes when return messages were happening.
		- Will update in the next cycle with an updated UI
		- Added a Analytics:  DID TAP BUY TAB marker
		- Added Coming Soon label to the tableview background view for a temporary sign
		- Added all translation for the coming soon message

## Authors
Kerry Washington <[email protected]>
Mohamed Barry <[email protected]>

* Removed schemes (#125)

Goal: Reduce the codebase in prep for a major refactor. This removed the debug scheme and watch scheme.

* [Tech Debt] Remove Apple Watch code (#124)

* Remove  Apple Watch code

- The Apple Code is very old and has never been updated.
- There is a longer plan to remove superflous code.
- If others ask to re-add it we will look again with the later versions

* Removed NotificationServiceExtension

- This is cruft that h…
  • Loading branch information
3 people authored Jun 8, 2021
1 parent 43f30a8 commit 6b3c6c4
Show file tree
Hide file tree
Showing 81 changed files with 2,130 additions and 1,705 deletions.
39 changes: 0 additions & 39 deletions .circleci/config.yml

This file was deleted.

30 changes: 13 additions & 17 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
---
name: Bug report - Litewallet iOS
about: Create a report to help us improve Litewallet
title: 'Bug - Litewallet iOS'
name: 🦟[Bug Report]
about: An issue for when Litewallet:iOS is not operating as expected.
title: '🦟[Bug Report]'
labels: 'bug'
assignees: 'kcw-grunt'

---

<!--Reporter: Please read! When the app is not operating as you want it but still performs as expected, that is a **feature request**-->

**Describe the bug**
A clear and concise description of what the bug is.
<!--A clear and concise description of what the bug is.-->

**To Reproduce**
Steps to reproduce the behavior:
Expand All @@ -17,19 +19,13 @@ Steps to reproduce the behavior:
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.
<!--If applicable, add screenshots to help explain your problem.-->

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Litewallet Version [e.g. 22]
**Observed Environment**
- OS version [e.g. _iOS 13.0_]:
- Litewallet Version [e.g. _v3.4.0_]:
- Device model:[e.g. _iPhone 11_]:

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]

**Additional context**
Add any other context about the problem here.
**Additional context or information**
<!--Add any other context about the problem here.-->
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: 🥳[Feature]
about: An issue that improves Litewallet:iOS
title: '🥳[Feature]'
labels: 'enhancement'
assignees: 'kcw-grunt'

---

## Overview

### Why?
**Is your request related to a problem? Or, do you have an idea to improve the app? Please describe.**
<!-- A clear and concise description of your idea. -->


### What?
**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered**
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Additional context**
<!-- Add any other context or screenshots about the feature request here. -->

### Definition of Done
- [ ] Action 1
- [ ] Action 2
- [ ] Action N

## UI Changes

|**Before**|**After**|
|----------|---------|
|<!-- Insert _before_ screenshot or gif-->|<!-- Insert _after_ screenshot or gif if you can-->|
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: 💡[Request]
about: An issue that asks the Litewallet:iOS team if they could change the app.
title: '💡[Request]'
labels: 'request'
assignees: 'kcw-grunt'

---

## Request overview

### Why is it important?
**Is your request related to a problem? Or, do you have an idea to improve the app? Please describe.**
<!-- A clear and concise description of your idea. -->

**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered**
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Additional context**
<!-- Add any other context or screenshots about the feature request here. -->
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/spike.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: 📌[Spike]
about: An issue where no code is written but some research and planning is done for Litewallet:iOS
title: '📌[Spike]'
labels: 'spike'
assignees: 'kcw-grunt'

---
## Subject
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/tech_debt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: 🦺[Tech Debt]
about: An issue that maintains/strengthens the Litewallet:iOS code or system and **not** necessarily visible in the UI
title: '🦺[Tech Debt]'
labels: 'tech debt'
assignees: 'kcw-grunt'

---

## Goal
**Describe the work to be done**
<!-- A clear and concise description of what you want to happen. -->

## Definition of Done
- [ ] Action 1
- [ ] Action 2
- [ ] Action N
32 changes: 0 additions & 32 deletions .github/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/feature_request.md

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Send release email
on:
push:
branches:
- release
jobs:
send_email:
runs-on: ubuntu-latest
name: send_email
steps:
- name: Send email
# You may pin to the exact commit or the version.
# uses: dawidd6/action-send-mail@98b61f505d216dafd844f3bfca5b2972df822dab
uses: dawidd6/[email protected]
with:
# Required mail server address:
server_address: smtp.gmail.com
# Required mail server port:
server_port: 465
# Required mail server username:
username: ${{secrets.MAIL_AGENT_USERNAME}}
# Required mail server password:
password: ${{secrets.MAIL_AGENT_PASSWORD}}
# Required mail subject:
subject: Litewallet iOS Release almost ready
# Required recipients' addresses:
to: ${{secrets.MAIL_ORI}},${{secrets.MAIL_KERRY}}
# Required sender full name (address can be skipped):
from: <[email protected]> # <[email protected]> Litewallet iOS Github Repo
# Optional whether this connection use TLS (default is true if server_port is 465)
secure: true
# Optional plain body:
body: Build job of ${{github.repository}} completed successfully!
# Optional HTML body read from file:
html_body: file://README.html
# Optional carbon copy recipients:
cc: [email protected]
# Optional recipient of the email response:
reply_to: [email protected]
# Optional unsigned/invalid certificates allowance:
ignore_cert: true
# Optional converting Markdown to HTML (set content_type to text/html too):
convert_markdown: true
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ fastlane/screenshots
fastlane/test_output
Screenshots/shots
.DS_Store
loafwallet/partner-keys.plist
loafwallet/GoogleService-Info.plist
partner-keys.plist

36 changes: 26 additions & 10 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,40 @@
# Uncomment the next line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'
workspace 'loafwallet.xcworkspace'
project 'loafwallet.xcodeproj', 'Debug' => :debug,'Release' => :release
use_frameworks!
platform :ios, '13.0'

#Shared Cocopods
def shared_pods
pod 'UnstoppableDomainsResolution', '~> 0.3.0'
#Shared Cocoapods
def shared_pods
pod 'UnstoppableDomainsResolution', '~> 0.3.6'
pod 'KeychainAccess', '~> 4.2'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
# add after v2.9.0 pod 'SwiftLint'
pod 'Firebase/Analytics', '~> 6.0'
pod 'Firebase/Crashlytics', '~> 6.0'
# add pod 'SwiftLint'
end

#Main targets
target 'loafwallet' do
shared_pods
shared_pods
target 'loafwalletTests' do
inherit! :search_paths
end
end

#Setting the Cocoapods config
post_install do |installer|

#Removes the arm64 models from the sim / test . May be removed when iOS can handle.
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end

target 'loafwalletTests' do
inherit! :search_paths
#Sets all pods to iOS 10.0 or greater
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
end
end

end

6 changes: 6 additions & 0 deletions README.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html>
<body>
<h1>TEST GH Action</h1>
</body>
</html>
Loading

0 comments on commit 6b3c6c4

Please sign in to comment.