Skip to content

Commit

Permalink
Merge branch 'develop' into new.biometrics
Browse files Browse the repository at this point in the history
# Conflicts:
#	__mocks__/react-native-device-info.js
#	__tests__/__snapshots__/Storyshots.test.js.snap
#	android/app/src/main/java/chat/rocket/reactnative/generated/BasePackageList.java
#	ios/Podfile.lock
#	ios/Pods/Local Podspecs/EXWebBrowser.podspec.json
#	ios/Pods/Local Podspecs/RNDeviceInfo.podspec.json
#	ios/Pods/Local Podspecs/ReactNativeKeyboardTrackingView.podspec.json
#	ios/Pods/Local Podspecs/UMAppLoader.podspec.json
#	ios/Pods/Local Podspecs/UMCore.podspec.json
#	ios/Pods/Manifest.lock
#	ios/Pods/Pods.xcodeproj/project.pbxproj
#	ios/Pods/Target Support Files/EXImageLoader/EXImageLoader.xcconfig
#	ios/Pods/Target Support Files/EXKeepAwake/EXKeepAwake-prefix.pch
#	ios/Pods/Target Support Files/EXLocalAuthentication/EXLocalAuthentication-prefix.pch
#	ios/Pods/Target Support Files/Pods-RocketChatRN/Pods-RocketChatRN-acknowledgements.markdown
#	ios/Pods/Target Support Files/Pods-RocketChatRN/Pods-RocketChatRN-acknowledgements.plist
#	ios/Pods/Target Support Files/Pods-RocketChatRN/Pods-RocketChatRN.debug.xcconfig
#	ios/Pods/Target Support Files/Pods-RocketChatRN/Pods-RocketChatRN.release.xcconfig
#	ios/Pods/Target Support Files/Pods-ShareRocketChatRN/Pods-ShareRocketChatRN-acknowledgements.markdown
#	ios/Pods/Target Support Files/Pods-ShareRocketChatRN/Pods-ShareRocketChatRN-acknowledgements.plist
#	ios/Pods/Target Support Files/Pods-ShareRocketChatRN/Pods-ShareRocketChatRN.debug.xcconfig
#	ios/Pods/Target Support Files/Pods-ShareRocketChatRN/Pods-ShareRocketChatRN.release.xcconfig
#	ios/Pods/Target Support Files/SocketRocket/SocketRocket-prefix.pch
#	ios/Pods/Target Support Files/UMAppLoader/UMAppLoader.xcconfig
#	ios/Pods/Target Support Files/UMReactNativeAdapter/UMReactNativeAdapter.xcconfig
#	package.json
#	yarn.lock
  • Loading branch information
diegolmello committed May 8, 2020
2 parents ec328fc + ce51982 commit 2ddbc6e
Show file tree
Hide file tree
Showing 3,479 changed files with 357,115 additions and 64,453 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
lint-testunit:
<<: *defaults
docker:
- image: circleci/node:8
- image: circleci/node:10

environment:
CODECOV_TOKEN: caa771ab-3d45-4756-8e2a-e1f25996fef6
Expand Down Expand Up @@ -59,13 +59,13 @@ jobs:
key: node-v1-mac-{{ checksum "yarn.lock" }}

- run:
name: Install Node 8
name: Install Node 10
command: |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
source ~/.nvm/nvm.sh
# https://github.com/creationix/nvm/issues/1394
set +e
nvm install 8
nvm install 10
- run:
name: Install appleSimUtils
Expand Down Expand Up @@ -120,13 +120,13 @@ jobs:
key: node-v1-mac-{{ checksum "yarn.lock" }}

- run:
name: Install Node 8
name: Install Node 10
command: |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
source ~/.nvm/nvm.sh
# https://github.com/creationix/nvm/issues/1394
set +e
nvm install 8
nvm install 10
- run:
name: Install appleSimUtils
Expand Down Expand Up @@ -176,14 +176,14 @@ jobs:
- checkout

- run:
name: Install Node 8
name: Install Node 10
command: |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
source ~/.nvm/nvm.sh
# https://github.com/creationix/nvm/issues/1394
set +e
nvm install 8
echo 'export PATH="/home/circleci/.nvm/versions/node/v8.16.0/bin:$PATH"' >> ~/.bash_profile
nvm install 10
echo 'export PATH="/home/circleci/.nvm/versions/node/v10.20.1/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
- restore_cache:
Expand All @@ -206,6 +206,7 @@ jobs:
# echo -e "android.enableAapt2=false" >> ./gradle.properties
echo -e "android.useAndroidX=true" >> ./gradle.properties
echo -e "android.enableJetifier=true" >> ./gradle.properties
echo -e "FLIPPER_VERSION=0.33.1" >> ./gradle.properties
if [[ $KEYSTORE ]]; then
echo $KEYSTORE_BASE64 | base64 --decode > ./app/$KEYSTORE
Expand Down Expand Up @@ -234,8 +235,7 @@ jobs:
name: Build Android App
command: |
if [[ $KEYSTORE ]]; then
# TODO: enable app bundle again
./gradlew assembleRelease
./gradlew bundleRelease
else
./gradlew assembleDebug
fi
Expand Down Expand Up @@ -292,13 +292,13 @@ jobs:
key: node-v1-mac-{{ checksum "yarn.lock" }}

- run:
name: Install Node 8
name: Install Node 10
command: |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
source ~/.nvm/nvm.sh
# https://github.com/creationix/nvm/issues/1394
set +e
nvm install 8
nvm install 10
- run:
name: Install NPM modules
Expand Down
18 changes: 17 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,23 @@ module.exports = {
"react-native/no-unused-styles": 2,
"react/jsx-one-expression-per-line": 0,
"require-await": 2,
"func-names": 0
"func-names": 0,
"react/sort-comp": ["error", {
"order": [
"static-variables",
"static-methods",
"lifecycle",
"everything-else",
"render"
]
}],
"react/static-property-placement": [0],
"arrow-parens": ["error", "as-needed", { requireForBlockBody: true }],
"react/jsx-props-no-spreading": [1],
"react/jsx-curly-newline": [0],
"react/state-in-constructor": [0],
"no-async-promise-executor": [0],
"max-classes-per-file": [0]
},
"globals": {
"__DEV__": true
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ coverage/
buck-out/
\.buckd/
*.keystore
*.jks

# fastlane
#
Expand Down
4 changes: 4 additions & 0 deletions __mocks__/expo-keep-awake.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
activateKeepAwake: () => '',
deactivateKeepAwake: () => ''
};
2 changes: 1 addition & 1 deletion __mocks__/react-native-device-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export default {
getReadableVersion: () => '',
getBundleId: () => '',
isTablet: () => false,
hasNotch: () => ''
hasNotch: () => false
};
Loading

0 comments on commit 2ddbc6e

Please sign in to comment.