Rewards 3.0 android (#26945)

* Add rewards 3.0 feature flag

* Add a function to check for rewards 3.0 flag

Update entry points for rewards with rewards 3.0 flag

* Add RewardsPageActivity/RewardsCustomTabRootUiCoordinator to show rewards 3.0 changes in custom tab

* Address rewards reset for rewards 3.0

* Add activity transition for rewards page

* Remove onBackPressed override

* Add close button to close the rewards panel as we have disabled back press

Update close button position on the page

* Add creator changes for rewards 3.0

Remove logs

Add null check

Remove changes for backpress

* Add changes for handling creators

Encode Url for creators

* Add open url native fucntion

* Add bubble in query params

* Add bytecode changes for BaseCustomTabActivity

Add native function to open url into rewards_page_ui

* Update copyright header year

* Update close icon for rewards page

Remove comments and refactor changes

* Address naming related changes

* Add test for bytecode changes

Resolve rebase error

* Update changes to use TabUtils open tab

* Remove close button

* Add FullScreenCustomTabActivity
This commit is contained in:
Deep Pandya
2025-02-22 16:34:57 -05:00
committed by GitHub
parent e16c0dc838
commit a5c0b652be
25 changed files with 479 additions and 23 deletions
+2
View File
@@ -33,6 +33,8 @@
<dimen name="shields_tooltip_arrow_width">30dp</dimen>
<dimen name="shields_tooltip_arrow_height">15dp</dimen>
<dimen name="full_screen_custom_tabs_control_container_height">0dp</dimen>
<dimen name="vpn_plan_margin">32dp</dimen>
<dimen name="onboarding_network_selection_item_width">103dp</dimen>
+11
View File
@@ -303,6 +303,17 @@
<item name="android:windowExitAnimation">@anim/slide_out_bottom</item>
</style>
<style name="BottomSheetAnimation">
<item name="android:activityOpenEnterAnimation">@anim/slide_in_bottom</item>
<item name="android:activityCloseExitAnimation">@anim/slide_out_bottom</item>
</style>
<style name="BottomSheetActivityTheme" parent="Theme.Chromium.Activity.FakeTranslucent">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@style/BottomSheetAnimation</item>
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
<style name="BraveWalletDAppNotificationDialogTop" parent="@android:style/Theme.Dialog">
<item name="android:windowMinWidthMajor">98%</item>
<item name="android:windowMinWidthMinor">98%</item>