Skip to content

Commit

Permalink
🚀[Release v.2.10.0-20240421] Merge into Main (#181)
Browse files Browse the repository at this point in the history
* Prevent view not rendering in layout editor

* code cleanup

* missing resources

* reduce toolbar height

* Specify a material colors for the app

* Remove unused file

* Transfer view

* update litecoin card image

* move constants where they are used

* respect constant nomenclature

* make “ltcPriceLbl” same textSize as “ltcAmount”

* WIP: Login/Register views (#159)

* Dynamic donation (#118)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* increase donation but height

* version bump (#121)

* Fee types (#123)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* add luxury fee’s type

* set default values

* dynamic donation: make sure fee is regular

* add note to refactor later

* WIP: Timber crashlytics (#124)

* timber integration + replace Log with Timber

* Replace all Log with Timber.
In production environment Timber.e() or Timber.i() will automatically report any crash or message to FirebaseCrashlytics

* better description

* Kcw grunt/fbug fixes bugfixes (#126)

* WIP working out the cross lang acceptance.

WIP removing Firebase Manager code.

Revert "WIP working out the cross lang acceptance."

This reverts commit 4cfbafca0c841df6945216c63959fcede0487470.

WIP working out the conflicts

Analytics working getting more locations.

* tested all custom events refactored to the standard firebase way

* removed dev code

* added Analytics Manager class

* update per review notes

* moved the costants and removed enum

* version bump

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* V1.19.0 (#135)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

Co-authored-by: mosadialiou <[email protected]>

* version bump and send test checks (#138)

* new donate addresses (#136)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

* new donate addresses

* add ADDRESS_SCHEME key to donation event

* fix inverted key-value

* clean up

Co-authored-by: Kerry Washington <[email protected]>

* version bump

* Added Litewallet

* fix broken link

* updated README.md (#145)

* updated README.md

* added links

* uodate header image

* new hdr

* added donations

* move donations

* change link

* add private link

* polish link

* copy edit

* add indo

* address

* fix addresses

* Bugfix: [UI Alignment] Extra comma in send view (#153)

* fix extra comma in send view

* Refactor getReceiver method

* remove extra linebreak

* code cleanup

* remove dead code

* reverse check order for perf.

* Fix: remove “donate to” prepended to the donation account

* remove “PLATFORM” which is already added by Firebase Analytics

* to v1.19.3 (612) (#154)

* use bottom navigation view

* update buy/spend/receive navigation icons

* Change send/receive navigation icon names

* localize history tab title

* Just “Acheter”

* Add fonts as resources

* setup kotlin

* upgrade grade + dependencies

* login/register views

* Replace search icon with menu icon and show up LTC price

* login/register UX

* Prevent view not rendering in layout editor

* code cleanup

* missing resources

* reduce toolbar height

* Specify a material colors for the app

* Remove unused file

* Transfer view

* update litecoin card image

Co-authored-by: Kerry Washington <[email protected]>

* version bump and upgrade

* make sure listeners are not NULL

* make sure to call super

* remove unused code

* Move transactions to HistoryFragment

* fix typo

* Remove fonts in assets folder. Delete BREdit and BRText and use styles

* Reformat Code: layout files

* Reformat code: anim files

* Reformat code: animator files

* code refactor

* connect login and register views to API

* make partnerapi as git submodule

* update partnerapi

* BRKeystore: remove duplicated entry (FAIL_COUNT_ALIAS)

* after successful registration, show up a confirmation and send user back to login

* remove test code

* add ktlint and format kotlin files

* update partnerapi

* fix typo

* set views Ids

* Transfer view: add “Logout” button and handle navigation

* transfer view: add padding bottom to “Transfer” button

* gradle: code format

* use default NDK version=21.0.6113669

* use Timber instead of Log

* convert BreadActivity to FragmentActivity in order to handle back pressed from fragments

* handle back button on BuyFragment

* upgrade firebase libs version to latest

* Handle AUD, GBP, HKD, IDR, RUB and SGD currencies

* upgrade gradle/gradle build tool to respectively 6.5 and 4.1.0

* handle document upload for KYC verification

* update support/policy/social links

* update README: replace iOS by Android

* use zendesk support email address

* make sure the selected fiat option is always visible

* setup kotlin

* cleanup + use timber

* use androidx fragment

* update libs

* FragmentSend: IDE convertion to kotlin

* FragmentSend: tweak kotlin conversion

* FragmentSend: UD integration

* BRButton: disable touch effect when disabled

* DynamicDonationFragment: convert to android

* DynamicDonationFragment: use lambda

* UDResolution: only resolve LTC domains

* FragmentSend: translation

* translate “Lookup”

* rename tryBitcoinURL to tryLitecoinURL

* add kotlin doc

* Release v1.20.0 (simplex) (#190)

* FragmentBuy: use https for simplex prod URL

* bump app version 1.20.0(630)

* Release v1.20.0 - Simplex (#187)

* upgraded Gradle

* upgraded to androidx and synced gradle

* Reverted test to menu

* Added brand fonts

* added color names

* replaced logo with new logo and added litewallet blue and removed some gradient views

# Conflicts:
#	app/.cxx/cmake/loafDebug/x86/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86/.ninja_log

* gradle sync

* refactoring views..still need to add version code to launch screen

# Conflicts:
#	.idea/caches/build_file_checksums.ser
#	.idea/caches/gradle_models.ser
#	app/.cxx/cmake/loafDebug/x86/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86/.ninja_log

* updated per latest gradle

* added in the version number at login

* removed superflous L

* polished header

* moved version label for intro

# Conflicts:
#	app/.cxx/cmake/loafDebug/arm64-v8a/.ninja_deps
#	app/.cxx/cmake/loafDebug/arm64-v8a/.ninja_log
#	app/.cxx/cmake/loafDebug/armeabi-v7a/.ninja_deps
#	app/.cxx/cmake/loafDebug/armeabi-v7a/.ninja_log
#	app/.cxx/cmake/loafDebug/x86_64/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86_64/.ninja_log

* upgrade to 26 min and 29 Android

* worked in the donate layouts but not functional

* WIP added buy tab button

* WIP buy tab

* WIP added in the buy tab prior to the webview

* added in webview got Buy Tab

* comment out the Buy Tab until server is ready

* update for signing fixed naming

* updated icons and Litewallet naming

* added USE Biometric permission

* moved layout

* added in the old toolbar and logo but flipper still being debugged

* WIP debuggin layout of the header toolbar

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* V1.18.1 (#65)

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* show up buy button

* Upgrade dependencies

* added donation info and functionality (#67)

* added donation info and functionality

* per review comments

* Tweak L/$ price labels animation (#69)

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* Tweak L/$ price labels animation

* remove useless attributes clipChildren and clipToPadding

* Revert "remove useless attributes clipChildren and clipToPadding"

This reverts commit 0a4fec50b6d4e322ed19315d802f09544b8c60f6.

* Ea/update fonts (#70)

* Use BarlowSemiCondensed in lieu of CircularPro (excluding CircularPro-Book)

* Swap CircularPro-Book.otf for BarlowSemiCondensed-Medium.ttf

* added circleci and build bump

* updated cofing.yml v2

* update config.yml v 3

* update v4

* update v6

* linter error fix for ci, small confirm field polish

* silence linter on InvalidPackages

* error fix update gradle

* turn off abortonError

* List of partners screen

* Handle tap on simplex partner item

* code clean-up

* refactor the buy URL generation

* pass choosen currency code to buy fragment

* Remove horizontal linear layout and base align “choose fiat” with CAD, EUR, JPY and USD

* Dynamic donation (#118)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* increase donation but height

* version bump (#121)

* Fee types (#123)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* add luxury fee’s type

* set default values

* dynamic donation: make sure fee is regular

* add note to refactor later

* WIP: Timber crashlytics (#124)

* timber integration + replace Log with Timber

* Replace all Log with Timber.
In production environment Timber.e() or Timber.i() will automatically report any crash or message to FirebaseCrashlytics

* better description

* Kcw grunt/fbug fixes bugfixes (#126)

* WIP working out the cross lang acceptance.

WIP removing Firebase Manager code.

Revert "WIP working out the cross lang acceptance."

This reverts commit 4cfbafca0c841df6945216c63959fcede0487470.

WIP working out the conflicts

Analytics working getting more locations.

* tested all custom events refactored to the standard firebase way

* removed dev code

* added Analytics Manager class

* update per review notes

* moved the costants and removed enum

* version bump

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* V1.19.0 (#135)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

Co-authored-by: mosadialiou <[email protected]>

* version bump and send test checks (#138)

* new donate addresses (#136)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

* new donate addresses

* add ADDRESS_SCHEME key to donation event

* fix inverted key-value

* clean up

Co-authored-by: Kerry Washington <[email protected]>

* version bump

* Added Litewallet

* fix broken link

* updated README.md (#145)

* updated README.md

* added links

* uodate header image

* new hdr

* added donations

* move donations

* change link

* add private link

* polish link

* copy edit

* add indo

* address

* fix addresses

* Bugfix: [UI Alignment] Extra comma in send view (#153)

* fix extra comma in send view

* Refactor getReceiver method

* remove extra linebreak

* code cleanup

* remove dead code

* reverse check order for perf.

* Fix: remove “donate to” prepended to the donation account

* remove “PLATFORM” which is already added by Firebase Analytics

* to v1.19.3 (612) (#154)

* use Timber instead of Log

* convert BreadActivity to FragmentActivity in order to handle back pressed from fragments

* handle back button on BuyFragment

* upgrade firebase libs version to latest

* Handle AUD, GBP, HKD, IDR, RUB and SGD currencies

* upgrade gradle/gradle build tool to respectively 6.5 and 4.1.0

* handle document upload for KYC verification

* update support/policy/social links

* update README: replace iOS by Android

* use zendesk support email address

* make sure the selected fiat option is always visible

* FragmentBuy: use https for simplex prod URL

* bump app version 1.20.0(630)

Co-authored-by: Kerry <[email protected]>
Co-authored-by: Ebenezer <[email protected]>

* bump app version 1.21.0(631)

* bugfix: send view stays after send confirmation disappears

* remove UD error toasts

* clear the LTC address before each Lookup

* show up a confirmation toast if UD resolution is successful

* bump version v1.21.0(632)

* UD: add Analytics events

* FragmentSend: disable Lookup button until the domain string is at least 4 chars

* bump version v1.21.0(633)

* Release v1.21.0 (#193)

* upgraded Gradle

* upgraded to androidx and synced gradle

* Reverted test to menu

* Added brand fonts

* added color names

* replaced logo with new logo and added litewallet blue and removed some gradient views

# Conflicts:
#	app/.cxx/cmake/loafDebug/x86/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86/.ninja_log

* gradle sync

* refactoring views..still need to add version code to launch screen

# Conflicts:
#	.idea/caches/build_file_checksums.ser
#	.idea/caches/gradle_models.ser
#	app/.cxx/cmake/loafDebug/x86/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86/.ninja_log

* updated per latest gradle

* added in the version number at login

* removed superflous L

* polished header

* moved version label for intro

# Conflicts:
#	app/.cxx/cmake/loafDebug/arm64-v8a/.ninja_deps
#	app/.cxx/cmake/loafDebug/arm64-v8a/.ninja_log
#	app/.cxx/cmake/loafDebug/armeabi-v7a/.ninja_deps
#	app/.cxx/cmake/loafDebug/armeabi-v7a/.ninja_log
#	app/.cxx/cmake/loafDebug/x86_64/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86_64/.ninja_log

* upgrade to 26 min and 29 Android

* worked in the donate layouts but not functional

* WIP added buy tab button

* WIP buy tab

* WIP added in the buy tab prior to the webview

* added in webview got Buy Tab

* comment out the Buy Tab until server is ready

* update for signing fixed naming

* updated icons and Litewallet naming

* added USE Biometric permission

* moved layout

* added in the old toolbar and logo but flipper still being debugged

* WIP debuggin layout of the header toolbar

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* V1.18.1 (#65)

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* show up buy button

* Upgrade dependencies

* added donation info and functionality (#67)

* added donation info and functionality

* per review comments

* Tweak L/$ price labels animation (#69)

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* Tweak L/$ price labels animation

* remove useless attributes clipChildren and clipToPadding

* Revert "remove useless attributes clipChildren and clipToPadding"

This reverts commit 0a4fec50b6d4e322ed19315d802f09544b8c60f6.

* Ea/update fonts (#70)

* Use BarlowSemiCondensed in lieu of CircularPro (excluding CircularPro-Book)

* Swap CircularPro-Book.otf for BarlowSemiCondensed-Medium.ttf

* added circleci and build bump

* updated cofing.yml v2

* update config.yml v 3

* update v4

* update v6

* linter error fix for ci, small confirm field polish

* silence linter on InvalidPackages

* error fix update gradle

* turn off abortonError

* List of partners screen

* Handle tap on simplex partner item

* code clean-up

* refactor the buy URL generation

* pass choosen currency code to buy fragment

* Remove horizontal linear layout and base align “choose fiat” with CAD, EUR, JPY and USD

* Dynamic donation (#118)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* increase donation but height

* version bump (#121)

* Fee types (#123)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* add luxury fee’s type

* set default values

* dynamic donation: make sure fee is regular

* add note to refactor later

* WIP: Timber crashlytics (#124)

* timber integration + replace Log with Timber

* Replace all Log with Timber.
In production environment Timber.e() or Timber.i() will automatically report any crash or message to FirebaseCrashlytics

* better description

* Kcw grunt/fbug fixes bugfixes (#126)

* WIP working out the cross lang acceptance.

WIP removing Firebase Manager code.

Revert "WIP working out the cross lang acceptance."

This reverts commit 4cfbafca0c841df6945216c63959fcede0487470.

WIP working out the conflicts

Analytics working getting more locations.

* tested all custom events refactored to the standard firebase way

* removed dev code

* added Analytics Manager class

* update per review notes

* moved the costants and removed enum

* version bump

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* V1.19.0 (#135)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

Co-authored-by: mosadialiou <[email protected]>

* version bump and send test checks (#138)

* new donate addresses (#136)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

* new donate addresses

* add ADDRESS_SCHEME key to donation event

* fix inverted key-value

* clean up

Co-authored-by: Kerry Washington <[email protected]>

* version bump

* Added Litewallet

* fix broken link

* updated README.md (#145)

* updated README.md

* added links

* uodate header image

* new hdr

* added donations

* move donations

* change link

* add private link

* polish link

* copy edit

* add indo

* address

* fix addresses

* Bugfix: [UI Alignment] Extra comma in send view (#153)

* fix extra comma in send view

* Refactor getReceiver method

* remove extra linebreak

* code cleanup

* remove dead code

* reverse check order for perf.

* Fix: remove “donate to” prepended to the donation account

* remove “PLATFORM” which is already added by Firebase Analytics

* to v1.19.3 (612) (#154)

* use Timber instead of Log

* convert BreadActivity to FragmentActivity in order to handle back pressed from fragments

* handle back button on BuyFragment

* upgrade firebase libs version to latest

* Handle AUD, GBP, HKD, IDR, RUB and SGD currencies

* upgrade gradle/gradle build tool to respectively 6.5 and 4.1.0

* handle document upload for KYC verification

* update support/policy/social links

* update README: replace iOS by Android

* use zendesk support email address

* make sure the selected fiat option is always visible

* setup kotlin

* cleanup + use timber

* use androidx fragment

* update libs

* FragmentSend: IDE convertion to kotlin

* FragmentSend: tweak kotlin conversion

* FragmentSend: UD integration

* BRButton: disable touch effect when disabled

* DynamicDonationFragment: convert to android

* DynamicDonationFragment: use lambda

* UDResolution: only resolve LTC domains

* FragmentSend: translation

* translate “Lookup”

* rename tryBitcoinURL to tryLitecoinURL

* add kotlin doc

* Release v1.20.0 (simplex) (#190)

* FragmentBuy: use https for simplex prod URL

* bump app version 1.20.0(630)

* bump app version 1.21.0(631)

* bugfix: send view stays after send confirmation disappears

* remove UD error toasts

* clear the LTC address before each Lookup

* show up a confirmation toast if UD resolution is successful

* bump version v1.21.0(632)

* UD: add Analytics events

* FragmentSend: disable Lookup button until the domain string is at least 4 chars

* bump version v1.21.0(633)

Co-authored-by: Kerry <[email protected]>
Co-authored-by: Ebenezer <[email protected]>

* fix build errors

* Tapping on BuyTab shows up the BuyTabFragment

* BuyTabFragment: add horizontal divider

* replace listener with lambda

* BuyTab: change fiat selector

* FragmentBuy: add toolbar and show progress while page is loading

* rename menu tab from “Spend” to “Card”

* change register view header title

* register view: change fields order according to iOS

* register view: remove address2 field

* login view: handle forgot password

* tweak login/register views

* transfer view v1

* update partnerapi lib

* Replace “Bread” with “Litewallet”

* Replace “Bread” with “Litewallet”

* remove empty java class

* bugFix(Send view): Send with Scan crashes

* ScanQRActivity: code clean-up

* login/register views: extract texts into strings resource

* Buy tab: remove “choose fiat” from partner item view

* login/register views: localize texts

* reduce password length from 8 to 6 at least

* bump version v2.0.0(634)

* bugfix: make sure the market price displays only 2 decimals

* bump version v2.0.0(635)

* Release v2.0.0 card v1 (#202)

* upgraded Gradle

* upgraded to androidx and synced gradle

* Reverted test to menu

* Added brand fonts

* added color names

* replaced logo with new logo and added litewallet blue and removed some gradient views

# Conflicts:
#	app/.cxx/cmake/loafDebug/x86/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86/.ninja_log

* gradle sync

* refactoring views..still need to add version code to launch screen

# Conflicts:
#	.idea/caches/build_file_checksums.ser
#	.idea/caches/gradle_models.ser
#	app/.cxx/cmake/loafDebug/x86/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86/.ninja_log

* updated per latest gradle

* added in the version number at login

* removed superflous L

* polished header

* moved version label for intro

# Conflicts:
#	app/.cxx/cmake/loafDebug/arm64-v8a/.ninja_deps
#	app/.cxx/cmake/loafDebug/arm64-v8a/.ninja_log
#	app/.cxx/cmake/loafDebug/armeabi-v7a/.ninja_deps
#	app/.cxx/cmake/loafDebug/armeabi-v7a/.ninja_log
#	app/.cxx/cmake/loafDebug/x86_64/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86_64/.ninja_log

* upgrade to 26 min and 29 Android

* worked in the donate layouts but not functional

* WIP added buy tab button

* WIP buy tab

* WIP added in the buy tab prior to the webview

* added in webview got Buy Tab

* comment out the Buy Tab until server is ready

* update for signing fixed naming

* updated icons and Litewallet naming

* added USE Biometric permission

* moved layout

* added in the old toolbar and logo but flipper still being debugged

* WIP debuggin layout of the header toolbar

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* V1.18.1 (#65)

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* show up buy button

* Upgrade dependencies

* added donation info and functionality (#67)

* added donation info and functionality

* per review comments

* Tweak L/$ price labels animation (#69)

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* Tweak L/$ price labels animation

* remove useless attributes clipChildren and clipToPadding

* Revert "remove useless attributes clipChildren and clipToPadding"

This reverts commit 0a4fec50b6d4e322ed19315d802f09544b8c60f6.

* Ea/update fonts (#70)

* Use BarlowSemiCondensed in lieu of CircularPro (excluding CircularPro-Book)

* Swap CircularPro-Book.otf for BarlowSemiCondensed-Medium.ttf

* added circleci and build bump

* updated cofing.yml v2

* update config.yml v 3

* update v4

* update v6

* linter error fix for ci, small confirm field polish

* silence linter on InvalidPackages

* error fix update gradle

* turn off abortonError

* List of partners screen

* Handle tap on simplex partner item

* code clean-up

* refactor the buy URL generation

* pass choosen currency code to buy fragment

* Remove horizontal linear layout and base align “choose fiat” with CAD, EUR, JPY and USD

* Dynamic donation (#118)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* increase donation but height

* version bump (#121)

* Fee types (#123)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* add luxury fee’s type

* set default values

* dynamic donation: make sure fee is regular

* add note to refactor later

* WIP: Timber crashlytics (#124)

* timber integration + replace Log with Timber

* Replace all Log with Timber.
In production environment Timber.e() or Timber.i() will automatically report any crash or message to FirebaseCrashlytics

* better description

* Kcw grunt/fbug fixes bugfixes (#126)

* WIP working out the cross lang acceptance.

WIP removing Firebase Manager code.

Revert "WIP working out the cross lang acceptance."

This reverts commit 4cfbafca0c841df6945216c63959fcede0487470.

WIP working out the conflicts

Analytics working getting more locations.

* tested all custom events refactored to the standard firebase way

* removed dev code

* added Analytics Manager class

* update per review notes

* moved the costants and removed enum

* version bump

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* V1.19.0 (#135)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

Co-authored-by: mosadialiou <[email protected]>

* version bump and send test checks (#138)

* new donate addresses (#136)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

* new donate addresses

* add ADDRESS_SCHEME key to donation event

* fix inverted key-value

* clean up

Co-authored-by: Kerry Washington <[email protected]>

* version bump

* Added Litewallet

* fix broken link

* updated README.md (#145)

* updated README.md

* added links

* uodate header image

* new hdr

* added donations

* move donations

* change link

* add private link

* polish link

* copy edit

* add indo

* address

* fix addresses

* Bugfix: [UI Alignment] Extra comma in send view (#153)

* fix extra comma in send view

* Refactor getReceiver method

* remove extra linebreak

* code cleanup

* remove dead code

* reverse check order for perf.

* Fix: remove “donate to” prepended to the donation account

* remove “PLATFORM” which is already added by Firebase Analytics

* to v1.19.3 (612) (#154)

* use bottom navigation view

* update buy/spend/receive navigation icons

* Change send/receive navigation icon names

* localize history tab title

* Just “Acheter”

* Add fonts as resources

* setup kotlin

* upgrade grade + dependencies

* login/register views

* Replace search icon with menu icon and show up LTC price

* login/register UX

* Prevent view not rendering in layout editor

* code cleanup

* missing resources

* reduce toolbar height

* Specify a material colors for the app

* Remove unused file

* Transfer view

* update litecoin card image

* move constants where they are used

* respect constant nomenclature

* make “ltcPriceLbl” same textSize as “ltcAmount”

* WIP: Login/Register views (#159)

* Dynamic donation (#118)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* increase donation but height

* version bump (#121)

* Fee types (#123)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* add luxury fee’s type

* set default values

* dynamic donation: make sure fee is regular

* add note to refactor later

* WIP: Timber crashlytics (#124)

* timber integration + replace Log with Timber

* Replace all Log with Timber.
In production environment Timber.e() or Timber.i() will automatically report any crash or message to FirebaseCrashlytics

* better description

* Kcw grunt/fbug fixes bugfixes (#126)

* WIP working out the cross lang acceptance.

WIP removing Firebase Manager code.

Revert "WIP working out the cross lang acceptance."

This reverts commit 4cfbafca0c841df6945216c63959fcede0487470.

WIP working out the conflicts

Analytics working getting more locations.

* tested all custom events refactored to the standard firebase way

* removed dev code

* added Analytics Manager class

* update per review notes

* moved the costants and removed enum

* version bump

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* V1.19.0 (#135)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

Co-authored-by: mosadialiou <[email protected]>

* version bump and send test checks (#138)

* new donate addresses (#136)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

* new donate addresses

* add ADDRESS_SCHEME key to donation event

* fix inverted key-value

* clean up

Co-authored-by: Kerry Washington <[email protected]>

* version bump

* Added Litewallet

* fix broken link

* updated README.md (#145)

* updated README.md

* added links

* uodate header image

* new hdr

* added donations

* move donations

* change link

* add private link

* polish link

* copy edit

* add indo

* address

* fix addresses

* Bugfix: [UI Alignment] Extra comma in send view (#153)

* fix extra comma in send view

* Refactor getReceiver method

* remove extra linebreak

* code cleanup

* remove dead code

* reverse check order for perf.

* Fix: remove “donate to” prepended to the donation account

* remove “PLATFORM” which is already added by Firebase Analytics

* to v1.19.3 (612) (#154)

* use bottom navigation view

* update buy/spend/receive navigation icons

* Change send/receive navigation icon names

* localize history tab title

* Just “Acheter”

* Add fonts as resources

* setup kotlin

* upgrade grade + dependencies

* login/register views

* Replace search icon with menu icon and show up LTC price

* login/register UX

* Prevent view not rendering in layout editor

* code cleanup

* missing resources

* reduce toolbar height

* Specify a material colors for the app

* Remove unused file

* Transfer view

* update litecoin card image

Co-authored-by: Kerry Washington <[email protected]>

* version bump and upgrade

* make sure listeners are not NULL

* make sure to call super

* remove unused code

* Move transactions to HistoryFragment

* fix typo

* Remove fonts in assets folder. Delete BREdit and BRText and use styles

* Reformat Code: layout files

* Reformat code: anim files

* Reformat code: animator files

* code refactor

* connect login and register views to API

* make partnerapi as git submodule

* update partnerapi

* BRKeystore: remove duplicated entry (FAIL_COUNT_ALIAS)

* after successful registration, show up a confirmation and send user back to login

* remove test code

* add ktlint and format kotlin files

* update partnerapi

* fix typo

* set views Ids

* Transfer view: add “Logout” button and handle navigation

* transfer view: add padding bottom to “Transfer” button

* gradle: code format

* use default NDK version=21.0.6113669

* use Timber instead of Log

* convert BreadActivity to FragmentActivity in order to handle back pressed from fragments

* handle back button on BuyFragment

* upgrade firebase libs version to latest

* Handle AUD, GBP, HKD, IDR, RUB and SGD currencies

* upgrade gradle/gradle build tool to respectively 6.5 and 4.1.0

* handle document upload for KYC verification

* update support/policy/social links

* update README: replace iOS by Android

* use zendesk support email address

* make sure the selected fiat option is always visible

* setup kotlin

* cleanup + use timber

* use androidx fragment

* update libs

* FragmentSend: IDE convertion to kotlin

* FragmentSend: tweak kotlin conversion

* FragmentSend: UD integration

* BRButton: disable touch effect when disabled

* DynamicDonationFragment: convert to android

* DynamicDonationFragment: use lambda

* UDResolution: only resolve LTC domains

* FragmentSend: translation

* translate “Lookup”

* rename tryBitcoinURL to tryLitecoinURL

* add kotlin doc

* Release v1.20.0 (simplex) (#190)

* FragmentBuy: use https for simplex prod URL

* bump app version 1.20.0(630)

* bump app version 1.21.0(631)

* bugfix: send view stays after send confirmation disappears

* remove UD error toasts

* clear the LTC address before each Lookup

* show up a confirmation toast if UD resolution is successful

* bump version v1.21.0(632)

* UD: add Analytics events

* FragmentSend: disable Lookup button until the domain string is at least 4 chars

* bump version v1.21.0(633)

* fix build errors

* Tapping on BuyTab shows up the BuyTabFragment

* BuyTabFragment: add horizontal divider

* replace listener with lambda

* BuyTab: change fiat selector

* FragmentBuy: add toolbar and show progress while page is loading

* rename menu tab from “Spend” to “Card”

* change register view header title

* register view: change fields order according to iOS

* register view: remove address2 field

* login view: handle forgot password

* tweak login/register views

* transfer view v1

* update partnerapi lib

* Replace “Bread” with “Litewallet”

* Replace “Bread” with “Litewallet”

* remove empty java class

* bugFix(Send view): Send with Scan crashes

* ScanQRActivity: code clean-up

* login/register views: extract texts into strings resource

* Buy tab: remove “choose fiat” from partner item view

* login/register views: localize texts

* reduce password length from 8 to 6 at least

* bump version v2.0.0(634)

* bugfix: make sure the market price displays only 2 decimals

* bump version v2.0.0(635)

Co-authored-by: Kerry <[email protected]>
Co-authored-by: Ebenezer <[email protected]>

* refacto(FragmentMenu): use lambda + code reformat

* feature: Replace Customer Email with Zendesk HC

* [TechDebt] Add issue templates (#208)

* Add issue templates

* polished per comments

* [Bugfix] Header price update occludes the other text (#207)

* Change the font mixe

* Set the font to autosizing

- helps by setting the max width

* add balance label in header

* fix error: Attribute autoSizeMinTextSize is only used in API level 26 and higher (current min is 23)

* fix crash from Firebase: BreadActivity.java line 444
https://github.com/litecoin-foundation/loafwallet-android/issues/211

* fix crash in RegisterFragment.kt at line 68
https://github.com/litecoin-foundation/loafwallet-android/issues/212

* PR reviews

* bump version v2.1.0(636)

* add card disclaimer dialog

* bump version v2.1.1(637)

* Release v2.1.0 (into master) (#227)

* upgraded Gradle

* upgraded to androidx and synced gradle

* Reverted test to menu

* Added brand fonts

* added color names

* replaced logo with new logo and added litewallet blue and removed some gradient views

# Conflicts:
#	app/.cxx/cmake/loafDebug/x86/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86/.ninja_log

* gradle sync

* refactoring views..still need to add version code to launch screen

# Conflicts:
#	.idea/caches/build_file_checksums.ser
#	.idea/caches/gradle_models.ser
#	app/.cxx/cmake/loafDebug/x86/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86/.ninja_log

* updated per latest gradle

* added in the version number at login

* removed superflous L

* polished header

* moved version label for intro

# Conflicts:
#	app/.cxx/cmake/loafDebug/arm64-v8a/.ninja_deps
#	app/.cxx/cmake/loafDebug/arm64-v8a/.ninja_log
#	app/.cxx/cmake/loafDebug/armeabi-v7a/.ninja_deps
#	app/.cxx/cmake/loafDebug/armeabi-v7a/.ninja_log
#	app/.cxx/cmake/loafDebug/x86_64/.ninja_deps
#	app/.cxx/cmake/loafDebug/x86_64/.ninja_log

* upgrade to 26 min and 29 Android

* worked in the donate layouts but not functional

* WIP added buy tab button

* WIP buy tab

* WIP added in the buy tab prior to the webview

* added in webview got Buy Tab

* comment out the Buy Tab until server is ready

* update for signing fixed naming

* updated icons and Litewallet naming

* added USE Biometric permission

* moved layout

* added in the old toolbar and logo but flipper still being debugged

* WIP debuggin layout of the header toolbar

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* V1.18.1 (#65)

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* show up buy button

* Upgrade dependencies

* added donation info and functionality (#67)

* added donation info and functionality

* per review comments

* Tweak L/$ price labels animation (#69)

* Unversionned app/.cxx folder since it s auto

* Unversionned .idea/caches folder since it is autogenerated

* Fix layout issue: the price = LTC labels

* directly set the text size. the system will scale it

* change ltc price color to white

* update the btc naming to ltc

* use meaningful naming

* remove commented code

* Fix: text prices should be about 20% smaller

* price flipper margins should be lower on the bottom

* Tweak L/$ price labels animation

* remove useless attributes clipChildren and clipToPadding

* Revert "remove useless attributes clipChildren and clipToPadding"

This reverts commit 0a4fec50b6d4e322ed19315d802f09544b8c60f6.

* Ea/update fonts (#70)

* Use BarlowSemiCondensed in lieu of CircularPro (excluding CircularPro-Book)

* Swap CircularPro-Book.otf for BarlowSemiCondensed-Medium.ttf

* added circleci and build bump

* updated cofing.yml v2

* update config.yml v 3

* update v4

* update v6

* linter error fix for ci, small confirm field polish

* silence linter on InvalidPackages

* error fix update gradle

* turn off abortonError

* List of partners screen

* Handle tap on simplex partner item

* code clean-up

* refactor the buy URL generation

* pass choosen currency code to buy fragment

* Remove horizontal linear layout and base align “choose fiat” with CAD, EUR, JPY and USD

* Dynamic donation (#118)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* increase donation but height

* version bump (#121)

* Fee types (#123)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* add luxury fee’s type

* set default values

* dynamic donation: make sure fee is regular

* add note to refactor later

* WIP: Timber crashlytics (#124)

* timber integration + replace Log with Timber

* Replace all Log with Timber.
In production environment Timber.e() or Timber.i() will automatically report any crash or message to FirebaseCrashlytics

* better description

* Kcw grunt/fbug fixes bugfixes (#126)

* WIP working out the cross lang acceptance.

WIP removing Firebase Manager code.

Revert "WIP working out the cross lang acceptance."

This reverts commit 4cfbafca0c841df6945216c63959fcede0487470.

WIP working out the conflicts

Analytics working getting more locations.

* tested all custom events refactored to the standard firebase way

* removed dev code

* added Analytics Manager class

* update per review notes

* moved the costants and removed enum

* version bump

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* V1.19.0 (#135)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

Co-authored-by: mosadialiou <[email protected]>

* version bump and send test checks (#138)

* new donate addresses (#136)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

* new donate addresses

* add ADDRESS_SCHEME key to donation event

* fix inverted key-value

* clean up

Co-authored-by: Kerry Washington <[email protected]>

* version bump

* Added Litewallet

* fix broken link

* updated README.md (#145)

* updated README.md

* added links

* uodate header image

* new hdr

* added donations

* move donations

* change link

* add private link

* polish link

* copy edit

* add indo

* address

* fix addresses

* Bugfix: [UI Alignment] Extra comma in send view (#153)

* fix extra comma in send view

* Refactor getReceiver method

* remove extra linebreak

* code cleanup

* remove dead code

* reverse check order for perf.

* Fix: remove “donate to” prepended to the donation account

* remove “PLATFORM” which is already added by Firebase Analytics

* to v1.19.3 (612) (#154)

* use bottom navigation view

* update buy/spend/receive navigation icons

* Change send/receive navigation icon names

* localize history tab title

* Just “Acheter”

* Add fonts as resources

* setup kotlin

* upgrade grade + dependencies

* login/register views

* Replace search icon with menu icon and show up LTC price

* login/register UX

* Prevent view not rendering in layout editor

* code cleanup

* missing resources

* reduce toolbar height

* Specify a material colors for the app

* Remove unused file

* Transfer view

* update litecoin card image

* move constants where they are used

* respect constant nomenclature

* make “ltcPriceLbl” same textSize as “ltcAmount”

* WIP: Login/Register views (#159)

* Dynamic donation (#118)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* increase donation but height

* version bump (#121)

* Fee types (#123)

* send screen: change donation button

* cleanup

* redundant string.format call

* dynamic donation feature

* localization

* set fee types color to litewallet blue

* move icons to xxx folder

* set donate/send buttons color to litewallet blue

* use spinner instead of numberpicker

* make spinner full width

* increase margin top of slider

* increase slider thumb size

* send screen: tweak ISO but

* send screen: increase donate button height

* Fix wrong donation amount

* add luxury fee’s type

* set default values

* dynamic donation: make sure fee is regular

* add note to refactor later

* WIP: Timber crashlytics (#124)

* timber integration + replace Log with Timber

* Replace all Log with Timber.
In production environment Timber.e() or Timber.i() will automatically report any crash or message to FirebaseCrashlytics

* better description

* Kcw grunt/fbug fixes bugfixes (#126)

* WIP working out the cross lang acceptance.

WIP removing Firebase Manager code.

Revert "WIP working out the cross lang acceptance."

This reverts commit 4cfbafca0c841df6945216c63959fcede0487470.

WIP working out the conflicts

Analytics working getting more locations.

* tested all custom events refactored to the standard firebase way

* removed dev code

* added Analytics Manager class

* update per review notes

* moved the costants and removed enum

* version bump

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* V1.19.0 (#135)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

Co-authored-by: mosadialiou <[email protected]>

* version bump and send test checks (#138)

* new donate addresses (#136)

* Revert 129 fix intro bug (#131)

* fix intro screen (#129)

* Barry/fix ltc testnet (#128)

* Change bitcoin-testnet with litecoin-testnet

* cleanup

* Revert "fix intro screen (#129)"

This reverts commit d355738abff612a9ff0a44ddcf5b9ad80a141c0c.

* Fix intro bug (#130)

* fix intro screen

* fix wrong stroke color

* add intro message

* clean up

* remove globalLayoutListener only if the tree observer is alive

* clean up

Co-authored-by: mosadialiou <[email protected]>

* update loafwallet core (#132)

* version bump

* Hotfix: Users unable to send (#134)

* Fix: Users unable to send

* clean up

* use timber instead

* new donate addresses

* add ADDRESS_SCHEME key to donation event

* fix inverted key-value

* clean up

Co-authored-by: Kerry Washington <[email protected]>

* version bump

* Added Litewallet

* fix broken link

* updated README.md (#145)

* updated README.md

* added links

* uodate header image

* new hdr

* added donations

* move donations

* change link

* add private link

* polish link

* copy edit

* add indo

* address

* fix addresses

* Bugfix: [UI Alignment] Extra comma in send view (#153)

* fix extra comma in send view

* Refactor getReceiver method

* remove extra linebreak

* code cleanup

* remove dead code

* reverse check order for perf.

* Fix: remove “donate to” prepended to the donation account

* remove “PLATFORM” which is already added by Firebase Analytics

* to v1.19.3 (612) (#154)

* use bottom navigation view

* update buy/spend/receive navigation icons

* Change send/receive navigation icon names

* localize history tab title

* Just “Acheter”

* Add fonts as resources

* setup kotlin

* upgrade grade + dependencies

* login/register views

* Replace search icon with menu icon and show up LTC price

* login/register UX

* Prevent view not rendering in layout editor

* code cleanup

* missing resources

* reduce toolbar height

* Specify a material colors for the app

* Remove unused file

* Transfer view

* update litecoin card image

Co-authored-by: Kerry Washington <[email protected]>

* version bump and upgrade

* make sure listeners are not NULL

* make sure to call super

* remove unused code

* Move transactions to HistoryFragment

* fix typo

* Remove fonts in assets folder. Delete BREdit and BRText and use styles

* Reformat Code: layout files

* Reformat code: anim files

* Reformat code: animator files

* code refactor

* connect login and register views to API

* make partnerapi as git submodule

* update partnerapi

* BRKeystore: remove duplicated entry (FAIL_COUNT_ALIAS)

* after successful registration, show up a confirmation and send user back to login

* remove test code

* add ktlint and format kotlin files

* update partnerapi

* fix typo

* set views Ids

* Transfer view: add “Logout” button and handle navigation

* transfer view: add padding bottom to “Transfer” button

* gradle: code format

* use default NDK version=21.0.6113669

* use Timber instead of Log

* convert BreadActivity to FragmentActivity in order to handle back pressed from fragments

* handle back button on BuyFragment

* upgrade firebase libs version to latest

* Handle AUD, GBP, HKD, IDR, RUB and SGD currencies

* upgrade gradle/gradle build tool to respectively 6.5 and 4.1.0

* handle document upload for KYC verification

* update support/policy/social links

* update README: replace iOS by Android

* use zendesk support email address

* make sure the selected fiat option is always visible

* setup kotlin

* cleanup + use timber

* use androidx fragment

* update libs

* FragmentSend: IDE convertion to kotlin

* FragmentSend: tweak kotlin conversion

* FragmentSend: UD integration

* BRButton: disable touch effect when disabled

* DynamicDonationFragment: convert to android

* DynamicDonationFragment: use lambda

* UDResolution: only resolve LTC domains

* FragmentSend: translation

* translate “Lookup”

* rename tryBitcoinURL to tryLitecoinURL

* add…
  • Loading branch information
8 people committed May 21, 2024
1 parent b273cfe commit 9d99ee1
Show file tree
Hide file tree
Showing 78 changed files with 1,165 additions and 883 deletions.
26 changes: 22 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,30 @@ crash.txt
/projectFilesBackup/
/publishTODO.txt
.idea/copyright/
/app/google-services.json
/app/partner-keys.json
/app/src/main/assets/partner-keys.json
/.idea/markdown-navigator/
/app/src/main/java/com/breadwallet/presenter/fragments/FragmentBreadSignal.java
/fastlane/
fastlane/

/.idea/appInsightsSettings.xml

## Partner
/app/partner-keys.json
/app/src/main/assets/partner-keys.json
partner-keys.json
/.idea/appInsightsSettings.xml

## Google Services
app/src/litewallet/release/google-services.json
app/src/release/litewallet/google-services.json
app/src/litewallet/google-services.json
app/src/release/google-services.json
app/src/litewalletRelease/google-services.json
app/google-services.json

app/src/litewallet/debug/google-services.json
app/src/debug/litewallet/google-services.json
app/src/litewallet/google-services.json
app/src/debug/google-services.json
app/src/litewalletDebug/google-services.json
/app/release/google-services.json
/app/debug/google-services.json
13 changes: 13 additions & 0 deletions .idea/androidTestResultsUserPreferences.xml

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

18 changes: 9 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'kotlin-parcelize'

Expand Down Expand Up @@ -66,8 +65,8 @@ android {
applicationId = 'com.loafwallet'
minSdkVersion 31
targetSdkVersion 33
versionCode 20240326
versionName "v2.9.1"
versionCode 20240424
versionName "v2.10.0"
multiDexEnabled true
archivesBaseName = "${versionName}(${versionCode})"

Expand Down Expand Up @@ -214,13 +213,13 @@ android {
}

buildTypes {
// gitUpdateModules()
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

release {
signingConfig signingConfigs.release
minifyEnabled = false
minifyEnabled = true
debuggable = false
//DEV: Mothballing gitUpdateModules() until time to resolve:
//gitUpdateModules()
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

ndk {
minifyEnabled = false
Expand Down Expand Up @@ -318,7 +317,7 @@ dependencies {

// push notifications
implementation 'com.google.firebase:firebase-messaging:23.4.0'
implementation 'com.pusher:push-notifications-android:1.8.0'
implementation 'com.pusher:push-notifications-android:1.9.0'

// Timber
implementation 'com.jakewharton.timber:timber:4.7.1'
Expand Down Expand Up @@ -375,4 +374,5 @@ tasks.register("ktlintFormat", JavaExec) {
jvmArgs "--add-opens=java.base/java.lang=ALL-UNNAMED"
// see https://pinterest.github.io/ktlint/install/cli/#command-line-usage for more information
args "-F", "src/**/*.kt", "**.kts", "!**/build/**"
}
}
apply plugin: 'com.google.gms.google-services'
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
android:name=".presenter.activities.AnnounceUpdatesViewActivity"
android:exported="false"
android:label="Litewallet"
android:enableOnBackInvokedCallback="true"
android:theme="@style/AppTheme" />
<activity
android:name=".presenter.activities.intro.IntroActivity"
Expand Down
61 changes: 22 additions & 39 deletions app/src/main/java/com/breadwallet/BreadApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Point;
import android.hardware.fingerprint.FingerprintManager;
import android.os.Bundle;
import android.util.Log;
import android.view.Display;
import android.view.WindowManager;

import com.breadwallet.di.component.DaggerAppComponent;
import com.breadwallet.presenter.activities.util.BRActivity;
import com.breadwallet.presenter.entities.PartnerNames;
Expand All @@ -24,17 +22,9 @@
import com.google.android.gms.common.GooglePlayServicesRepairableException;
import com.google.firebase.crashlytics.FirebaseCrashlytics;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Currency;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.atomic.AtomicInteger;
Expand Down Expand Up @@ -71,7 +61,14 @@ public void onCreate() {
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(enableCrashlytics);
AnalyticsManager.init(this);
AnalyticsManager.logCustomEvent(BRConstants._20191105_AL);
loadAdvertisingAndPush(this);

new Thread(() -> {
//fetch instance ID
String instanceID = Utils.fetchPartnerKey(this,
PartnerNames.PUSHERSTAGING);
// setup Push Notifications
loadAdvertisingAndPush(instanceID, this);
}).start();

WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE);
Display display = wm.getDefaultDisplay();
Expand All @@ -80,12 +77,9 @@ public void onCreate() {
DISPLAY_HEIGHT_PX = size.y;
mFingerprintManager = (FingerprintManager) getSystemService(Context.FINGERPRINT_SERVICE);
}


public static Context getBreadContext() {
return currentActivity == null ? SyncReceiver.app : currentActivity;
}

public static void setBreadContext(Activity app) {
currentActivity = app;
}
Expand All @@ -94,16 +88,13 @@ public static void fireListeners() {
if (listeners == null) return;
for (OnAppBackgrounded lis : listeners) lis.onBackgrounded();
}

public static void addOnBackgroundedListener(OnAppBackgrounded listener) {
if (listeners == null) listeners = new ArrayList<>();
if (!listeners.contains(listener)) listeners.add(listener);
}

public static boolean isAppInBackground(final Context context) {
return context == null || activityCounter.get() <= 0;
}

//call onStop on evert activity so
public static void onStop(final BRActivity app) {
if (isBackgroundChecker != null) isBackgroundChecker.cancel();
Expand All @@ -123,23 +114,21 @@ public void run() {

isBackgroundChecker.schedule(backgroundCheck, 500, 500);
}

@Override
protected void attachBaseContext(Context base) {
LocaleHelper.Companion.init(base);
super.attachBaseContext(LocaleHelper.Companion.getInstance().setLocale(base));
}

public interface OnAppBackgrounded {
void onBackgrounded();
}
private void loadAdvertisingAndPush(Context app) {
Thread thr = new Thread(new Runnable() {
private void loadAdvertisingAndPush(String instanceID, Context app) {
new Thread(new Runnable() {
@Override
public void run() {
try {
AdvertisingIdClient.Info adInfo = AdvertisingIdClient.getAdvertisingIdInfo(app);
finished(adInfo);
finishedLoadingPushService( instanceID, adInfo);
} catch (IllegalStateException e) {
e.printStackTrace();
} catch (GooglePlayServicesRepairableException e) {
Expand All @@ -149,35 +138,29 @@ public void run() {
} catch (GooglePlayServicesNotAvailableException e) {
e.printStackTrace();
}
finished(null);
String emptyID = "";
finishedLoadingPushService(emptyID,null);
Bundle params = new Bundle();
params.putString("pusher_instanceid_not_found",emptyID);
AnalyticsManager.logCustomEventWithParams(BRConstants._20200112_ERR, params);
}
});
thr.start();
}).start();
}

private void finished(final AdvertisingIdClient.Info adInfo) {
if(adInfo!=null) {

private void finishedLoadingPushService(final String instanceID, AdvertisingIdClient.Info adInfo) {
if(adInfo!=null && instanceID != "") {
// setup Pusher Interests
String adInfoString = adInfo.getId();
String generalAndroidInterest = "general-android";
String debugGeneralAndroidInterest = "debug-general-android";
String pusherInstanceID = Utils.fetchPartnerKey(this, PartnerNames.PUSHERSTAGING);

// setup Push Notifications
//This worked had to add the iid dep https://github.com/mixpanel/mixpanel-android/issues/744
PushNotifications.start(getApplicationContext(), pusherInstanceID);
PushNotifications.start(getApplicationContext(), instanceID);
PushNotifications.addDeviceInterest(generalAndroidInterest);
PushNotifications.addDeviceInterest(debugGeneralAndroidInterest);

//Send params for pusher setup
Bundle params = new Bundle();
params.putString("general-interest",generalAndroidInterest);
params.putString("debug-general-interest",debugGeneralAndroidInterest);
params.putString("device-ad-info",adInfoString);
AnalyticsManager.logCustomEventWithParams(BRConstants._20240123_RAGI, params);
AnalyticsManager.logCustomEvent(BRConstants._20240123_RAGI);
}
}

private static class CrashReportingTree extends Timber.Tree {
private static final String CRASHLYTICS_KEY_PRIORITY = "priority";
private static final String CRASHLYTICS_KEY_TAG = "tag";
Expand Down
8 changes: 5 additions & 3 deletions app/src/main/java/com/breadwallet/entities/IntroLanguage.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.breadwallet.entities

data class IntroLanguage(
val lang: String,
val desc: String,
val audio: Int,
val code: String,
val name : String,
val desc : String,
val audio : Int,
val message: String,
val lang: Language
)
Loading

0 comments on commit 9d99ee1

Please sign in to comment.