Skip to content

Commit

Permalink
Merge pull request #311 from rainbow-me/release-v1.2.3
Browse files Browse the repository at this point in the history
Release v1.2.3
  • Loading branch information
jinchung authored Jan 8, 2020
2 parents e88cd33 + 28b6ddc commit d9671bc
Show file tree
Hide file tree
Showing 528 changed files with 21,413 additions and 13,801 deletions.
44 changes: 0 additions & 44 deletions .eslintrc

This file was deleted.

16 changes: 16 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"extends": "satya164",
"settings": {
"react": { "version": "16" }
},
"rules": {
"sort-keys": ["error", "asc", {"caseSensitive": false, "natural": false}],
"jest/no-truthy-falsy": 0,
"react-native/no-inline-styles": 0,
"import/named": 0,
"react/display-name": 2,
"jest/no-test-prefixes": 0, //TODO
"jest/no-disabled-tests": 0 //TODO
},
"env": { "browser": true, "node": true }
}
78 changes: 43 additions & 35 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,63 +5,71 @@
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/

; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*

; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
; These should not be required directly
; require from fbjs/lib instead: require('fbjs/lib/warning')
node_modules/warning/.*

; Ignore polyfills
.*/Libraries/polyfills/.*
; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js

; Ignore metro
.*/node_modules/metro/.*
[untyped]
.*/node_modules/@react-native-community/cli/.*/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/
node_modules/react-native/flow-github/

[options]
emoji=true

module.system=haste
module.system.haste.use_name_reducers=true
# get basename
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
# strip .js or .js.flow suffix
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
# strip .ios suffix
module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
module.system.haste.paths.blacklist=.*/__tests__/.*
module.system.haste.paths.blacklist=.*/__mocks__/.*
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*

munge_underscores=true

module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable

module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.native.js
module.file_ext=.ios.js

munge_underscores=true

module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
sketchy-number=warn
untyped-type-import=warn
nonstrict-import=warn
deprecated-type=warn
unsafe-getters-setters=warn
inexact-spread=warn
unnecessary-invariant=warn
signature-verification-failure=warn
deprecated-utility=error

