-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π[Release v2.12.2 20241118] Merge into Main (#273)
* π[Release v2.11.1 071024] Merge into Develop (#245) * replaced the control in PeerManager.c Signed-off-by: kcw-grunt <[email protected]> * reverted BRBitcoinAmount Signed-off-by: kcw-grunt <[email protected]> * Cleaning up the files Signed-off-by: kcw-grunt <[email protected]> * Removed Pusher remnants Signed-off-by: kcw-grunt <[email protected]> --------- Signed-off-by: kcw-grunt <[email protected]> * Added Fiat feature, and FCM for push notifications (#247) * Added fiat feature based on language user chose * added fcm for push notifications * Update PushNotificationService.kt * Added new Icon, removed duplicate fcm library, added in app messaging * Added new Icon, removed duplicate fcm library, added in app messaging * Tech debt/add af sdk (#248) * Recent newline Signed-off-by: kcw-grunt <[email protected]> * AF added Refactored cruft - AF working Signed-off-by: kcw-grunt <[email protected]> --------- Signed-off-by: kcw-grunt <[email protected]> * Techdebt/refactor brevents syncmarkers (#254) * Tech debt/add af sdk (#248) - AF working - Changed requiredActivity - Added analytics error report - test this.Activity is null or not - Bugfix - Phrase Reminder crash - added an exception handler for UserNotAuthenticatedException. - note: this should allow for the system to display the native authorization UI when needed - fixes issue - https://console.firebase.google.com/u/0/project/litewallet-beta/crashlytics/app/android:com.loafwallet/issues/09dac17241309f0e823ef597a9a82cd4 - Added dev note - remove calls to BREventManager - removed BREventManager - renamed error message - fixed Firebase Analytics event error Signed-off-by: kcw-grunt <[email protected]> * version bump update gitignore Signed-off-by: kcw-grunt <[email protected]> --------- Signed-off-by: kcw-grunt <[email protected]> * Techdebt/ fixed send issue add syncing measurements (#255) * removed unused BRSharedPreferences Signed-off-by: kcw-grunt <[email protected]> * started commenting out more Timber Signed-off-by: kcw-grunt <[email protected]> * Added more shared preferences for syncing Signed-off-by: kcw-grunt <[email protected]> * Commented out many verbose Timber logs Signed-off-by: kcw-grunt <[email protected]> * WIP Still trying to figure out the eplased time and last and start timestampsβ¦??? I dunno Signed-off-by: kcw-grunt <[email protected]> * Moved sync measurment into the method calls Signed-off-by: kcw-grunt <[email protected]> * Debugged the install issue with send - Moved all the measurements in new methods - recalculated measure points - Added analytics - event did_complete_sync was shown! - adding a dummy file to make sure file system is set ||||WIP still verifying the JSON is present - added a blockheight label - changed the sleep time (a hack to allow the device time to refresh the view) to 100 ms from 500ms!! -WIP Why is the bundle not showing on time Signed-off-by: kcw-grunt <[email protected]> * replaces afID to first location Signed-off-by: kcw-grunt <[email protected]> * Removed redundant sync measurements Signed-off-by: kcw-grunt <[email protected]> * code bump Signed-off-by: kcw-grunt <[email protected]> --------- Signed-off-by: kcw-grunt <[email protected]> * Techdebt/test refactor cruft removal (#250) * Removed non english seed words -Refactor tests - Reset AnalyticsTests Signed-off-by: kcw-grunt <[email protected]> * Rename Bitcoinletter to Litecoinletters -added tests testLitecoinSymbolConstants testAppExternalURLConstants testFirebaseAnalyticsConstants Signed-off-by: kcw-grunt <[email protected]> --------- Signed-off-by: kcw-grunt <[email protected]> * fix: [#152] make sure using Fragment, FragmentManager and FragmentTransaction from androidx (#260) * fix: [#126] the issue came from FragmentBalanceSeedReminder.fetchSeedPhrase, so we just wrap with runCatching for now to avoid crash (#263) * version bump Signed-off-by: kcw-grunt <[email protected]> * Removed donation button removed xml removed fragments removed references of the donation removed analytical events Signed-off-by: kcw-grunt <[email protected]> * fix: prevent activity close * code bump Signed-off-by: kcw-grunt <[email protected]> * enabled for Debug Signed-off-by: kcw-grunt <[email protected]> * fix: [#264] add null checking for BRKeyStore.removeAliasAndFiles (#270) * fix: [#265] add null checking, migrate viewpageβ¦ (#271) * fix: [WIP][#265] work in progress add null checking, migrate viewpager to viewpager2 and more * fix: [#265] finalize migration some deprecated class and implement null checking at FragmentTransactionItem * fix: dix dismiss outside FragmentTransactionDetails * code bump Signed-off-by: kcw-grunt <[email protected]> * version bump Signed-off-by: kcw-grunt <[email protected]> --------- Signed-off-by: kcw-grunt <[email protected]> Co-authored-by: Josi Kie <[email protected]> Co-authored-by: Andhika Yuana <[email protected]>
- Loading branch information
1 parent
ad6ac60
commit dcb363e
Showing
65 changed files
with
653 additions
and
9,429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
app/src/androidTest/java/com/breadwallet/analytics/AnalyticsTests.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
app/src/androidTest/java/com/litewallet/analytics/ConstantsTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
package com.litewallet.analytics; | ||
import androidx.test.ext.junit.runners.AndroidJUnit4; | ||
import android.util.Log; | ||
import androidx.test.ext.junit.rules.ActivityScenarioRule; | ||
|
||
import com.breadwallet.presenter.activities.intro.IntroActivity; | ||
import com.breadwallet.tools.util.BRConstants; | ||
|
||
import org.junit.After; | ||
import org.junit.Assert; | ||
import org.junit.Before; | ||
import org.junit.Rule; | ||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
|
||
import java.net.URI; | ||
|
||
@RunWith(AndroidJUnit4.class) | ||
public class ConstantsTests { | ||
public static final String TAG = ConstantsTests.class.getName(); | ||
@Rule | ||
public ActivityScenarioRule<IntroActivity> mActivityRule = new ActivityScenarioRule<>(IntroActivity.class); | ||
@Before | ||
public void setUp() { | ||
Log.e(TAG, "setUp: "); | ||
} | ||
|
||
@After | ||
public void tearDown() { | ||
} | ||
@Test | ||
public void testLitecoinSymbolConstants() { | ||
Assert.assertSame(BRConstants.litecoinLowercase,"Ε"); | ||
Assert.assertSame(BRConstants.litecoinUppercase,"Ε"); | ||
} | ||
@Test | ||
public void testAppExternalURLConstants() { | ||
Assert.assertSame(BRConstants.TWITTER_LINK,"https://twitter.com/Litewallet_App"); | ||
Assert.assertSame(BRConstants.INSTAGRAM_LINK,"https://www.instagram.com/litewallet.app"); | ||
Assert.assertSame(BRConstants.WEB_LINK,"https://litewallet.io"); | ||
Assert.assertSame(BRConstants.TOS_LINK,"https://litewallet.io/privacy"); | ||
Assert.assertSame(BRConstants.CUSTOMER_SUPPORT_LINK,"https://support.litewallet.io/hc/en-us/requests/new"); | ||
Assert.assertSame(BRConstants.BITREFILL_AFFILIATE_LINK,"https://www.bitrefill.com/"); | ||
} | ||
@Test | ||
public void testFirebaseAnalyticsConstants() { | ||
Assert.assertSame(BRConstants._20191105_AL,"app_launched"); | ||
Assert.assertSame(BRConstants._20191105_VSC,"visit_send_controller"); | ||
Assert.assertSame(BRConstants._20202116_VRC,"visit_receive_controller"); | ||
Assert.assertSame(BRConstants._20191105_DSL,"did_send_ltc"); | ||
Assert.assertSame(BRConstants._20191105_DTBT,"did_tap_buy_tab"); | ||
Assert.assertSame(BRConstants._20200111_RNI,"rate_not_initialized"); | ||
Assert.assertSame(BRConstants._20200111_FNI,"feeperkb_not_initialized"); | ||
Assert.assertSame(BRConstants._20200111_TNI,"transaction_not_initialized"); | ||
Assert.assertSame(BRConstants._20200111_WNI,"wallet_not_initialized"); | ||
Assert.assertSame(BRConstants._20200111_PNI,"phrase_not_initialized"); | ||
Assert.assertSame(BRConstants._20200111_UTST,"unable_to_sign_transaction"); | ||
Assert.assertSame(BRConstants._20200112_ERR,"error"); | ||
Assert.assertSame(BRConstants._20200112_DSR,"did_start_resync"); | ||
Assert.assertSame(BRConstants._20200125_DSRR,"did_show_review_request"); | ||
Assert.assertSame(BRConstants._20201118_DTGS,"did_tap_get_support"); | ||
Assert.assertSame(BRConstants._20200217_DUWP,"did_unlock_with_pin"); | ||
Assert.assertSame(BRConstants._20200217_DUWB,"did_unlock_with_biometrics"); | ||
Assert.assertSame(BRConstants._20200301_DUDFPK,"did_use_default_fee_per_kb"); | ||
Assert.assertSame(BRConstants._20201121_SIL,"started_IFPS_lookup"); | ||
Assert.assertSame(BRConstants._20201121_DRIA,"did_resolve_IPFS_address"); | ||
Assert.assertSame(BRConstants._20201121_FRIA,"failed_resolve_IPFS_address"); | ||
Assert.assertSame(BRConstants._20200207_DTHB,"did_tap_header_balance"); | ||
Assert.assertSame(BRConstants._20210427_HCIEEH,"heartbeat_check_if_event_even_happens"); | ||
Assert.assertSame(BRConstants._20220822_UTOU,"user_tapped_on_ud"); | ||
Assert.assertSame(BRConstants._20230131_NENR,"no_error_nominal_response"); | ||
Assert.assertSame(BRConstants._20230407_DCS,"did_complete_sync"); | ||
Assert.assertSame(BRConstants._20240123_RAGI,"registered_android_general_interest"); | ||
Assert.assertSame(BRConstants._20231225_UAP,"user_accepted_push"); | ||
Assert.assertSame(BRConstants._20240101_US,"user_signup"); | ||
Assert.assertSame(BRConstants._20241006_DRR,"did_request_rating"); | ||
Assert.assertSame(BRConstants._20241006_UCR,"user_completed_rating"); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...m/breadwallet/database/DatabaseTests.java β ...om/litewallet/database/DatabaseTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...om/breadwallet/platform/KVStoreTests.java β ...com/litewallet/platform/KVStoreTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...m/breadwallet/security/KeyStoreTests.java β ...om/litewallet/security/KeyStoreTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...readwallet/security/NewKeyStoreTests.java β ...litewallet/security/NewKeyStoreTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.