Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀[Release v.2.10.0-20240421] Merge into Develop #182

Merged
merged 1,645 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1645 commits
Select commit Hold shift + click to select a range
4eb01ae
WIP: Timber crashlytics (#124)
mosadialiou Mar 13, 2020
172b2af
Kcw grunt/fbug fixes bugfixes (#126)
kcw-grunt Mar 13, 2020
75c40f5
version bump
kcw-grunt Mar 13, 2020
4e827d4
V1.19.0 (#122)
kcw-grunt Mar 13, 2020
68cb740
fix intro screen (#129)
mosadialiou Mar 23, 2020
89399ce
Barry/fix ltc testnet (#128)
mosadialiou Mar 23, 2020
5909049
V1.19.0 (#135)
kcw-grunt Mar 30, 2020
4ef4bc9
version bump and send test checks (#138)
kcw-grunt Apr 11, 2020
7a4551f
new donate addresses (#136)
mosadialiou Apr 11, 2020
8ddaebb
version bump
kcw-grunt Apr 11, 2020
fbfc5ee
Added Litewallet
kcw-grunt Apr 26, 2020
14085dc
fix broken link
kcw-grunt Apr 26, 2020
33ecb37
updated README.md (#145)
kcw-grunt Apr 30, 2020
315ad41
Added Litewallet
kcw-grunt Apr 26, 2020
b2f1e40
fix broken link
kcw-grunt Apr 26, 2020
240669e
updated README.md (#145)
kcw-grunt Apr 30, 2020
5661239
Bugfix: [UI Alignment] Extra comma in send view (#153)
mosadialiou May 4, 2020
8f72ee0
to v1.19.3 (612) (#154)
kcw-grunt May 4, 2020
8d51adf
Merge remote-tracking branch 'litecoin-foundation/master' into lf/dev…
mosadialiou May 17, 2020
a848535
Merge remote-tracking branch 'Barry/lf/develop' into develop
kcw-grunt May 17, 2020
e74bbc4
Develop (#155)
kcw-grunt May 17, 2020
27d6624
version bump (#158)
kcw-grunt May 17, 2020
6087297
use bottom navigation view
mosadialiou Jun 1, 2020
0239339
update buy/spend/receive navigation icons
mosadialiou Jun 1, 2020
c616025
Change send/receive navigation icon names
mosadialiou Jun 1, 2020
75d996f
localize history tab title
mosadialiou Jun 1, 2020
f774d2b
Just “Acheter”
mosadialiou Jun 1, 2020
5ddaf6e
Add fonts as resources
mosadialiou Jun 8, 2020
3237d9a
setup kotlin
mosadialiou Jun 8, 2020
14fece8
upgrade grade + dependencies
mosadialiou Jun 8, 2020
1f7838a
login/register views
mosadialiou Jun 8, 2020
f30bb7c
Replace search icon with menu icon and show up LTC price
mosadialiou Jun 10, 2020
6258062
login/register UX
mosadialiou Jun 10, 2020
f583903
Prevent view not rendering in layout editor
mosadialiou Jun 10, 2020
83ca715
code cleanup
mosadialiou Jun 10, 2020
76a23d6
missing resources
mosadialiou Jun 10, 2020
a61d867
reduce toolbar height
mosadialiou Jun 10, 2020
3910a8a
Specify a material colors for the app
mosadialiou Jun 10, 2020
6742206
Fix merge conflicts
mosadialiou Jun 10, 2020
d20e3c4
Remove unused file
mosadialiou Jun 10, 2020
18b5067
Transfer view
mosadialiou Jun 13, 2020
ebf3d74
update litecoin card image
mosadialiou Jun 13, 2020
6c6137f
move constants where they are used
mosadialiou Jun 14, 2020
67cfe14
respect constant nomenclature
mosadialiou Jun 14, 2020
496c9a7
make “ltcPriceLbl” same textSize as “ltcAmount”
mosadialiou Jun 14, 2020
6640ca0
WIP: Login/Register views (#159)
mosadialiou Jun 14, 2020
016c5d7
version bump and upgrade
kcw-grunt Jun 14, 2020
439cb58
make sure listeners are not NULL
mosadialiou Jun 14, 2020
486f173
make sure to call super
mosadialiou Jun 14, 2020
dd2c330
remove unused code
mosadialiou Jun 14, 2020
946e19c
Move transactions to HistoryFragment
mosadialiou Jun 15, 2020
43f6719
fix typo
mosadialiou Jun 15, 2020
c751637
Remove fonts in assets folder. Delete BREdit and BRText and use styles
mosadialiou Jun 16, 2020
7df2391
Reformat Code: layout files
mosadialiou Jun 16, 2020
f09f9c6
Reformat code: anim files
mosadialiou Jun 16, 2020
0cea72f
Reformat code: animator files
mosadialiou Jun 16, 2020
dede7b3
code refactor
mosadialiou Aug 4, 2020
9cd0dc2
connect login and register views to API
mosadialiou Aug 4, 2020
eee1a02
make partnerapi as git submodule
mosadialiou Aug 4, 2020
4828ed6
update partnerapi
mosadialiou Aug 5, 2020
ca6b3a2
BRKeystore: remove duplicated entry (FAIL_COUNT_ALIAS)
mosadialiou Aug 5, 2020
deb04cb
after successful registration, show up a confirmation and send user b…
mosadialiou Aug 5, 2020
14f263e
remove test code
mosadialiou Aug 5, 2020
7c2361e
fix merge conflicts
mosadialiou Aug 5, 2020
b877c8a
add ktlint and format kotlin files
mosadialiou Aug 5, 2020
3fabf82
update partnerapi
mosadialiou Aug 9, 2020
c941d85
fix typo
mosadialiou Aug 9, 2020
6562106
set views Ids
mosadialiou Aug 9, 2020
e8ed2b0
Transfer view: add “Logout” button and handle navigation
mosadialiou Aug 10, 2020
8754041
transfer view: add padding bottom to “Transfer” button
mosadialiou Aug 10, 2020
0cb40ef
gradle: code format
mosadialiou Aug 10, 2020
7f55452
Merge pull request #169 from mosadialiou/ltc-card
mosadialiou Aug 15, 2020
b77c0a6
use default NDK version=21.0.6113669
mosadialiou Aug 15, 2020
4b951ec
fix merge conflicts
mosadialiou Oct 19, 2020
54fb3f8
use Timber instead of Log
mosadialiou Oct 22, 2020
07b30d6
convert BreadActivity to FragmentActivity in order to handle back pre…
mosadialiou Oct 22, 2020
60a8a55
handle back button on BuyFragment
mosadialiou Oct 22, 2020
b7e4997
upgrade firebase libs version to latest
mosadialiou Oct 22, 2020
e9f2a62
Handle AUD, GBP, HKD, IDR, RUB and SGD currencies
mosadialiou Oct 26, 2020
4a34c14
upgrade gradle/gradle build tool to respectively 6.5 and 4.1.0
mosadialiou Nov 5, 2020
6bba445
handle document upload for KYC verification
mosadialiou Dec 3, 2020
455876f
update support/policy/social links
mosadialiou Dec 7, 2020
284671f
update README: replace iOS by Android
mosadialiou Dec 7, 2020
9b17af9
use zendesk support email address
mosadialiou Dec 8, 2020
685e0cd
make sure the selected fiat option is always visible
mosadialiou Dec 8, 2020
415db3f
Merge pull request #82 from mosadialiou/buy_simplex
mosadialiou Dec 9, 2020
2f24d02
setup kotlin
mosadialiou Dec 23, 2020
ae673c1
cleanup + use timber
mosadialiou Dec 24, 2020
c555c96
use androidx fragment
mosadialiou Dec 24, 2020
52f39d4
update libs
mosadialiou Dec 24, 2020
8a65cb8
FragmentSend: IDE convertion to kotlin
mosadialiou Dec 24, 2020
33d4ced
FragmentSend: tweak kotlin conversion
mosadialiou Dec 25, 2020
9a761bb
FragmentSend: UD integration
mosadialiou Dec 25, 2020
07a5e6f
BRButton: disable touch effect when disabled
mosadialiou Dec 25, 2020
a250434
DynamicDonationFragment: convert to android
mosadialiou Dec 25, 2020
1053e41
DynamicDonationFragment: use lambda
mosadialiou Dec 25, 2020
fdde840
UDResolution: only resolve LTC domains
mosadialiou Dec 25, 2020
11a630d
FragmentSend: translation
mosadialiou Dec 25, 2020
7ff7a11
translate “Lookup”
mosadialiou Dec 30, 2020
1075650
rename tryBitcoinURL to tryLitecoinURL
mosadialiou Dec 30, 2020
a312ead
add kotlin doc
mosadialiou Dec 30, 2020
42bedd6
Merge pull request #191 from mosadialiou/feature/ud-integration
mosadialiou Jan 2, 2021
c110a38
Release v1.20.0 (simplex) (#190)
mosadialiou Jan 2, 2021
d4eecdc
Release v1.20.0 - Simplex (#187)
mosadialiou Jan 2, 2021
9ef543a
bump app version 1.21.0(631)
mosadialiou Jan 2, 2021
06a2b9c
bugfix: send view stays after send confirmation disappears
mosadialiou Jan 3, 2021
3e3b364
remove UD error toasts
mosadialiou Jan 3, 2021
b53fd79
clear the LTC address before each Lookup
mosadialiou Jan 3, 2021
61dd798
show up a confirmation toast if UD resolution is successful
mosadialiou Jan 3, 2021
565002f
bump version v1.21.0(632)
mosadialiou Jan 3, 2021
422c82d
UD: add Analytics events
mosadialiou Jan 6, 2021
925a0c8
FragmentSend: disable Lookup button until the domain string is at lea…
mosadialiou Jan 6, 2021
4ce50d0
bump version v1.21.0(633)
mosadialiou Jan 6, 2021
101c1ca
Merge pull request #194 from mosadialiou/release/v1.21.0
mosadialiou Jan 6, 2021
c3062fb
Release v1.21.0 (#193)
mosadialiou Jan 6, 2021
a84e63f
fix merge conflicts
mosadialiou Jan 29, 2021
8767215
fix build errors
mosadialiou Jan 29, 2021
09754a8
Tapping on BuyTab shows up the BuyTabFragment
mosadialiou Jan 29, 2021
e1067ed
BuyTabFragment: add horizontal divider
mosadialiou Jan 29, 2021
af880cb
replace listener with lambda
mosadialiou Jan 29, 2021
80b8193
BuyTab: change fiat selector
mosadialiou Jan 29, 2021
13ce706
FragmentBuy: add toolbar and show progress while page is loading
mosadialiou Jan 30, 2021
a7d46a5
rename menu tab from “Spend” to “Card”
mosadialiou Jan 30, 2021
6c7f8d8
change register view header title
mosadialiou Jan 30, 2021
26568a1
register view: change fields order according to iOS
mosadialiou Jan 30, 2021
88b2aa9
register view: remove address2 field
mosadialiou Jan 30, 2021
25a9ce0
login view: handle forgot password
mosadialiou Jan 30, 2021
2efab06
tweak login/register views
mosadialiou Jan 30, 2021
9c2e926
transfer view v1
mosadialiou Jan 30, 2021
8dfaa1f
update partnerapi lib
mosadialiou Jan 30, 2021
4bd6f2c
Replace “Bread” with “Litewallet”
mosadialiou Jan 30, 2021
565602d
Replace “Bread” with “Litewallet”
mosadialiou Jan 30, 2021
5e0c4b0
remove empty java class
mosadialiou Feb 1, 2021
7dacbbc
bugFix(Send view): Send with Scan crashes
mosadialiou Feb 1, 2021
537e37c
ScanQRActivity: code clean-up
mosadialiou Feb 1, 2021
2a61ddf
login/register views: extract texts into strings resource
mosadialiou Feb 6, 2021
b3f2fc7
Buy tab: remove “choose fiat” from partner item view
mosadialiou Feb 6, 2021
91842cf
login/register views: localize texts
mosadialiou Feb 7, 2021
43510ad
reduce password length from 8 to 6 at least
mosadialiou Feb 7, 2021
71e35cf
Merge pull request #200 from mosadialiou/feature/card-v1
mosadialiou Feb 7, 2021
6935cd5
bump version v2.0.0(634)
mosadialiou Feb 7, 2021
b4d902f
bugfix: make sure the market price displays only 2 decimals
mosadialiou Feb 10, 2021
694f420
bump version v2.0.0(635)
mosadialiou Feb 10, 2021
fe0f13d
Merge pull request #203 from mosadialiou/release/v2.0.0-card-v1
mosadialiou Feb 14, 2021
2fb5163
Release v2.0.0 card v1 (#202)
mosadialiou Feb 20, 2021
ab8b0b1
refacto(FragmentMenu): use lambda + code reformat
mosadialiou Feb 28, 2021
2dd448c
feature: Replace Customer Email with Zendesk HC
mosadialiou Feb 28, 2021
637387c
[TechDebt] Add issue templates (#208)
kcw-grunt Feb 28, 2021
a5b27db
Merge pull request #219 from mosadialiou/feature/zendesk-hc
mosadialiou Feb 28, 2021
f6448ff
[Bugfix] Header price update occludes the other text (#207)
kcw-grunt Mar 1, 2021
96107ba
add balance label in header
mosadialiou Mar 2, 2021
3fc5cd1
fix error: Attribute autoSizeMinTextSize is only used in API level 26…
mosadialiou Mar 2, 2021
49f209e
fix crash from Firebase: BreadActivity.java line 444
mosadialiou Mar 2, 2021
19dd85f
fix crash in RegisterFragment.kt at line 68
mosadialiou Mar 2, 2021
3180c0c
PR reviews
mosadialiou Mar 3, 2021
bbd2bb5
Merge pull request #222 from litecoin-foundation/bugfix/fb-crashes
mosadialiou Mar 3, 2021
7ac497f
Merge pull request #220 from mosadialiou/feature/add-balance-label
mosadialiou Mar 3, 2021
ef28bc5
bump version v2.1.0(636)
mosadialiou Mar 3, 2021
6e8636e
Merge pull request #228 from mosadialiou/release/v2.1.0
mosadialiou Mar 4, 2021
1cf5b69
add card disclaimer dialog
mosadialiou Mar 10, 2021
7a9d9bc
Merge pull request #236 from mosadialiou/feature/card-disclaimer
mosadialiou Mar 11, 2021
c447c64
bump version v2.1.1(637)
mosadialiou Mar 11, 2021
ec9505f
Release v2.1.0 (into master) (#227)
mosadialiou Mar 11, 2021
5956146
Merge pull request #238 from mosadialiou/release/v2.1.1
mosadialiou Mar 24, 2021
377ff21
feat(Moonpay): add partner
mosadialiou Mar 24, 2021
9c39fc4
feat(Moonpay): use CustomTabs
mosadialiou Mar 27, 2021
f93fc26
feat(Moonpay): add translation
mosadialiou Mar 27, 2021
84f8d34
fix(*): remove extra “\”
mosadialiou Mar 27, 2021
5a6356c
Release v2.1.1 (into master) (#243)
mosadialiou Mar 29, 2021
1d60b26
cleanup(*): remove unused methods
mosadialiou Apr 12, 2021
50a62f7
feat(in-app review): add in-app review
mosadialiou Apr 12, 2021
3aa5005
refacto: use lambda and wrap if in brackets
mosadialiou Apr 12, 2021
b00a25b
refacto
mosadialiou Apr 12, 2021
828802b
refacto: use lambda
mosadialiou Apr 12, 2021
aa046c7
Merge pull request #245 from mosadialiou/feature/moonpay
mosadialiou Apr 12, 2021
ca97da2
show up the in-app review dialog on the 5th send transactions
mosadialiou Apr 13, 2021
4de60df
Merge pull request #248 from mosadialiou/feature/in-app-review
mosadialiou Apr 13, 2021
460dda0
bump version v2.2.0(638)
mosadialiou Apr 13, 2021
6e49cc2
Merge pull request #249 from mosadialiou/release/v2.2.0
mosadialiou Apr 17, 2021
6e2a5ce
[Release v2.2.0] Merge into master (#250)
mosadialiou May 4, 2021
925b857
feat(card tab): hide for non-US users
mosadialiou May 15, 2021
43d84cc
Merge pull request #260 from mosadialiou/feature/us-only-card-tab
mosadialiou May 26, 2021
ff858e9
refacto(LoginActivity): use lambda, cleanup
mosadialiou Feb 28, 2021
642248e
LoginActivity: remove “My address” button
mosadialiou Mar 1, 2021
6c808bb
add LTC current price to login view
mosadialiou May 16, 2021
3ef7ab5
remove LTC current price from history view
mosadialiou May 16, 2021
0a0317d
added localizations
mosadialiou May 17, 2021
342008e
Merge pull request #221 from mosadialiou/feature/refactor-login-view
mosadialiou May 28, 2021
510327e
Added Indonesian language support (#262)
RyanPetter May 28, 2021
cc975aa
Added Turkish language support (#263)
RyanPetter May 28, 2021
e363fa0
upgrade gradle build tools
mosadialiou May 28, 2021
149197b
bump version v2.3.0(639)
mosadialiou May 28, 2021
e16e40d
bump version v2.3.1(640)
mosadialiou May 30, 2021
4b085d9
Merge pull request #267 from mosadialiou/release/v2.3.0
mosadialiou Jun 10, 2021
2469dab
show available card balance
mosadialiou Jun 24, 2021
28b0aa1
update card disclaimer
mosadialiou Jun 24, 2021
cd961e2
card balance: localize error message
mosadialiou Jul 1, 2021
547138b
default implementation of showError(Int)
mosadialiou Jul 1, 2021
8be035d
Merge pull request #274 from mosadialiou/feature/card-balance
mosadialiou Jul 2, 2021
6a5f1d2
Updated the new logo app icon (#282)
kcw-grunt Sep 13, 2021
f355acd
Release v2.3.1 into master (#268) (#281)
kcw-grunt Sep 13, 2021
4603737
🦺[Tech Debt] Added new issues templates (#270)
kcw-grunt Sep 13, 2021
2f2f5bf
Feature: switch language (#277)
mosadialiou Sep 13, 2021
ab99b72
version bump
kcw-grunt Sep 13, 2021
01ed288
WIP: Merge branch 'master' into dev
kcw-grunt Sep 14, 2021
284820f
WIP: Merge Commit in progress
kcw-grunt Sep 14, 2021
531e779
Updated merge
kcw-grunt Sep 14, 2021
e24ec8f
Updated the merge conflicts
kcw-grunt Sep 14, 2021
ca2abf2
bump build number
kcw-grunt Sep 14, 2021
a972309
🚀[Release v2.4.0] Merge into Master (#285)
kcw-grunt Oct 21, 2021
279840b
Merge remote-tracking branch 'origin/master' into dev
kcw-grunt Oct 21, 2021
64be2c7
🚀[Release v2.4.0] Merge into Dev (#288)
kcw-grunt Oct 21, 2021
9576509
🦺[Tech Debt] Upgrade to API 27+ (#290)
kcw-grunt Nov 18, 2021
cb93446
Squashed commit of the following:
kcw-grunt Nov 18, 2021
69cffb6
Remove big headers
kcw-grunt Nov 23, 2021
5615557
Removed CameraPlugin class
kcw-grunt Nov 23, 2021
b5eceb3
code bump
kcw-grunt Nov 23, 2021
d06616e
Removal of the GeoLocationPlugin
kcw-grunt Nov 23, 2021
76228ac
Removed unused plugins
kcw-grunt Nov 23, 2021
0a62f86
Removed WebActivity class
kcw-grunt Nov 23, 2021
eaaf65d
Removed More unsused code
kcw-grunt Nov 23, 2021
501732c
Removal of HTTPServer references...
kcw-grunt Nov 29, 2021
9b7ab63
Refactor
kcw-grunt Dec 7, 2021
ce92b58
Merge pull request #2 from litecoin-foundation/techdebt/remove-unused…
kcw-grunt Dec 7, 2021
0c29ff1
Update dependencies
Mar 10, 2022
b53d1d9
Merge pull request #5 from litecoin-foundation/task/update-dependenci…
kcw-grunt Apr 8, 2022
ecd637d
update submodule
kcw-grunt Apr 8, 2022
13333ca
build bump
kcw-grunt Apr 8, 2022
c8e5654
Squashed commit of the following:
kcw-grunt Apr 10, 2022
7616038
Merge branch 'main' into release/v2.5.0
kcw-grunt Apr 10, 2022
a0e3e34
Merge pull request #7 from litecoin-foundation/release/v2.5.0
kcw-grunt Apr 15, 2022
bee7854
Add files via upload
kcw-grunt Apr 15, 2022
5ba26f6
Update README.md
kcw-grunt Apr 15, 2022
74dfd6d
🚀[ Release v.2.6.0] Merge into Main (#12)
kcw-grunt May 24, 2022
7bd4fda
🚀[Release] v2.6.1 (#20)
kcw-grunt May 25, 2022
58d05cd
partnerapi update
kcw-grunt May 25, 2022
94b3f35
🚀[ Release v.2.7.0] Merge into Main (#30)
kcw-grunt Oct 29, 2022
aeef5db
Create FUNDING.yml
kcw-grunt Nov 20, 2022
03f807d
🚀[ Release v.2.7.1] Merge into Main (#100)
kcw-grunt Jan 15, 2023
4eb88b5
🚀[ Release v.2.8.0] Merge into Main (#123)
kcw-grunt Jan 30, 2023
39e9757
🚀[ Release v.2.8.1] Merge into Main (#133)
kcw-grunt Feb 6, 2023
16c5205
🚀[ Release v.2.8.4] Merge into Main (#138)
kcw-grunt Apr 13, 2023
b273cfe
🚀[Release v.2.9.1-20240326] Merge into Main (#172)
kcw-grunt Apr 5, 2024
a8b7de1
Move the fetching the partner key to an earlier phase
kcw-grunt Apr 22, 2024
bae9c2b
small test to see what happens the fingerprint fail
kcw-grunt Apr 22, 2024
3acddca
Merge remote-tracking branch 'origin/main' into release/v2.10.0
kcw-grunt Apr 22, 2024
7f0a725
resolved conflicts frm main to release branch
kcw-grunt Apr 22, 2024
809b545
Fixed a conflict resolution error
kcw-grunt Apr 23, 2024
c66c35b
Bugfix
kcw-grunt Apr 23, 2024
28bfbe9
bump code
kcw-grunt Apr 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ crash.txt
/projectFilesBackup/
/publishTODO.txt
.idea/copyright/

/.idea/markdown-navigator/
/app/src/main/java/com/breadwallet/presenter/fragments/FragmentBreadSignal.java
/fastlane/
Expand Down
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ android {
applicationId = 'com.loafwallet'
minSdkVersion 31
targetSdkVersion 33
versionCode 20240421
versionCode 20240424
versionName "v2.10.0"
multiDexEnabled true
archivesBaseName = "${versionName}(${versionCode})"
Expand Down Expand Up @@ -213,13 +213,13 @@ android {
}

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

release {
signingConfig signingConfigs.release
minifyEnabled = false
minifyEnabled = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's minifyEnabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a feature AS does to reduce the size of the binary by compressing the libraries

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

ndk {
minifyEnabled = false
Expand Down
40 changes: 21 additions & 19 deletions app/src/main/java/com/breadwallet/BreadApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,14 @@ public void onCreate() {
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(enableCrashlytics);
AnalyticsManager.init(this);
AnalyticsManager.logCustomEvent(BRConstants._20191105_AL);
loadAdvertisingAndPush(this);

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

WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE);
Display display = wm.getDefaultDisplay();
Expand Down Expand Up @@ -115,14 +122,13 @@ protected void attachBaseContext(Context base) {
public interface OnAppBackgrounded {
void onBackgrounded();
}
private void loadAdvertisingAndPush(Context app) {
Thread thr = new Thread(new Runnable() {
private void loadAdvertisingAndPush(String instanceID, Context app) {
new Thread(new Runnable() {
@Override
public void run() {
try {
AdvertisingIdClient.Info adInfo = AdvertisingIdClient.getAdvertisingIdInfo(app);
finishedLoadingPushService(adInfo);

finishedLoadingPushService( instanceID, adInfo);
} catch (IllegalStateException e) {
e.printStackTrace();
} catch (GooglePlayServicesRepairableException e) {
Expand All @@ -132,31 +138,27 @@ public void run() {
} catch (GooglePlayServicesNotAvailableException e) {
e.printStackTrace();
}
finishedLoadingPushService(null);
String emptyID = "";
finishedLoadingPushService(emptyID,null);
Bundle params = new Bundle();
params.putString("pusher_instanceid_not_found",emptyID);
AnalyticsManager.logCustomEventWithParams(BRConstants._20200112_ERR, params);
}
});
thr.start();
}).start();
}
private void finishedLoadingPushService(final AdvertisingIdClient.Info adInfo) {
if(adInfo!=null) {

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

// setup Push Notifications
String pusherInstanceID = Utils.fetchPartnerKey(this, PartnerNames.PUSHERSTAGING);
PushNotifications.start(getApplicationContext(), pusherInstanceID);
PushNotifications.start(getApplicationContext(), instanceID);
PushNotifications.addDeviceInterest(generalAndroidInterest);
PushNotifications.addDeviceInterest(debugGeneralAndroidInterest);

//Send params for pusher setup
Bundle params = new Bundle();
params.putString("general-interest",generalAndroidInterest);
params.putString("debug-general-interest",debugGeneralAndroidInterest);
params.putString("device-ad-info",adInfoString);
AnalyticsManager.logCustomEventWithParams(BRConstants._20240123_RAGI, params);
AnalyticsManager.logCustomEvent(BRConstants._20240123_RAGI);
}
}
private static class CrashReportingTree extends Timber.Tree {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ data class IntroLanguage(
val audio : Int,
val message: String,
val lang: Language
)
)
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public void onScrollStateChanged(@NonNull RecyclerView recyclerView, int newStat

});


listLangRecyclerView.setLayoutManager(layoutManager);

setListeners();
Expand Down Expand Up @@ -206,7 +205,6 @@ public void onClick(View v) {
});
}


@Override
protected void onResume() {
super.onResume();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class SyncBlockchainActivity extends BRActivity {

public static boolean appVisible = false;
private static TextView syncPreferenceTextView;
private ImageButton fingerPrint;

private static SyncBlockchainActivity app;
public static SyncBlockchainActivity getApp() {
Expand Down Expand Up @@ -74,12 +73,12 @@ protected void onCreate(Bundle savedInstanceState) {

syncRadioGroup = (RadioGroup) findViewById(R.id.sync_radio_group);

ImageButton faq = (ImageButton) findViewById(R.id.faq_button);
syncPreferenceTextView = (TextView) findViewById(R.id.sync_preferences);
scanButton = (Button) findViewById(R.id.button_scan);
lowPrivacyButton = (Button) findViewById(R.id.radio_low_privacy);
semiPrivateButton = (Button) findViewById(R.id.radio_semi_private);
anonymousButton = (Button) findViewById(R.id.radio_anonymous);
closeButton = (ImageButton) findViewById(R.id.close_button);

lowPrivacyButton.setText(getString(R.string.radio_low_privacy));
semiPrivateButton.setText(getString(R.string.radio_semi_private));
Expand Down Expand Up @@ -139,8 +138,6 @@ public void onClick(BRDialogView brDialogView) {
}, null, 0);
}
});

closeButton = (ImageButton) findViewById(R.id.close_button);
closeButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package com.breadwallet.presenter.entities;

public class PaymentItem {
public static final String TAG = PaymentItem.class.getName();

public byte[] serializedTx;
public String[] addresses;
public long amount;
public String cn;
public boolean isAmountRequested;
public String comment;

public PaymentItem(String[] addresses, byte[] tx, long theAmount, String theCn, boolean isAmountRequested) {
this.isAmountRequested = isAmountRequested;
this.serializedTx = tx;
this.addresses = addresses;
this.amount = theAmount;
this.cn = theCn;
}

public PaymentItem(String[] addresses, byte[] tx,long theAmount, String theCn, boolean isAmountRequested, String comment) {
this.isAmountRequested = isAmountRequested;
this.serializedTx = tx;
this.addresses = addresses;
this.amount = theAmount;
this.cn = theCn;
this.comment = comment;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public void onClick(View view) {
public void onClick(View view) {
if (!BRAnimator.isClickAllowed()) return;
closeMe();
goToBackup();
}
});

Expand All @@ -137,8 +136,6 @@ public void onGlobalLayout() {
@Override
public void onStop() {
super.onStop();
// animateBackgroundDim(true);
// animateSignalSlide(true);
if (!authSucceeded)
completion.onCancel();
}
Expand All @@ -156,25 +153,6 @@ public void onPause() {
mFingerprintUiHelper.stopListening();
}

/**
* Switches to backup (password) screen. This either can happen when fingerprint is not
* available or the user chooses to use the password authentication method by pressing the
* button. This can also happen when the user had too many fingerprint attempts.
*/
private void goToBackup() {
final Context app = getContext();
closeMe();

if (mFingerprintUiHelper != null)
mFingerprintUiHelper.stopListening();
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
AuthManager.getInstance().authPrompt(app, customTitle, customMessage, true, false, completion);
}
}, ANIMATION_DURATION + 100);
}

@Override
public void onAuthenticated() {
final Activity app = getActivity();
Expand All @@ -194,7 +172,10 @@ public void setCompletion(BRAuthCompletion completion) {

@Override
public void onError() {
goToBackup();
String authError = "auth_prompt_failed";
Bundle params = new Bundle();
params.putString("error_message",authError);
AnalyticsManager.logCustomEventWithParams(BRConstants._20200112_ERR, params);
}

private void animateBackgroundDim(boolean reverse) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ class CountryLanguageAdapter(context: Context,val languages: Array<IntroLanguage
mediaPlayer?.release()
}
}

Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
package com.breadwallet.tools.adapter;

import static java.util.function.Predicate.not;

import android.app.Activity;
import android.content.Context;
import android.util.TypedValue;
Expand Down Expand Up @@ -50,7 +47,6 @@ public class TransactionListAdapter extends RecyclerView.Adapter<RecyclerView.Vi
private final int promptResId;
private List<TxItem> backUpFeed;
private List<TxItem> itemFeed;
// private Map<String, TxMetaData> mds;
private final int txType = 0;
private final int promptType = 1;
private final int syncingType = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ public synchronized void stopSyncingProgressThread() {
Timber.e(ex);
}
}


private class SyncProgressTask extends Thread {
public double progressStatus = 0;
private BreadActivity app;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ public void setFeePerKb(long fee) {
public native String reverseTxHash(String txHash);

public native String txHashToHex(byte[] txHash);

public native long nativeBalance();

public native long defaultFee();
Expand Down
15 changes: 8 additions & 7 deletions app/src/main/res/layout/activity_sync_blockchain.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,14 @@
app:layout_constraintRight_toRightOf="parent" />

<ImageButton
android:id="@+id/faq_button"
android:layout_width="@dimen/faq_dimen"
android:layout_height="@dimen/faq_dimen"
android:layout_marginTop="0dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="0dp"
android:visibility="invisible"
android:id="@+id/close_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginRight="16dp"
android:backgroundTint="#F6F8FA"
android:src="@drawable/ic_close_black_24dp"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="@+id/title"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/title" />
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@
<string name="Import.warning">Importing a wallet does not include transaction history or other details.</string>
<!-- Wrong password alert message -->
<string name="Import.wrongPassword">Wrong password, please try again.</string>
<!-- Close app button -->
<!-- Ignore jailbreak warning button -->
<string name="JailbreakWarnings.ignore">Ignore</string>
<!-- Jailbreak warning message -->
Expand Down