Skip to content

Commit 63f6157

Browse files
kcw-gruntvsima
andauthored
πŸš€[ Release v.2.8.4] Merge into Main (#138)
* πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * Feature/update branding (#29) * added new logo - reset the layout * version code * Delete ISSUE_TEMPLATE * Create test.md * Delete test.md * πŸš€[ Release v.2.7.0] Merge into Develop (#32) * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener * [Techdebt/] pdate match firebase events 33 (#48) * Added the equivalenmt events - updated web link * WIP : Should compile * Fixed constants * Udpaded all Analytics constants * Added basic tests - This is WIP - Need to debug the Tests * version bump * fiexd compile bug * πŸš€[ Release v.2.7.1] Merge into Develop (#104) * πŸš€[ Release v.2.7.0] Merge into Main (#30) * Added ΡƒΠΊΡ€Π°Ρ—Π½ΡΡŒΠΊΠΈΠΉ language - add uk xml file - removed the nl, sv, da files - Escaped apostrphes in UK strings file - Updated language choices * πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * πŸš€[ Release v.2.6.0] Merge into Develop (#13) * version bump * Hotfix/crashes v2.6.0 (#17) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom Co-authored-by: kcw-grunt <[email protected]> Co-authored-by: Victor Sima <[email protected]> * πŸš€[Release] v2.6.1 (#21) * version code bump * πŸš€[ Release v.2.6.0] Merge into Main (#12) * Added ΡƒΠΊΡ€Π°Ρ—Π½ΡΡŒΠΊΠΈΠΉ language - add uk xml file - removed the nl, sv, da files - Escaped apostrphes in UK strings file - Updated language choices * πŸ₯³[Feature] Unstoppable ext update (#11) * WIP: DNC Dropped in the UD code prior to testing * Added study link * Fix unstoppable domains dependency * Updated the UD ext text WIP::::Need to refactor once UK and deletion on SV, NL, DA * added UK lang Co-authored-by: Victor Sima <[email protected]> * version bump * Hotfix/crashes v2.6.0 (#17) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom Co-authored-by: kcw-grunt <[email protected]> Co-authored-by: Victor Sima <[email protected]> Co-authored-by: Victor Sima <[email protected]> * Feature/add bitrefill (#28) * added bitrefill - added kotlin fix * Added localizations - added logo * Added Bitrefill Link * hides fiat scollview from Bitrefill * Adjusted the padding at the buy tab item view * fixe test in Bitrefill detail * fied logo and layout * bump version and version code * Feature/update branding (#29) * added new logo - reset the layout * version code * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener Co-authored-by: Victor Sima <[email protected]> * Create FUNDING.yml For GH Sponsor * πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * Feature/add bitrefill (#28) * added bitrefill - added kotlin fix * Added localizations - added logo * Added Bitrefill Link * hides fiat scollview from Bitrefill * Adjusted the padding at the buy tab item view * fixe test in Bitrefill detail * fied logo and layout * bump version and version code * Feature/update branding (#29) * added new logo - reset the layout * version code * πŸš€[ Release v.2.7.0] Merge into Develop (#32) * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener * [Techdebt/] pdate match firebase events 33 (#48) * Added the equivalenmt events - updated web link * WIP : Should compile * Fixed constants * Udpaded all Analytics constants * Added basic tests - This is WIP - Need to debug the Tests * version bump * fiexd compile bug * version bump * renmoved staging * moved backup rates * code bump * Updated test configs * Move api resources to central location - version code bump Co-authored-by: Victor Sima <[email protected]> * Commented out the partial work * Feature - donation disclaimer modal (#75) * Feature - add donation modal disclaimer - #60 * Add missing strings * Upgraded AS - Reduced donation amount - Renamed id WIP * updated stirings key format - updated the donation address * code bump Co-authored-by: kcw-grunt <[email protected]> * Feature - Show Litecoin Card as Webview (#82) * Feature - Show Litecoin Card as Webview - remove partner api library - create card frament webview and add to bottom nav - fixes #58 * bump version code * Fix UI crash * bump version code Co-authored-by: kcw-grunt <[email protected]> * πŸš€[Release v.2.8.0] Merge into Develop (#124) * πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * Feature/add bitrefill (#28) * added bitrefill - added kotlin fix * Added localizations - added logo * Added Bitrefill Link * hides fiat scollview from Bitrefill * Adjusted the padding at the buy tab item view * fixe test in Bitrefill detail * fied logo and layout * bump version and version code * Feature/update branding (#29) * added new logo - reset the layout * version code * Delete ISSUE_TEMPLATE * πŸš€[ Release v.2.7.0] Merge into Develop (#32) * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener * [Techdebt/] pdate match firebase events 33 (#48) * Added the equivalenmt events - updated web link * WIP : Should compile * Fixed constants * Udpaded all Analytics constants * Added basic tests - This is WIP - Need to debug the Tests * version bump * fiexd compile bug * πŸš€[ Release v.2.7.1] Merge into Develop (#104) * πŸš€[ Release v.2.7.0] Merge into Main (#30) * Added ΡƒΠΊΡ€Π°Ρ—Π½ΡΡŒΠΊΠΈΠΉ language - add uk xml file - removed the nl, sv, da files - Escaped apostrphes in UK strings file - Updated language choices * πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * πŸš€[ Release v.2.6.0] Merge into Develop (#13) * version bump * Hotfix/crashes v2.6.0 (#17) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom Co-authored-by: kcw-grunt <[email protected]> Co-authored-by: Victor Sima <[email protected]> * πŸš€[Release] v2.6.1 (#21) * version code bump * πŸš€[ Release v.2.6.0] Merge into Main (#12) * Added ΡƒΠΊΡ€Π°Ρ—Π½ΡΡŒΠΊΠΈΠΉ language - add uk xml file - removed the nl, sv, da files - Escaped apostrphes in UK strings file - Updated language choices * πŸ₯³[Feature] Unstoppable ext update (#11) * WIP: DNC Dropped in the UD code prior to testing * Added study link * Fix unstoppable domains dependency * Updated the UD ext text WIP::::Need to refactor once UK and deletion on SV, NL, DA * added UK lang Co-authored-by: Victor Sima <[email protected]> * version bump * Hotfix/crashes v2.6.0 (#17) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom Co-authored-by: kcw-grunt <[email protected]> Co-authored-by: Victor Sima <[email protected]> Co-authored-by: Victor Sima <[email protected]> * Feature/add bitrefill (#28) * added bitrefill - added kotlin fix * Added localizations - added logo * Added Bitrefill Link * hides fiat scollview from Bitrefill * Adjusted the padding at the buy tab item view * fixe test in Bitrefill detail * fied logo and layout * bump version and version code * Feature/update branding (#29) * added new logo - reset the layout * version code * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener Co-authored-by: Victor Sima <[email protected]> * Create FUNDING.yml For GH Sponsor * πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * Feature/add bitrefill (#28) * added bitrefill - added kotlin fix * Added localizations - added logo * Added Bitrefill Link * hides fiat scollview from Bitrefill * Adjusted the padding at the buy tab item view * fixe test in Bitrefill detail * fied logo and layout * bump version and version code * Feature/update branding (#29) * added new logo - reset the layout * version code * πŸš€[ Release v.2.7.0] Merge into Develop (#32) * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener * [Techdebt/] pdate match firebase events 33 (#48) * Added the equivalenmt events - updated web link * WIP : Should compile * Fixed constants * Udpaded all Analytics constants * Added basic tests - This is WIP - Need to debug the Tests * version bump * fiexd compile bug * version bump * renmoved staging * moved backup rates * code bump * Updated test configs * Move api resources to central location - version code bump Co-authored-by: Victor Sima <[email protected]> * Feature - donation disclaimer modal (#75) * Feature - add donation modal disclaimer - #60 * Add missing strings * Upgraded AS - Reduced donation amount - Renamed id WIP * updated stirings key format - updated the donation address * code bump Co-authored-by: kcw-grunt <[email protected]> * Feature - Show Litecoin Card as Webview (#82) * Feature - Show Litecoin Card as Webview - remove partner api library - create card frament webview and add to bottom nav - fixes #58 * bump version code * Fix UI crash * bump version code Co-authored-by: kcw-grunt <[email protected]> * version code bump - updated version labels to include the version code * Task - Reduce country iso exception (#118) - reduce emissions of "java.lang.IllegalArgumentException: Unsupported ISO 3166 country: en" * made the webview fileprivate (#120) - the idea is that it will help evaluate the js callbacks * Refactors version name and code to BRConstants (#121) * 🐜[Bugfix] Refactor strings files (#122) * bump version code * Refactor strings files There were many unused strings and they were removed. * bump version code * resolved bad resolution --------- Co-authored-by: Victor Sima <[email protected]> * πŸš€[ Release v.2.8.1] Merge into Develop (#134) * πŸš€[ Release v.2.8.0] Merge into Main (#123) * πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * πŸš€[ Release v.2.6.0] Merge into Develop (#13) * version bump * Hotfix/crashes v2.6.0 (#17) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom Co-authored-by: kcw-grunt <[email protected]> Co-authored-by: Victor Sima <[email protected]> * πŸš€[Release] v2.6.1 (#21) * version code bump * πŸš€[ Release v.2.6.0] Merge into Main (#12) * Added ΡƒΠΊΡ€Π°Ρ—Π½ΡΡŒΠΊΠΈΠΉ language - add uk xml file - removed the nl, sv, da files - Escaped apostrphes in UK strings file - Updated language choices * πŸ₯³[Feature] Unstoppable ext update (#11) * WIP: DNC Dropped in the UD code prior to testing * Added study link * Fix unstoppable domains dependency * Updated the UD ext text WIP::::Need to refactor once UK and deletion on SV, NL, DA * added UK lang Co-authored-by: Victor Sima <[email protected]> * version bump * Hotfix/crashes v2.6.0 (#17) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom Co-authored-by: kcw-grunt <[email protected]> Co-authored-by: Victor Sima <[email protected]> Co-authored-by: Victor Sima <[email protected]> * Feature/add bitrefill (#28) * added bitrefill - added kotlin fix * Added localizations - added logo * Added Bitrefill Link * hides fiat scollview from Bitrefill * Adjusted the padding at the buy tab item view * fixe test in Bitrefill detail * fied logo and layout * bump version and version code * Feature/update branding (#29) * added new logo - reset the layout * version code * Create ISSUE_TEMPLATE * Delete ISSUE_TEMPLATE * Create test.md * Delete test.md * πŸš€[ Release v.2.7.0] Merge into Develop (#32) * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener * [Techdebt/] pdate match firebase events 33 (#48) * Added the equivalenmt events - updated web link * WIP : Should compile * Fixed constants * Udpaded all Analytics constants * Added basic tests - This is WIP - Need to debug the Tests * version bump * fiexd compile bug * Fix - revert FragmentBuy webview test (#72) * πŸš€[ Release v.2.7.1] Merge into Develop (#104) * πŸš€[ Release v.2.7.0] Merge into Main (#30) * Added ΡƒΠΊΡ€Π°Ρ—Π½ΡΡŒΠΊΠΈΠΉ language - add uk xml file - removed the nl, sv, da files - Escaped apostrphes in UK strings file - Updated language choices * πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * πŸš€[ Release v.2.6.0] Merge into Develop (#13) * version bump * Hotfix/crashes v2.6.0 (#17) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom Co-authored-by: kcw-grunt <[email protected]> Co-authored-by: Victor Sima <[email protected]> * πŸš€[Release] v2.6.1 (#21) * version code bump * πŸš€[ Release v.2.6.0] Merge into Main (#12) * Added ΡƒΠΊΡ€Π°Ρ—Π½ΡΡŒΠΊΠΈΠΉ language - add uk xml file - removed the nl, sv, da files - Escaped apostrphes in UK strings file - Updated language choices * πŸ₯³[Feature] Unstoppable ext update (#11) * WIP: DNC Dropped in the UD code prior to testing * Added study link * Fix unstoppable domains dependency * Updated the UD ext text WIP::::Need to refactor once UK and deletion on SV, NL, DA * added UK lang Co-authored-by: Victor Sima <[email protected]> * version bump * Hotfix/crashes v2.6.0 (#17) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom Co-authored-by: kcw-grunt <[email protected]> Co-authored-by: Victor Sima <[email protected]> Co-authored-by: Victor Sima <[email protected]> * Feature/add bitrefill (#28) * added bitrefill - added kotlin fix * Added localizations - added logo * Added Bitrefill Link * hides fiat scollview from Bitrefill * Adjusted the padding at the buy tab item view * fixe test in Bitrefill detail * fied logo and layout * bump version and version code * Feature/update branding (#29) * added new logo - reset the layout * version code * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener Co-authored-by: Victor Sima <[email protected]> * Create FUNDING.yml For GH Sponsor * πŸ’£πŸž[Hotbug fix] sharedprefs fb fix (#19) * Added notes * Bugfix - add missing pendingIntent flag for android 13 * Use firebase bom * subproject commit * version bump * Disabled FB send, Added Get Tasks * Patch to hard code fees - Static fees - Removed the dep - Turn crashlytics back on/off/on Co-authored-by: Victor Sima <[email protected]> * Feature/add bitrefill (#28) * added bitrefill - added kotlin fix * Added localizations - added logo * Added Bitrefill Link * hides fiat scollview from Bitrefill * Adjusted the padding at the buy tab item view * fixe test in Bitrefill detail * fied logo and layout * bump version and version code * Feature/update branding (#29) * added new logo - reset the layout * version code * πŸš€[ Release v.2.7.0] Merge into Develop (#32) * replaced coin logo * bump versioncode * fixed dep version * added Bitrefill web listener * [Techdebt/] pdate match firebase events 33 (#48) * Added the equivalenmt events - updated web link * WIP : Should compile * Fixed constants * Udpaded all Analytics constants * Added basic tests - This is WIP - Need to debug the Tests * version bump * fiexd compile bug * version bump * renmoved staging * moved backup rates * code bump * Updated test configs * Move api resources to central location - version code bump Co-authored-by: Victor Sima <[email protected]> * Commented out the partial work * Add .circleci/config.yml (#74) * Feature - donation disclaimer modal (#75) * Feature - add donation modal disclaimer - #60 * Add missing strings * Upgraded AS - Reduced donation amount - Renamed id WIP * updated stirings key format - updated the donation address * code bump Co-authored-by: kcw-grunt <[email protected]> * Feature - Show Litecoin Card as Webview (#82) * Feature - Show Litecoin Card as Webview - remove partner api library - create card frament webview and add to bottom nav - fixes #58 * bump version code * Fix UI crash * bump version code Co-authored-by: kcw-grunt <[email protected]> * version code bump - updated version labels to include the version code * Task - Reduce country iso exception (#118) - reduce emissions of "java.lang.IllegalArgumentException: Unsupported ISO 3166 country: en" * made the webview fileprivate (#120) - the idea is that it will help evaluate the js callbacks * Refactors version name and code to BRConstants (#121) * 🐜[Bugfix] Refactor strings files (#122) * bump version code * Refactor strings files There were many unused strings and they were removed. * bump version code --------- Co-authored-by: Victor Sima <[email protected]> * bump version name and code * reset to version name and code --------- Co-authored-by: Victor Sima <[email protected]> * πŸ₯³[Feature] Add bech32 to enable ltc1 addresses & false positive rate (Bloom Filter) interface (#137) * Patched in the changes from losh11/bech32 - Pulled in all the changes from loafwallet-core - From Apr 10, 2022 * Various development refactors - Updated the tx and addressess lookup URLs - Updated gitignore - Removed old binaries from project - Appended timber debug prefix to β€œtimber:” to easily filter in Logcat - Bump version code * Resolved conflicts and merged Merge branch 'feature/add-bech32' of https://github.com/litecoin-foundation/litewallet-android into feature/add-bech32-14 - Resolved conflicts - re-added timber prefix * Add logic to retrieve and display seed phrase * Added Timber logs - added localizations - version and code bump - Removed the direct wallet info fetch - This call caused the app the reset the seed. - instead we are simply pulling the seed from the keystore - lean to call for seed * Post testing improvement for FP rates - The sync period is long in the current configuration - Spent a few days testing to see if certain false-positives rate for the BloomFilter to adjust the sync time. - the trade off is: quicker sync = less privacy Here are the rates that will be offered: fpr = 0.00005 , sync 77 mins , anonymous fpr = 0.00002 , sync 42 mins, semi-private fpr = 0.00001 , sync 19 mins, low-privacy * Added layout for false positive rate Added localizations for false positive waiting to add the func fpupdate(double newfalseupdate) in the loafwallet-core Adding the needed interface * Keep build.gradle - Restore files - some jni fixes - Cleanup - Signed-off-by: Victor Sima <[email protected]> * All are compiling added the interface in C and Java - updated to the latest [loafwallet-core](https://github.com/litecoin-foundation/loafwallet-core/tree/master-android) branch: master-android commit: 63b18b8 * Updated the gradle to 7.4.2 bumped code and version * Adjusted analytics for sync - updated to the latest v1.4.0 loafwallet-core - updated to the v1.3.0 of loafwallet-core - Added logging to start collecting the sync times - updated the loafwallet-core to v1.5.0 * Included a snackbar to notify users on sync. - Included in the Intro Activity - Included in the Login (Lock) Activity - Added translations for the snackbar --------- Co-authored-by: Victor Sima <[email protected]> * resolved conflcts from rebase from main * updated privacy policy location - code bump * polished the sync duration - adjusted the sync output --------- Co-authored-by: Victor Sima <[email protected]>
1 parent 0fc11f9 commit 63f6157

File tree

92 files changed

+1072
-518
lines changed

Some content is hidden

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

92 files changed

+1072
-518
lines changed

β€Ž.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ app/src/main/jni/transition/testingStuff.c
33
# Built application files
44
*.apk
55
*.ap_
6+
*/release/*.aab
67

78
# Files for the Dalvik VM
89
*.dex

β€Žapp/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ add_library( # Specifies the name of the library.
6060
src/main/jni/loafwallet-core/BRTransaction.h
6161
src/main/jni/loafwallet-core/BRWallet.c
6262
src/main/jni/loafwallet-core/BRWallet.h
63+
src/main/jni/loafwallet-core/BRChainParams.h
64+
src/main/jni/loafwallet-core/BRBech32.c
65+
src/main/jni/loafwallet-core/BRBech32.h
6366

6467
src/main/jni/transition/core.c
6568
src/main/jni/transition/core.h

β€Žapp/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ android {
6464
applicationId = 'com.loafwallet'
6565
minSdkVersion 27
6666
targetSdkVersion 32
67-
versionCode 725
68-
versionName "v2.8.1"
67+
versionCode 733
68+
versionName "v2.8.4"
6969
multiDexEnabled true
7070
archivesBaseName = "${versionName}(${versionCode})"
7171

-17.2 MB
Binary file not shown.
-17.3 MB
Binary file not shown.

β€Žapp/src/main/java/com/breadwallet/BreadApp.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void onCreate() {
5151
}
5252

5353
// setup Timber
54-
Timber.plant(BuildConfig.DEBUG ? new Timber.DebugTree() : new CrashReportingTree());
54+
Timber.plant(new Timber.DebugTree());
5555

5656
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(enableCrashlytics);
5757
AnalyticsManager.init(this);
@@ -98,7 +98,7 @@ public static void onStop(final BRActivity app) {
9898
public void run() {
9999
if (isAppInBackground(app)) {
100100
backgroundedTime = System.currentTimeMillis();
101-
Timber.d("App went in background!");
101+
Timber.d("timber: App went in background!");
102102
// APP in background, do something
103103
isBackgroundChecker.cancel();
104104
fireListeners();

β€Žapp/src/main/java/com/breadwallet/presenter/activities/BreadActivity.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ protected void onCreate(Bundle savedInstanceState) {
9797
initializeViews();
9898
setPriceTags(BRSharedPrefs.getPreferredLTC(BreadActivity.this), false);
9999
setListeners();
100-
101100
setUpBarFlipper();
101+
checkTransactionDatabase();
102102

103103
primaryPrice.setTextSize(PRIMARY_TEXT_SIZE);
104104
secondaryPrice.setTextSize(SECONDARY_TEXT_SIZE);
@@ -138,7 +138,7 @@ private void showInAppReviewDialogIfNeeded() {
138138
// The flow has finished. The API does not indicate whether the user
139139
// reviewed or not, or even whether the review dialog was shown. Thus, no
140140
// matter the result, we continue our app flow.
141-
Timber.i("In-app LaunchReviewFlow completed successful (%s)", task1.isSuccessful());
141+
Timber.i("timber: In-app LaunchReviewFlow completed successful (%s)", task1.isSuccessful());
142142
if (task1.isSuccessful()) {
143143
BRSharedPrefs.inAppReviewDone(BreadActivity.this);
144144
}
@@ -281,6 +281,10 @@ private void setPriceTags(boolean ltcPreferred, boolean animate) {
281281
mHandler.postDelayed(() -> updateUI(), toolBarConstraintLayout.getLayoutTransition().getDuration(LayoutTransition.CHANGING));
282282
}
283283

284+
private void checkTransactionDatabase() {
285+
286+
}
287+
284288
private void setUpBarFlipper() {
285289
barFlipper.setInAnimation(AnimationUtils.loadAnimation(this, R.anim.flipper_enter));
286290
barFlipper.setOutAnimation(AnimationUtils.loadAnimation(this, R.anim.flipper_exit));
@@ -435,7 +439,7 @@ public void onConnectionChanged(boolean isConnected) {
435439
}
436440
BRExecutor.getInstance().forLightWeightBackgroundTasks().execute(() -> {
437441
final double progress = BRPeerManager.syncProgress(BRSharedPrefs.getStartHeight(BreadActivity.this));
438-
Timber.d("Sync Progress: %s", progress);
442+
Timber.d("timber: Sync Progress: %s", progress);
439443
if (progress < 1 && progress > 0) {
440444
SyncManager.getInstance().startSyncingProgressThread();
441445
}

β€Žapp/src/main/java/com/breadwallet/presenter/activities/LoginActivity.java

+21-5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import androidx.core.app.ActivityCompat;
2121
import androidx.core.content.ContextCompat;
2222

23+
import com.breadwallet.BuildConfig;
2324
import com.breadwallet.R;
2425
import com.breadwallet.presenter.activities.camera.ScanQRActivity;
2526
import com.breadwallet.presenter.activities.util.BRActivity;
@@ -38,6 +39,7 @@
3839
import com.breadwallet.tools.util.BRConstants;
3940
import com.breadwallet.tools.util.BRCurrency;
4041
import com.breadwallet.wallet.BRWalletManager;
42+
import com.google.android.material.snackbar.Snackbar;
4143
import com.platform.APIClient;
4244

4345
import java.math.BigDecimal;
@@ -81,7 +83,8 @@ public static LoginActivity getApp() {
8183
@Override
8284
protected void onCreate(Bundle savedInstanceState) {
8385
super.onCreate(savedInstanceState);
84-
setContentView(R.layout.activity_pin);
86+
setContentView(R.layout.activity_pin);
87+
View parentLayout = findViewById(android.R.id.content);
8588
String pin = BRKeyStore.getPinCode(this);
8689
if (pin.isEmpty() || (pin.length() != 6 && pin.length() != 4)) {
8790
Intent intent = new Intent(this, SetPinActivity.class);
@@ -169,6 +172,19 @@ public void onCancel() {
169172
}, 500);
170173

171174
setCurrentLtcPrice();
175+
176+
if (BuildConfig.VERSION_NAME == "v2.8.4") {
177+
Snackbar.make(parentLayout,
178+
R.string.release_notes,
179+
Snackbar.LENGTH_INDEFINITE).setAction(R.string.Webview_dismiss, new View.OnClickListener() {
180+
@Override
181+
public void onClick(View view) {
182+
183+
}
184+
})
185+
.setActionTextColor(getResources().getColor(android.R.color.holo_red_light ))
186+
.show();
187+
}
172188
}
173189

174190
private void setCurrentLtcPrice() {
@@ -211,11 +227,11 @@ protected void onPause() {
211227

212228
private void handleClick(String key) {
213229
if (!inputAllowed) {
214-
Timber.d("handleClick: input not allowed");
230+
Timber.d("timber: handleClick: input not allowed");
215231
return;
216232
}
217233
if (key == null) {
218-
Timber.d("handleClick: key is null! ");
234+
Timber.d("timber: handleClick: key is null! ");
219235
return;
220236
}
221237

@@ -224,7 +240,7 @@ private void handleClick(String key) {
224240
} else if (Character.isDigit(key.charAt(0))) {
225241
handleDigitClick(Integer.parseInt(key.substring(0, 1)));
226242
} else {
227-
Timber.d("handleClick: oops: %s", key);
243+
Timber.d("timber: handleClick: oops: %s", key);
228244
}
229245
}
230246

@@ -313,7 +329,7 @@ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permis
313329
// permission was granted, yay! Do the
314330
// contacts-related task you need to do.
315331
} else {
316-
Timber.i("onRequestPermissionsResult: permission isn't granted for: %s", requestCode);
332+
Timber.i("timber: onRequestPermissionsResult: permission isn't granted for: %s", requestCode);
317333
// permission denied, boo! Disable the
318334
// functionality that depends on this permission.
319335
}

β€Žapp/src/main/java/com/breadwallet/presenter/activities/ReEnterPinActivity.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected void onPause() {
9595
private void handleClick(String key) {
9696
if (!isPressAllowed) return;
9797
if (key == null) {
98-
Timber.d("handleClick: key is null! ");
98+
Timber.d("timber: handleClick: key is null! ");
9999
return;
100100
}
101101

@@ -104,7 +104,7 @@ private void handleClick(String key) {
104104
} else if (Character.isDigit(key.charAt(0))) {
105105
handleDigitClick(Integer.parseInt(key.substring(0, 1)));
106106
} else {
107-
Timber.d("handleClick: oops: %s", key);
107+
Timber.d("timber: handleClick: oops: %s", key);
108108
}
109109
}
110110

@@ -171,7 +171,7 @@ public void onComplete() {
171171
}
172172
} else {
173173
AuthManager.getInstance().authFail(this);
174-
Timber.d("verifyPin: FAIL: firs: %s, reEnter: %s ", firstPIN, pin);
174+
Timber.d("timber: verifyPin: FAIL: firs: %s, reEnter: %s ", firstPIN, pin);
175175
SpringAnimator.failShakeAnimation(this, pinLayout);
176176
pin = new StringBuilder();
177177
}

β€Žapp/src/main/java/com/breadwallet/presenter/activities/SetPinActivity.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ protected void onCreate(Bundle savedInstanceState) {
4444
keyboard = (BRKeyboard) findViewById(R.id.brkeyboard);
4545
title = (TextView) findViewById(R.id.title);
4646

47+
4748
//TODO: all views are using the layout of this button. Views should be refactored without it
4849
// Hiding until layouts are built.
4950
faq = (ImageButton) findViewById(R.id.faq_button);
50-
5151
dot1 = findViewById(R.id.dot1);
5252
dot2 = findViewById(R.id.dot2);
5353
dot3 = findViewById(R.id.dot3);
@@ -82,7 +82,7 @@ protected void onPause() {
8282

8383
private void handleClick(String key) {
8484
if (key == null) {
85-
Timber.d("handleClick: key is null! ");
85+
Timber.d("timber: handleClick: key is null! ");
8686
return;
8787
}
8888

@@ -91,7 +91,7 @@ private void handleClick(String key) {
9191
} else if (Character.isDigit(key.charAt(0))) {
9292
handleDigitClick(Integer.parseInt(key.substring(0, 1)));
9393
} else {
94-
Timber.d("handleClick: oops: %s", key);
94+
Timber.d("timber: handleClick: oops: %s", key);
9595
}
9696
}
9797

β€Žapp/src/main/java/com/breadwallet/presenter/activities/UpdatePinActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected void onPause() {
9595

9696
private void handleClick(String key) {
9797
if (key == null) {
98-
Timber.d("handleClick: key is null! ");
98+
Timber.d("timber: handleClick: key is null! ");
9999
return;
100100
}
101101

@@ -104,7 +104,7 @@ private void handleClick(String key) {
104104
} else if (Character.isDigit(key.charAt(0))) {
105105
handleDigitClick(Integer.parseInt(key.substring(0, 1)));
106106
} else {
107-
Timber.d("handleClick: oops: %s", key);
107+
Timber.d("timber: handleClick: oops: %s", key);
108108
}
109109
}
110110

β€Žapp/src/main/java/com/breadwallet/presenter/activities/camera/CameraActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ private static Size chooseOptimalSize(Size[] choices, int textureViewWidth,
391391
} else if (notBigEnough.size() > 0) {
392392
return Collections.max(notBigEnough, new CompareSizesByArea());
393393
} else {
394-
Timber.d("Couldn't find any suitable preview size");
394+
Timber.d("timber: Couldn't find any suitable preview size");
395395
return choices[0];
396396
}
397397
}
@@ -473,7 +473,7 @@ private void setUpCameraOutputs(int width, int height) {
473473
}
474474
break;
475475
default:
476-
Timber.d("Display rotation is invalid: %s", displayRotation);
476+
Timber.d("timber: Display rotation is invalid: %s", displayRotation);
477477
}
478478

479479
Point displaySize = new Point();

β€Žapp/src/main/java/com/breadwallet/presenter/activities/camera/ScanQRActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected void onCreate(final Bundle savedInstanceState) {
5151
== PackageManager.PERMISSION_GRANTED) {
5252
initQRCodeReaderView();
5353
} else {
54-
Timber.d("onCreate: Permissions needed? HUH?");
54+
Timber.d("timber: onCreate: Permissions needed? HUH?");
5555
}
5656

5757
new Handler().postDelayed(new Runnable() {

β€Žapp/src/main/java/com/breadwallet/presenter/activities/intro/IntroActivity.java

+21-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
package com.breadwallet.presenter.activities.intro;
33

44
import android.content.Intent;
5-
import android.content.pm.PackageInfo;
6-
import android.content.pm.PackageManager;
75
import android.graphics.Point;
86
import android.os.Bundle;
97
import android.view.View;
108
import android.widget.Button;
119
import android.widget.TextView;
10+
import android.widget.Toast;
11+
import com.google.android.material.snackbar.Snackbar;
1212

1313
import com.breadwallet.BuildConfig;
1414
import com.breadwallet.R;
@@ -26,7 +26,6 @@
2626
import com.platform.APIClient;
2727

2828
import java.io.Serializable;
29-
import java.util.Locale;
3029

3130
import timber.log.Timber;
3231

@@ -38,7 +37,6 @@ public class IntroActivity extends BRActivity implements Serializable {
3837
private static IntroActivity app;
3938
private TextView versionText;
4039

41-
4240
public static IntroActivity getApp() {
4341
return app;
4442
}
@@ -57,10 +55,10 @@ protected void onCreate(Bundle savedInstanceState) {
5755
newWalletButton = (Button) findViewById(R.id.button_new_wallet);
5856
recoverWalletButton = (Button) findViewById(R.id.button_recover_wallet);
5957
versionText = findViewById(R.id.version_text);
58+
View parentLayout = findViewById(android.R.id.content);
59+
6060
setListeners();
6161
updateBundles();
62-
// SyncManager.getInstance().updateAlarms(this);
63-
6462
if (!BuildConfig.DEBUG && BRKeyStore.AUTH_DURATION_SEC != 300) {
6563
RuntimeException ex = new RuntimeException("onCreate: AUTH_DURATION_SEC should be 300");
6664
Timber.e(ex);
@@ -77,12 +75,28 @@ protected void onCreate(Bundle savedInstanceState) {
7775
byte[] masterPubKey = BRKeyStore.getMasterPublicKey(this);
7876
boolean isFirstAddressCorrect = false;
7977
if (masterPubKey != null && masterPubKey.length != 0) {
78+
Timber.d("timber: masterPubkey exists");
79+
8080
isFirstAddressCorrect = SmartValidator.checkFirstAddress(this, masterPubKey);
8181
}
8282
if (!isFirstAddressCorrect) {
83+
Timber.d("timber: Calling wipeWalletButKeyStore");
8384
BRWalletManager.getInstance().wipeWalletButKeystore(this);
8485
}
8586

87+
if (BuildConfig.VERSION_NAME == "v2.8.4") {
88+
Snackbar.make(parentLayout,
89+
R.string.release_notes,
90+
Snackbar.LENGTH_INDEFINITE).setAction(R.string.Webview_dismiss, new View.OnClickListener() {
91+
@Override
92+
public void onClick(View view) {
93+
94+
}
95+
})
96+
.setActionTextColor(getResources().getColor(android.R.color.holo_red_light ))
97+
.show();
98+
}
99+
86100
PostAuth.getInstance().onCanaryCheck(this, false);
87101
}
88102

@@ -94,7 +108,7 @@ public void run() {
94108
final long startTime = System.currentTimeMillis();
95109
APIClient apiClient = APIClient.getInstance(IntroActivity.this);
96110
long endTime = System.currentTimeMillis();
97-
Timber.d("updateBundle DONE in %sms",endTime - startTime);
111+
Timber.d("timber: updateBundle DONE in %sms",endTime - startTime);
98112
}
99113
});
100114
}

β€Žapp/src/main/java/com/breadwallet/presenter/activities/settings/AboutActivity.java

+3-13
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121

2222
public class AboutActivity extends BRActivity {
2323
private static final String TAG = AboutActivity.class.getName();
24-
// private TextView termsText;
2524
private TextView policyText;
26-
private TextView infoText;
25+
private TextView versionText;
2726

2827
private ImageView instagramShare;
2928
private ImageView twitterShare;
@@ -45,13 +44,12 @@ protected void onCreate(Bundle savedInstanceState) {
4544
super.onCreate(savedInstanceState);
4645
setContentView(R.layout.activity_about);
4746

48-
infoText = (TextView) findViewById(R.id.info_text);
47+
versionText = (TextView) findViewById(R.id.info_text);
4948
policyText = (TextView) findViewById(R.id.policy_text);
5049
instagramShare = (ImageView) findViewById(R.id.instagram_share_button);
5150
twitterShare = (ImageView) findViewById(R.id.twitter_share_button);
5251
blogShare = (ImageView) findViewById(R.id.blog_share_button);
53-
54-
infoText.setText(BRConstants.APP_VERSION_NAME_CODE);
52+
versionText.setText(BRConstants.APP_VERSION_NAME_CODE);
5553

5654
instagramShare.setOnClickListener(new View.OnClickListener() {
5755
@Override
@@ -86,14 +84,6 @@ public void onClick(View v) {
8684
app.overridePendingTransition(R.anim.enter_from_bottom, R.anim.empty_300);
8785
}
8886
});
89-
// termsText.setOnClickListener(new View.OnClickListener() {
90-
// @Override
91-
// public void onClick(View v) {
92-
// Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://breadapp.com/privacy-policy"));
93-
// startActivity(browserIntent);
94-
// app.overridePendingTransition(R.anim.enter_from_bottom, R.anim.empty_300);
95-
// }
96-
// });
9787

9888
}
9989

β€Žapp/src/main/java/com/breadwallet/presenter/activities/settings/FingerprintActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected void onCreate(Bundle savedInstanceState) {
7272
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
7373
Activity app = FingerprintActivity.this;
7474
if (isChecked && !Utils.isFingerprintEnrolled(app)) {
75-
Timber.d("onCheckedChanged: fingerprint not setup");
75+
Timber.d("timber: onCheckedChanged: fingerprint not setup");
7676
BRDialog.showCustomDialog(app, getString(R.string.TouchIdSettings_disabledWarning_title_android), getString(R.string.TouchIdSettings_disabledWarning_body_android), getString(R.string.Button_ok), null, new BRDialogView.BROnClickListener() {
7777
@Override
7878
public void onClick(BRDialogView brDialogView) {

0 commit comments

Comments
Β (0)