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

package & patch updates #5175

Merged
merged 75 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
9537108
bump to v1.9.7 (#5133)
ibrahimtaveras00 Oct 19, 2023
a10acd3
networks: rm override (#5118)
skylarbarrera Oct 19, 2023
dc57208
positions: sort by value (#5119)
skylarbarrera Oct 19, 2023
40ee3bb
readme: update download links (#5120)
skylarbarrera Oct 20, 2023
8d617ca
swaps: fix crosschain chainID in seach (#5135)
skylarbarrera Oct 20, 2023
dc7cd66
send: fix max send for native balances (#5126)
skylarbarrera Oct 20, 2023
d24226c
change default behavior to not allow click through (#5136)
walmat Oct 20, 2023
0c2ce01
Prompt app reviews after interaction (#5125)
walmat Oct 20, 2023
087aec8
Points v0 (#5134)
christianbaroni Oct 20, 2023
9edef6b
Points cleanup (#5139)
christianbaroni Oct 20, 2023
2cf2600
Fix: Automatic WC redirect back to browser is broken on iOS 17 (#5127)
walmat Oct 20, 2023
91f8171
audit: react-devtools-core (#5145)
skylarbarrera Oct 23, 2023
c7fd1f6
fix android crash and change wallet connect placement of review promp…
walmat Oct 23, 2023
a6a6f08
[Android Only] Some buttons are not working (#5149)
walmat Oct 23, 2023
e46841b
wc: always show connected dapps (#5148)
skylarbarrera Oct 24, 2023
16eaa69
Fix button press animation, scroll indicators (#5144)
christianbaroni Oct 24, 2023
af64509
fix (#5138)
BrodyHughes Oct 24, 2023
af45d85
@matthew/revert disallow interruption (#5152)
walmat Oct 24, 2023
63caad7
bump to v1.9.8 (#5153)
ibrahimtaveras00 Oct 25, 2023
c64dffe
Disabling animation interval when IS_TESTING is true (#5156)
mwieja Oct 25, 2023
4f8dd58
Review Alert block E2E tests, disabling when IS_TESTING=true (#5155)
mwieja Oct 25, 2023
fd4624b
mints: add tx fee buffer (#5157)
skylarbarrera Oct 26, 2023
702d773
wallet: rm legacy eth_sign (#5137)
skylarbarrera Oct 26, 2023
923bfeb
Fixed E2E test DiscoverSheetFlow (#5160)
mwieja Oct 26, 2023
a55956d
Reenabled tests in deeplinks and sendSheetFlow (#5161)
mwieja Oct 26, 2023
a405721
remove prompt during wallet connect flow. it's not feasible (#5163)
walmat Oct 26, 2023
8224e4c
mints: l1fee + value fix (#5162)
skylarbarrera Oct 27, 2023
daffe0e
Revert "mints: l1fee + value fix (#5162)" (#5166)
jinchung Oct 27, 2023
a22f043
audit: browserify-sign (#5168)
skylarbarrera Oct 27, 2023
43e0855
Remove account assets redux (#5131)
jinchung Oct 27, 2023
452fdcd
mints: l1fee + value fix (#5167)
skylarbarrera Oct 27, 2023
5f3aa45
WC: dapp warnings (#5147)
skylarbarrera Oct 30, 2023
a6c9ccc
updated packages & patches
dereknelson Oct 31, 2023
548d841
updated tcp patch to fix duplicate symbols issue
dereknelson Nov 1, 2023
171f4ac
walletconnect: sanitize 712 signs (#5159)
skylarbarrera Nov 2, 2023
444ae84
package updates
dereknelson Nov 2, 2023
faf3b34
bump to v1.9.9 (#5173)
ibrahimtaveras00 Nov 2, 2023
42fda7d
wc: use methodRegistry on all networks (#5179)
skylarbarrera Nov 7, 2023
3456871
WC: enabled eth_sign but only for connections (#5180)
skylarbarrera Nov 7, 2023
f82c5f6
lang: fix english revert (#5182)
skylarbarrera Nov 7, 2023
1c9d1cf
reviews: bump watch wallet threshold (#5181)
skylarbarrera Nov 8, 2023
a3719b7
Cleanup unused coinrow components (#5142)
jinchung Nov 8, 2023
aca3cdb
nonces: reset nonces (#5170)
skylarbarrera Nov 8, 2023
1decd95
bump to v1.9.10 (#5183)
ibrahimtaveras00 Nov 13, 2023
bdb8139
audit: axios + reservior client bump (#5184)
skylarbarrera Nov 13, 2023
c53aaee
Fixes for activity list coin icons and migrating some components to n…
jinchung Nov 14, 2023
dbbdaf0
Update copy for an Error Occurred message for Support (#5187)
walmat Nov 14, 2023
97c1807
sends: fix prev sends logic (#5185)
skylarbarrera Nov 14, 2023
593d9cb
mints: fix insufficient eth check (#5186)
skylarbarrera Nov 14, 2023
b433c99
Feature: Add remote promo sheet (#5140)
walmat Nov 15, 2023
f2eebc5
[PATCH]: react-native-fast-image iOS 17 spec (#5188)
walmat Nov 15, 2023
eb838ba
[Android] Fix: Hide Navigation & Status bar (#5150)
walmat Nov 16, 2023
b0809fd
. (#5191)
walmat Nov 16, 2023
d57a63c
RPC Proxy (#5169)
benisgold Nov 16, 2023
1437c10
[APP-917]: Minimum recieved shown in wei not in ETH on eth to weth sw…
walmat Nov 17, 2023
a7dbc95
wc: tx simulation (#5177)
skylarbarrera Nov 17, 2023
00c15a3
revert onpress (#5193)
skylarbarrera Nov 20, 2023
6494ea7
[Android]: Random bug fixes (#5195)
walmat Nov 21, 2023
1112522
Simulation fixes (#5194)
christianbaroni Nov 21, 2023
de74028
v bump 1.9.11 (#5204)
BrodyHughes Nov 28, 2023
785d968
removed sentry
dereknelson Nov 29, 2023
7e95051
i think i hallucinated this repo
dereknelson Nov 29, 2023
1fcde97
added scheme
dereknelson Nov 30, 2023
1e20d2d
chore: supply metadata graphql api key (#5211)
welps Nov 30, 2023
61969f6
working prebuild script
dereknelson Dec 1, 2023
e389189
fix: prebuild.sh files not working with eval (#5215)
walmat Dec 1, 2023
af272bd
handle hex tx types (#5214)
skylarbarrera Dec 1, 2023
c16745e
tx sim: error handling for unknown urls (#5213)
skylarbarrera Dec 1, 2023
225dc5a
add .easignore step (#5216)
walmat Dec 1, 2023
e85c3fe
[APP-379]: Update client to use new token search aggregator across ne…
walmat Dec 1, 2023
bb37f22
Merge branch 'develop' into @derek/expo-patches
dereknelson Dec 1, 2023
86eb889
Android Expo build (#5218)
walmat Dec 2, 2023
a965172
update android local build progress
walmat Dec 5, 2023
1799645
add setup-env scripts
walmat Dec 5, 2023
4cd6916
remove compilation errors for rn plaid
walmat Dec 5, 2023
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ coverage

# Expo
.expo
.easignore
dist/
web-build/
.xcode.env.local

# VSCode
.vscode/
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,57 @@ and this project adheres to [Semantic Versioning](http://semver.org/)

### Fixed

## [1.9.10] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.10)

### Added

- Tx Simulation (#5177)
- RPC Proxy updates (#5169)
- Remote promo sheet capabilities (#5140)

### Changed

- ‘An error occurred’ popup changes (#5187)

### Fixed

- Android navigation bar now matches app theme (#5150)
- Infinite render on swaps modal bug (#5191)

## [1.9.9] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.9)

### Added

- Bug fixes
- WC improvements

## [1.9.8] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.8)

### Added

- WC dapp warnings
- e2e updates
- Fee updates to NFT Mints
- Account Asset improvements

## [1.9.7] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.7)

### Added

- points v0
- prompt app reviews
- bug fixes

## [1.9.6] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.6)

### Added

- in app mints
- i18n support
- Rainbow Tabs
- OP Rewards Round 2
- more user pain points fixes

## [1.9.5] (https://github.com/rainbow-me/rainbow/releases/tag/v1.9.5)

### Added
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

> the Ethereum wallet that lives in your pocket!

📲️ [Available on the iOS App Store.](https://apps.apple.com/us/app/rainbow-ethereum-wallet/id1457119021)
📲️ [Available on the iOS App Store.](https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=github&mt=8)

🤖 [Android Beta available on Google Play Store](https://play.google.com/store/apps/details?id=me.rainbow)
🤖 [Android available on the Google Play Store](https://play.google.com/store/apps/details?id=me.rainbow&utm_campaign=gh&utm_source=referral&utm_medium=gh)

💻 [Browser extension available on](https://rainbow.me/download?utm_campaign=gh&utm_source=referral&utm_medium=gh), [Chrome](https://chrome.google.com/webstore/detail/rainbow/opfgelmcmbiajamepnmloijbpoleiama?utm_campaign=gh&utm_source=referral&utm_medium=gh), [Brave](https://chrome.google.com/webstore/detail/rainbow/opfgelmcmbiajamepnmloijbpoleiama?utm_campaign=gh&utm_source=referral&utm_medium=gh), [Edge](https://chrome.google.com/webstore/detail/rainbow/opfgelmcmbiajamepnmloijbpoleiama?utm_campaign=gh&utm_source=referral&utm_medium=gh), [FireFox](https://addons.mozilla.org/en-US/firefox/addon/rainbow-extension/?utm_campaign=gh&utm_source=referral&utm_medium=gh), and [Arc](https://chrome.google.com/webstore/detail/rainbow/opfgelmcmbiajamepnmloijbpoleiama?utm_campaign=gh&utm_source=referral&utm_medium=gh).

🐦️ [Follow us on Twitter](https://twitter.com/rainbowdotme)

Expand Down
26 changes: 22 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: "com.android.application"
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'kotlin-parcelize'


def getPassword(String currentUser, String keyChain) {
Expand Down Expand Up @@ -124,13 +125,22 @@ def jscFlavor = 'org.webkit:android-jsc:+'
android {
def envFile = project.file('../../.env')
def env =[:]
envFile.eachLine {
if (it.contains('=') && (!it.startsWith("#"))) {
def (key, value) = it.split('=')

if (System.getenv('EAS_BUILD')) {
System.getenv().each { key, value ->
env[key] = value
}
}

if (envFile.exists()) {
envFile.eachLine {
if (it.contains('=') && (!it.startsWith("#"))) {
def (key, value) = it.split('=')
env[key] = value
}
}
}

def props = project.file('src/main/java/me/rainbow/MainApplication.java')
def contents2 = props.getText( 'UTF-8' ).replaceAll( "//_REA ", '' ).replaceAll('/\\* REA', '//_REA /* REA')
props.delete()
Expand Down Expand Up @@ -209,6 +219,10 @@ android {
}
}

buildFeatures {
viewBinding true
}

packagingOptions {
exclude 'META-INF/DEPENDENCIES'
pickFirst '**/armeabi-v7a/libc++_shared.so'
Expand All @@ -218,7 +232,12 @@ android {
pickFirst '**/x86/libjsc.so'
pickFirst '**/armeabi-v7a/libjsc.so'
}
}

configurations.all {
resolutionStrategy {
force 'com.google.android.gms:play-services-auth:17.0.0'
}
}

dependencies {
Expand All @@ -230,7 +249,6 @@ dependencies {
implementation 'com.google.android.play:core:1.8.2'
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
implementation "androidx.core:core-splashscreen:1.0.0"
implementation project(':react-native-plaid-link-sdk')

debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
Expand Down
5 changes: 3 additions & 2 deletions android/app/src/main/java/me/rainbow/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import me.rainbow.NativeModules.Internals.InternalPackage;
import me.rainbow.NativeModules.RNBip39.RNBip39Package;
import me.rainbow.NativeModules.RNBackHandler.RNBackHandlerPackage;
import me.rainbow.NativeModules.SystemNavigationBar.SystemNavigationBarPackage;
import me.rainbow.NativeModules.RNReview.RNReviewPackage;
import me.rainbow.NativeModules.RNStartTime.RNStartTimePackage;
import me.rainbow.NativeModules.RNTextAnimatorPackage.RNTextAnimatorPackage;
Expand Down Expand Up @@ -56,6 +57,7 @@ protected List<ReactPackage> getPackages() {
// Packages that cannot be autolinked yet can be added manually here, for example:
packages.add(new RNBip39Package());
packages.add(new RNReviewPackage());
packages.add(new SystemNavigationBarPackage());
packages.add(new RNBackHandlerPackage());
packages.add(new RNTextAnimatorPackage());
packages.add(new RNZoomableButtonPackage());
Expand All @@ -64,8 +66,7 @@ protected List<ReactPackage> getPackages() {
packages.add(new RNStartTimePackage(MainApplication.START_MARK));
packages.add(new RNHapticsPackage());


return packages;
return packages;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package me.rainbow.NativeModules.RNReview;

import android.app.Activity;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.google.android.play.core.review.ReviewInfo;
Expand All @@ -9,23 +11,44 @@
import com.google.android.play.core.tasks.Task;

public class RNReviewModule extends ReactContextBaseJavaModule {
private final ReactApplicationContext reactContext;

public RNReviewModule(ReactApplicationContext reactContext) {
super(reactContext);
this.reactContext = reactContext;
}

@Override
public String getName() {
return "RNReview";
}

@ReactMethod

public void show(final Promise promise) {
ReviewManager manager = ReviewManagerFactory.create(getReactApplicationContext());
final Activity activity = reactContext.getCurrentActivity();
if (activity == null) {
promise.reject("E_ACTIVITY_DOES_NOT_EXIST", "Activity doesn't exist");
return;
}

ReviewManager manager = ReviewManagerFactory.create(reactContext);
Task<ReviewInfo> request = manager.requestReviewFlow();
request.addOnCompleteListener(task -> {
if (task.isSuccessful()) {
// We can get the ReviewInfo object
ReviewInfo reviewInfo = task.getResult();
Task<Void> flow = manager.launchReviewFlow(activity, reviewInfo);
flow.addOnCompleteListener(task1 -> {
if (task1.isSuccessful()) {
promise.resolve(null);
} else {
promise.reject("E_REVIEW_FLOW_FAILED", "Review flow failed");
}
});
} else {
// There was some problem, continue regardless of the result.
promise.reject("E_REQUEST_REVIEW_FAILED", "Request review flow failed");
}
});
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class RNReviewPackage implements ReactPackage {
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
return Arrays.asList(new RNReviewModule());
return Arrays.asList(new RNReviewModule(reactContext));
}

@Override
Expand Down
Loading
Loading