Skip to content

Commit

Permalink
Revert "Fix android builds (#1080)" (#1088)
Browse files Browse the repository at this point in the history
This reverts commit c3459fe.
  • Loading branch information
Bruno Barbieri authored Sep 12, 2019
1 parent c906d8d commit 570adc2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ aliases:

- &install-node-dependencies
|
rm -rf node_modules/websocket/.git && yarn install --network-timeout 300000 --frozen-lockfile
rm -rf node_modules/websocket/.git && yarn install --network-timeout 300000

defaults: &defaults
working_directory: ~/MetaMask
Expand Down
4 changes: 2 additions & 2 deletions app/components/UI/DrawerView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import Engine from '../../../core/Engine';
import { setTokensTransaction } from '../../../actions/transaction';
import findFirstIncomingTransaction from '../../../util/accountSecurity';
import ActionModal from '../ActionModal';
import { getVersion, getBuildNumber, getSystemName, getApiLevel, getSystemVersion } from 'react-native-device-info';
import { getVersion, getBuildNumber, getSystemName, getAPILevel, getSystemVersion } from 'react-native-device-info';
import Logger from '../../../util/Logger';
import DeviceSize from '../../../util/DeviceSize';
import OnboardingWizard from '../OnboardingWizard';
Expand Down Expand Up @@ -598,7 +598,7 @@ class DrawerView extends PureComponent {
const appVersion = getVersion();
const buildNumber = getBuildNumber();
const systemName = getSystemName();
const systemVersion = systemName === 'Android' ? getApiLevel() : getSystemVersion();
const systemVersion = systemName === 'Android' ? getAPILevel() : getSystemVersion();
this.goToBrowserUrl(
`https://docs.google.com/forms/d/e/${formId}/viewform?entry.649573346=${systemName}+${systemVersion}+MM+${appVersion}+(${buildNumber})`,
strings('drawer.feedback')
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@
"react-native-aes-crypto": "github:brunobar79/react-native-aes#495bf43f119f6ee5998e7e42b9cb02bb39a5a524",
"react-native-animated-fox": "github:brunobar79/react-native-animated-fox#813096236bd765da465647c31b2d392e1d114d3f",
"react-native-background-timer": "2.1.1",
"react-native-branch": "github:brunobar79/react-native-branch-deep-linking-attribution#6abb7e34a8f77f624013bb148aed87f50e72bf8f",
"react-native-branch": "github:brunobar79/react-native-branch-deep-linking-attribution#0d4839c068928ab38205c0473607915716990ab7",
"react-native-browser-polyfill": "0.1.2",
"react-native-button": "github:brunobar79/react-native-button#fd79f4d6c8ced4086ba6e3021b6ed6d4a3e19cf7",
"react-native-camera": "2.10.0",
"react-native-crypto": "2.1.2",
"react-native-device-info": "3.0.0",
"react-native-device-info": "github:react-native-community/react-native-device-info#a3cff963641280326b0b1205f1f6b56a537355e3",
"react-native-elevated-view": "0.0.6",
"react-native-emoji": "1.3.1",
"react-native-fabric": "0.5.2",
Expand Down
3 changes: 1 addition & 2 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,10 @@ fi

echo "14. Remove UIWebview deps"
rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebView.h
rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebView.h
rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebView.m
rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebViewManager.h
rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebViewManager.m

echo "15. Remove Branch examples"
rm -rf node_modules/react-native-branch/examples/
rm -rf node_modules/react-native-branch/native-tests/

11 changes: 5 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9397,9 +9397,9 @@ react-native-background-timer@2.1.1:
resolved "https://registry.yarnpkg.com/react-native-background-timer/-/react-native-background-timer-2.1.1.tgz#9a2489681ab2f8033c213c73272e9d4c47572cd5"
integrity sha512-cuXIIv+dcG8a8qkTD8pMzeqOEZCO+UGKglZWIe1osve+yJslmCowYQff+bI9xa7NOt2w+Vtd4L3d9JonlSqODg==

"react-native-branch@github:brunobar79/react-native-branch-deep-linking-attribution#6abb7e34a8f77f624013bb148aed87f50e72bf8f":
"react-native-branch@github:brunobar79/react-native-branch-deep-linking-attribution#0d4839c068928ab38205c0473607915716990ab7":
version "3.1.1"
resolved "https://codeload.github.com/brunobar79/react-native-branch-deep-linking-attribution/tar.gz/6abb7e34a8f77f624013bb148aed87f50e72bf8f"
resolved "https://codeload.github.com/brunobar79/react-native-branch-deep-linking-attribution/tar.gz/0d4839c068928ab38205c0473607915716990ab7"

react-native-browser-polyfill@0.1.2:
version "0.1.2"
Expand Down Expand Up @@ -9444,10 +9444,9 @@ react-native-crypto@2.1.2:
pbkdf2 "3.0.8"
public-encrypt "^4.0.0"

react-native-device-info@3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/react-native-device-info/-/react-native-device-info-3.0.0.tgz#3eb6c4c9427e337268074e6a3e27230d1d0c4178"
integrity sha512-GdCIp6SBiOhxhkWcUcFy7RIn9elaJ4DC8UEcs7KBC3bwfZyx/jHwqQc7jk6IFYiI3/+7/rnJletVy8DkSkVOUw==
"react-native-device-info@github:react-native-community/react-native-device-info#a3cff963641280326b0b1205f1f6b56a537355e3":
version "2.3.2"
resolved "https://codeload.github.com/react-native-community/react-native-device-info/tar.gz/a3cff963641280326b0b1205f1f6b56a537355e3"

react-native-elevated-view@0.0.6:
version "0.0.6"
Expand Down

0 comments on commit 570adc2

Please sign in to comment.