Skip to content

Commit 9d99ee1

Browse files
kcw-gruntmosadialiouEbenezerGHRyanPetterRyan Petter
authored
🚀[Release v.2.10.0-20240421] Merge into Main (#181)
* 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…
1 parent b273cfe commit 9d99ee1

File tree

78 files changed

+1165
-883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1165
-883
lines changed

.gitignore

+22-4
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,30 @@ crash.txt
7474
/projectFilesBackup/
7575
/publishTODO.txt
7676
.idea/copyright/
77-
/app/google-services.json
78-
/app/partner-keys.json
79-
/app/src/main/assets/partner-keys.json
8077
/.idea/markdown-navigator/
8178
/app/src/main/java/com/breadwallet/presenter/fragments/FragmentBreadSignal.java
8279
/fastlane/
8380
fastlane/
81+
82+
/.idea/appInsightsSettings.xml
83+
84+
## Partner
85+
/app/partner-keys.json
86+
/app/src/main/assets/partner-keys.json
8487
partner-keys.json
85-
/.idea/appInsightsSettings.xml
88+
89+
## Google Services
90+
app/src/litewallet/release/google-services.json
91+
app/src/release/litewallet/google-services.json
92+
app/src/litewallet/google-services.json
93+
app/src/release/google-services.json
94+
app/src/litewalletRelease/google-services.json
95+
app/google-services.json
96+
97+
app/src/litewallet/debug/google-services.json
98+
app/src/debug/litewallet/google-services.json
99+
app/src/litewallet/google-services.json
100+
app/src/debug/google-services.json
101+
app/src/litewalletDebug/google-services.json
102+
/app/release/google-services.json
103+
/app/debug/google-services.json

.idea/androidTestResultsUserPreferences.xml

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-kapt'
4-
apply plugin: 'com.google.gms.google-services'
54
apply plugin: 'com.google.firebase.crashlytics'
65
apply plugin: 'kotlin-parcelize'
76

@@ -66,8 +65,8 @@ android {
6665
applicationId = 'com.loafwallet'
6766
minSdkVersion 31
6867
targetSdkVersion 33
69-
versionCode 20240326
70-
versionName "v2.9.1"
68+
versionCode 20240424
69+
versionName "v2.10.0"
7170
multiDexEnabled true
7271
archivesBaseName = "${versionName}(${versionCode})"
7372

@@ -214,13 +213,13 @@ android {
214213
}
215214

216215
buildTypes {
217-
// gitUpdateModules()
218-
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
219-
220216
release {
221217
signingConfig signingConfigs.release
222-
minifyEnabled = false
218+
minifyEnabled = true
223219
debuggable = false
220+
//DEV: Mothballing gitUpdateModules() until time to resolve:
221+
//gitUpdateModules()
222+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
224223

225224
ndk {
226225
minifyEnabled = false
@@ -318,7 +317,7 @@ dependencies {
318317

319318
// push notifications
320319
implementation 'com.google.firebase:firebase-messaging:23.4.0'
321-
implementation 'com.pusher:push-notifications-android:1.8.0'
320+
implementation 'com.pusher:push-notifications-android:1.9.0'
322321

323322
// Timber
324323
implementation 'com.jakewharton.timber:timber:4.7.1'
@@ -375,4 +374,5 @@ tasks.register("ktlintFormat", JavaExec) {
375374
jvmArgs "--add-opens=java.base/java.lang=ALL-UNNAMED"
376375
// see https://pinterest.github.io/ktlint/install/cli/#command-line-usage for more information
377376
args "-F", "src/**/*.kt", "**.kts", "!**/build/**"
378-
}
377+
}
378+
apply plugin: 'com.google.gms.google-services'

app/src/main/AndroidManifest.xml

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
android:name=".presenter.activities.AnnounceUpdatesViewActivity"
5757
android:exported="false"
5858
android:label="Litewallet"
59+
android:enableOnBackInvokedCallback="true"
5960
android:theme="@style/AppTheme" />
6061
<activity
6162
android:name=".presenter.activities.intro.IntroActivity"

app/src/main/java/com/breadwallet/BreadApp.java

+22-39
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
import android.app.Activity;
44
import android.app.Application;
55
import android.content.Context;
6-
import android.content.SharedPreferences;
76
import android.graphics.Point;
87
import android.hardware.fingerprint.FingerprintManager;
98
import android.os.Bundle;
109
import android.util.Log;
1110
import android.view.Display;
1211
import android.view.WindowManager;
13-
1412
import com.breadwallet.di.component.DaggerAppComponent;
1513
import com.breadwallet.presenter.activities.util.BRActivity;
1614
import com.breadwallet.presenter.entities.PartnerNames;
@@ -24,17 +22,9 @@
2422
import com.google.android.gms.common.GooglePlayServicesRepairableException;
2523
import com.google.firebase.crashlytics.FirebaseCrashlytics;
2624

27-
import java.io.BufferedReader;
28-
import java.io.BufferedWriter;
29-
import java.io.FileReader;
30-
import java.io.FileWriter;
3125
import java.io.IOException;
32-
import java.text.DateFormat;
3326
import java.util.ArrayList;
34-
import java.util.Currency;
35-
import java.util.Date;
3627
import java.util.List;
37-
import java.util.Locale;
3828
import java.util.Timer;
3929
import java.util.TimerTask;
4030
import java.util.concurrent.atomic.AtomicInteger;
@@ -71,7 +61,14 @@ public void onCreate() {
7161
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(enableCrashlytics);
7262
AnalyticsManager.init(this);
7363
AnalyticsManager.logCustomEvent(BRConstants._20191105_AL);
74-
loadAdvertisingAndPush(this);
64+
65+
new Thread(() -> {
66+
//fetch instance ID
67+
String instanceID = Utils.fetchPartnerKey(this,
68+
PartnerNames.PUSHERSTAGING);
69+
// setup Push Notifications
70+
loadAdvertisingAndPush(instanceID, this);
71+
}).start();
7572

7673
WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE);
7774
Display display = wm.getDefaultDisplay();
@@ -80,12 +77,9 @@ public void onCreate() {
8077
DISPLAY_HEIGHT_PX = size.y;
8178
mFingerprintManager = (FingerprintManager) getSystemService(Context.FINGERPRINT_SERVICE);
8279
}
83-
84-
8580
public static Context getBreadContext() {
8681
return currentActivity == null ? SyncReceiver.app : currentActivity;
8782
}
88-
8983
public static void setBreadContext(Activity app) {
9084
currentActivity = app;
9185
}
@@ -94,16 +88,13 @@ public static void fireListeners() {
9488
if (listeners == null) return;
9589
for (OnAppBackgrounded lis : listeners) lis.onBackgrounded();
9690
}
97-
9891
public static void addOnBackgroundedListener(OnAppBackgrounded listener) {
9992
if (listeners == null) listeners = new ArrayList<>();
10093
if (!listeners.contains(listener)) listeners.add(listener);
10194
}
102-
10395
public static boolean isAppInBackground(final Context context) {
10496
return context == null || activityCounter.get() <= 0;
10597
}
106-
10798
//call onStop on evert activity so
10899
public static void onStop(final BRActivity app) {
109100
if (isBackgroundChecker != null) isBackgroundChecker.cancel();
@@ -123,23 +114,21 @@ public void run() {
123114

124115
isBackgroundChecker.schedule(backgroundCheck, 500, 500);
125116
}
126-
127117
@Override
128118
protected void attachBaseContext(Context base) {
129119
LocaleHelper.Companion.init(base);
130120
super.attachBaseContext(LocaleHelper.Companion.getInstance().setLocale(base));
131121
}
132-
133122
public interface OnAppBackgrounded {
134123
void onBackgrounded();
135124
}
136-
private void loadAdvertisingAndPush(Context app) {
137-
Thread thr = new Thread(new Runnable() {
125+
private void loadAdvertisingAndPush(String instanceID, Context app) {
126+
new Thread(new Runnable() {
138127
@Override
139128
public void run() {
140129
try {
141130
AdvertisingIdClient.Info adInfo = AdvertisingIdClient.getAdvertisingIdInfo(app);
142-
finished(adInfo);
131+
finishedLoadingPushService( instanceID, adInfo);
143132
} catch (IllegalStateException e) {
144133
e.printStackTrace();
145134
} catch (GooglePlayServicesRepairableException e) {
@@ -149,35 +138,29 @@ public void run() {
149138
} catch (GooglePlayServicesNotAvailableException e) {
150139
e.printStackTrace();
151140
}
152-
finished(null);
141+
String emptyID = "";
142+
finishedLoadingPushService(emptyID,null);
143+
Bundle params = new Bundle();
144+
params.putString("pusher_instanceid_not_found",emptyID);
145+
AnalyticsManager.logCustomEventWithParams(BRConstants._20200112_ERR, params);
153146
}
154-
});
155-
thr.start();
147+
}).start();
156148
}
157-
158-
private void finished(final AdvertisingIdClient.Info adInfo) {
159-
if(adInfo!=null) {
160-
149+
private void finishedLoadingPushService(final String instanceID, AdvertisingIdClient.Info adInfo) {
150+
if(adInfo!=null && instanceID != "") {
151+
// setup Pusher Interests
161152
String adInfoString = adInfo.getId();
162153
String generalAndroidInterest = "general-android";
163154
String debugGeneralAndroidInterest = "debug-general-android";
164-
String pusherInstanceID = Utils.fetchPartnerKey(this, PartnerNames.PUSHERSTAGING);
165155

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

172160
//Send params for pusher setup
173-
Bundle params = new Bundle();
174-
params.putString("general-interest",generalAndroidInterest);
175-
params.putString("debug-general-interest",debugGeneralAndroidInterest);
176-
params.putString("device-ad-info",adInfoString);
177-
AnalyticsManager.logCustomEventWithParams(BRConstants._20240123_RAGI, params);
161+
AnalyticsManager.logCustomEvent(BRConstants._20240123_RAGI);
178162
}
179163
}
180-
181164
private static class CrashReportingTree extends Timber.Tree {
182165
private static final String CRASHLYTICS_KEY_PRIORITY = "priority";
183166
private static final String CRASHLYTICS_KEY_TAG = "tag";
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
package com.breadwallet.entities
22

33
data class IntroLanguage(
4-
val lang: String,
5-
val desc: String,
6-
val audio: Int,
4+
val code: String,
5+
val name : String,
6+
val desc : String,
7+
val audio : Int,
78
val message: String,
9+
val lang: Language
810
)

0 commit comments

Comments
 (0)