[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import

[version]
^0.92.0
^0.105.0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ yarn-error.log
buck-out/
\.buckd/
*.keystore
!debug.keystore

# fastlane
#
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v11.1.0
v12.13.0
6 changes: 6 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
bracketSpacing: true,
jsxBracketSameLine: false,
singleQuote: true,
trailingComma: 'all',
};
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,27 @@ and this project adheres to [Semantic Versioning](http://semver.org/)
## [Unreleased]
### Added

### Removed

### Changed
## [1.2.3-1](https://github.com/rainbow-me/rainbow/releases/tag/v1.2.3-1)
### Changed
* Better biometric support
* Fix import wallet showing old wallet balances

### Removed
## [1.2.2-4](https://github.com/rainbow-me/rainbow/releases/tag/v1.2.2-4)
### Added
* Uniswap support
* Add to contacts
* Support for deep linking
* Support for Sentry

### Changed
* Upgraded Firebase

## [1.1.5-2](https://github.com/rainbow-me/rainbow/releases/tag/v1.1.5-2)
### Changed
* Bugfix for transaction history with null symbol

## [1.1.5-2](https://github.com/rainbow-me/rainbow/releases/tag/v1.1.5-2)
### Changed
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Rainbow Wallet
![](https://pbs.twimg.com/profile_banners/1103191459409420288/1573207178/1500x500)
### 🌈️ Rainbow
> the pocket robot for your internet money ⁖𝗣𝗼𝘄𝗲𝗿𝗲𝗱 𝗯𝘆 𝗘𝘁𝗵𝗲𝗿𝗲𝘂𝗺⁖
A mobile wallet for open finance and the decentralized web.
📲️ [Available on the iOS App Store.](https://apps.apple.com/us/app/rainbow-ethereum-wallet/id1457119021)

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

## Requirements

Expand Down
14 changes: 0 additions & 14 deletions __tests__/App-test.js

This file was deleted.

14 changes: 0 additions & 14 deletions __tests__/App.js

This file was deleted.

21 changes: 4 additions & 17 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ project.ext.react = [
]

apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/@sentry/react-native/sentry.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"

/**
Expand Down Expand Up @@ -153,36 +154,22 @@ android {
}

dependencies {
implementation project(':@react-native-community_masked-view')
implementation project(':react-native-text-input-mask')
implementation project(':react-native-safe-area-context')
implementation project(':@segment_analytics-react-native')
implementation project(':react-native-firebase')
implementation project(':@staltz_react-native-tcp')
implementation project(':@react-native-community_blur')
implementation project(':@react-native-community_netinfo')
implementation project(':@react-native-community_async-storage')
implementation project(':@react-native-community_masked-view')
implementation project(':react-native-camera')
compile project(':react-native-device-info')
compile project(':react-native-screens')
compile project(':react-native-version-number')
compile project(':react-native-matomo')
compile project(':react-native-fast-image')
compile project(':react-native-blur')
compile project(':react-native-languages')
compile project(':react-native-reanimated')
compile project(':react-native-gesture-handler')
compile project(':react-native-code-push')
compile project(':react-native-haptic-feedback')
compile project(':react-native-udp')
compile project(':react-native-touch-id')
compile project(':react-native-tcp')
compile project(':react-native-svg')
compile project(':react-native-splash-screen')
compile project(':react-native-randombytes')
compile project(':react-native-radial-gradient')
compile project(':react-native-os')
compile project(':react-native-mail')
compile project(':react-native-linear-gradient')
compile project(':react-native-keychain')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
compile "com.facebook.react:react-native:+" // From node_modules
Expand Down
39 changes: 7 additions & 32 deletions android/app/src/main/java/com/rainbow/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,24 @@
import android.app.Application;

import com.facebook.react.ReactApplication;
import com.RNTextInputMask.RNTextInputMaskPackage;
import com.th3rdwave.safeareacontext.SafeAreaContextPackage;
import org.reactnative.maskedview.RNCMaskedViewPackage;
import com.RNTextInputMask.RNTextInputMaskPackage;
import com.segment.analytics.reactnative.core.RNAnalyticsPackage;
import io.invertase.firebase.RNFirebasePackage;
import react-native-tcp.TcpSocketsModule;
import com.cmcewen.blurview.BlurViewPackage;
import com.reactnativecommunity.netinfo.NetInfoPackage;
import com.reactnativecommunity.asyncstorage.AsyncStoragePackage;
import org.reactnative.camera.RNCameraPackage;
import com.learnium.RNDeviceInfo.RNDeviceInfo;
import com.swmansion.rnscreens.RNScreensPackage;
import com.apsl.versionnumber.RNVersionNumberPackage;
import de.bonify.reactnativepiwik.PiwikPackage;
import com.dylanvann.fastimage.FastImageViewPackage;
import com.cmcewen.blurview.BlurViewPackage;
import com.reactcommunity.rnlanguages.RNLanguagesPackage;
import com.swmansion.reanimated.ReanimatedPackage;
import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;
import com.microsoft.codepush.react.CodePush;
import com.reactlibrary.RNReactNativeHapticFeedbackPackage;
import com.tradle.react.UdpSocketsModule;
import com.rnfingerprint.FingerprintAuthPackage;
import com.peel.react.TcpSocketsModule;
import com.horcrux.svg.SvgPackage;
import org.devio.rn.splashscreen.SplashScreenReactPackage;
import com.bitgo.randombytes.RandomBytesPackage;
import com.surajit.rnrg.RNRadialGradientPackage;
import com.peel.react.rnos.RNOSModule;
import com.chirag.RNMail.RNMail;
import com.BV.LinearGradient.LinearGradientPackage;
import com.oblador.keychain.KeychainPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
Expand All @@ -59,36 +47,23 @@ public boolean getUseDeveloperSupport() {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNTextInputMaskPackage(),
new SafeAreaContextPackage(),
new RNCMaskedViewPackage(),
new RNTextInputMaskPackage(),
new RNAnalyticsPackage(),
new RNFirebasePackage(),
new TcpSocketsModule(),
new BlurViewPackage(),
new NetInfoPackage(),
new AsyncStoragePackage(),
new RNCameraPackage(),
new RNDeviceInfo(),
new RNScreensPackage(),
new RNVersionNumberPackage(),
new PiwikPackage(),
new FastImageViewPackage(),
new BlurViewPackage(),
new RNLanguagesPackage(),
new ReanimatedPackage(),
new RNGestureHandlerPackage(),
new CodePush(BuildConfig.CODEPUSH_KEY, getApplicationContext(), BuildConfig.DEBUG),
new RNReactNativeHapticFeedbackPackage(),
new UdpSocketsModule(),
new FingerprintAuthPackage(),
new TcpSocketsModule(),
new SvgPackage(),
new SplashScreenReactPackage(),
new RandomBytesPackage(),
new RNRadialGradientPackage(),
new RNOSModule(),
new RNMail(),
new LinearGradientPackage(),
new KeychainPackage()
new TcpSocketsModule()
);
}

Expand Down
4 changes: 4 additions & 0 deletions android/sentry.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
defaults.url=https://sentry.io/
defaults.org=rainbow-me
defaults.project=rainbow-wallet
cli.executable=node_modules/@sentry/cli/bin/sentry-cli
Loading

0 comments on commit d9671bc

Please sign in to comment.