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

Version 0.2.5 #1138

Merged
merged 63 commits into from
Oct 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
dc0028a
More UIWebview cleanup (#1045)
Aug 29, 2019
d285006
Migrate to yarn (#1049)
Aug 30, 2019
d96a20b
bugfix: token transfer deeplink (#1047)
estebanmino Aug 30, 2019
c597511
bugfix: connect modal (#1048)
estebanmino Aug 30, 2019
0805f60
dont show invalid deeplink if opening the app with no action (#1050)
Aug 30, 2019
a15a954
updated branch sdk and fix build (#1051)
Aug 30, 2019
559d2fa
Detox: Import seed phrase and validate via settings (#1056)
ibrahimtaveras00 Sep 4, 2019
60dfb78
Update branch SDK & fix build issues (#1061)
Sep 5, 2019
f24c2e3
bump circleci cache version (#1062)
Sep 5, 2019
a903da1
Revert "Update branch SDK & fix build issues (#1061)" (#1063)
Sep 5, 2019
8028dbb
Fix circleci builds (#1064)
Sep 5, 2019
00412cd
bugfix: remove tokens but ETH (#1054)
estebanmino Sep 5, 2019
733b9de
bugfix: inpage enable (#1065)
estebanmino Sep 9, 2019
947650f
Bugfix: custom rpc network (#1060)
estebanmino Sep 9, 2019
2bd8aee
bugfix: android injection (#1068)
estebanmino Sep 9, 2019
f63771b
fix ens manager (#1069)
Sep 9, 2019
978bbc4
bugfix: json rpc accounts api (#1071)
estebanmino Sep 10, 2019
8679498
detox: dapp initiated txns (#1058)
ibrahimtaveras00 Sep 10, 2019
5a6290c
safe check (#1076)
Sep 11, 2019
f53aa69
Update branch to latest version (#1078)
Sep 12, 2019
561eb01
update submodules (#1079)
Sep 12, 2019
c3459fe
Fix android builds (#1080)
Sep 12, 2019
c376cd6
Fix webview files path (#1081)
Sep 12, 2019
ae735a1
dont use cache on pre-release (#1082)
Sep 12, 2019
506cec3
bugfix: reveal credential ui (#1084)
estebanmino Sep 12, 2019
e4cb2ad
Revert "dont use cache on pre-release (#1082)" (#1086)
Sep 12, 2019
eee4d52
Revert "Fix webview files path (#1081)" (#1087)
Sep 12, 2019
588e6ce
Revert "Fix android builds (#1080)" (#1088)
Sep 12, 2019
464aecf
Revert "update submodules (#1079)" (#1089)
Sep 12, 2019
f7caac9
Revert "Update branch to latest version (#1078)" (#1090)
Sep 12, 2019
57affb5
fix android apk generation (#1091)
Sep 13, 2019
143aa1d
use old xcode to compare build diff (#1092)
Sep 13, 2019
ca4f1f8
fix Crashlytics import (#1093)
Sep 13, 2019
e7965d4
update deps and xcode (#1094)
Sep 16, 2019
cc8d993
detox: Enable e2e test suite to run on CircleCI (#1097)
ibrahimtaveras00 Sep 17, 2019
36e7b00
detox: test e2e ios (#1075)
estebanmino Sep 18, 2019
56ecfbb
update dapp txn flow in case ropsten faucet is having issues (#1101)
ibrahimtaveras00 Sep 18, 2019
57f6afe
Update README.md (#1106)
luckyyang Sep 26, 2019
8a6f48f
Feature: onboarding carousel (#1103)
estebanmino Sep 27, 2019
739ef3f
Feature: instapay receive (#1104)
estebanmino Sep 27, 2019
23275d4
improvements: instapay (#1108)
estebanmino Sep 27, 2019
da86a0d
Webview rewrite (#1096)
Sep 27, 2019
f8987e5
bump to v0.2.5 (#1112)
Sep 27, 2019
d594725
Fix develop builds (#1113)
Sep 27, 2019
7a024b8
Bump react-native-device-info (#1115)
Sep 27, 2019
d2e867a
iOS 13 Support (#1116)
Sep 30, 2019
4d2f15a
Bump rubyzip from 1.2.3 to 1.3.0 in /ios (#1119)
dependabot[bot] Oct 1, 2019
3627708
fix webview black flash (#1120)
Oct 1, 2019
d2cc308
Fix walletconnect sendTransaction (#1121)
Oct 1, 2019
43d64a7
fix statusbar in dark mode (#1122)
Oct 1, 2019
714af0f
Support provider.once (#1123)
Oct 1, 2019
ecb0e91
fix apk generation (#1124)
Oct 1, 2019
16e5fdf
update user agents (#1125)
Oct 1, 2019
2aa4e36
Fix: Add tokens android crash (#1127)
Oct 2, 2019
9fc5412
Navigation fixes (#1128)
Oct 2, 2019
7f02fc6
Design QA issues (#1129)
Oct 2, 2019
a1f7dab
Bugfix: onboarding design qa (#1130)
estebanmino Oct 4, 2019
50adaac
Bugfix: wizard design qa (#1131)
estebanmino Oct 4, 2019
23a296c
Fix animated fox (#1132)
Oct 4, 2019
06b501d
renew certs if needed (#1134)
Oct 4, 2019
2ea1387
Fix fastlane config (#1135)
Oct 4, 2019
eb29521
Select correct profiles (#1136)
Oct 4, 2019
ce8aaa9
update changelog (#1137)
estebanmino Oct 4, 2019
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
61 changes: 25 additions & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
aliases:
- &restore-cache
keys:
- v1.0.5-{{ .Branch }}-{{ checksum "package.json" }}
- v1.0.5-{{ .Branch }}

- &save-cache
key: v1.0.5-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- node_modules
- &restore-node-cache
keys:
- v1.0.5-node-{{ .Branch }}-{{ checksum "package.json" }}
- v1.0.5-node-{{ .Branch }}
- v1.1.0-node-{{ .Branch }}-{{ checksum "package.json" }}
- v1.1.0-node-{{ .Branch }}
- &save-node-cache
key: v1.0.5-node-{{ .Branch }}-{{ checksum "package.json" }}
key: v1.1.0-node-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- node_modules

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

defaults: &defaults
working_directory: ~/MetaMask
Expand All @@ -28,17 +19,15 @@ version: 2
jobs:
prep-deps:
<<: *defaults
macos:
xcode: 10.2.0
docker:
- image: circleci/node:10
steps:
- checkout
- restore_cache: *restore-cache
- run: *install-node-dependencies
- persist_to_workspace:
root: .
paths:
- node_modules
- save_cache: *save-cache
prep-node-deps:
<<: *defaults
docker:
Expand All @@ -61,7 +50,7 @@ jobs:
- checkout
- attach_workspace:
at: .
- run: npm run lint
- run: yarn lint

test-unit:
<<: *defaults
Expand All @@ -72,7 +61,7 @@ jobs:
- checkout
- attach_workspace:
at: .
- run: npm run test:unit -- -w 3
- run: yarn test:unit -- -w 3
# - persist_to_workspace:
# root: .
# paths:
Expand All @@ -81,7 +70,7 @@ jobs:
test-e2e-ios:
<<: *defaults
macos:
xcode: 10.2.0
xcode: 11.1.0
steps:
- checkout
- attach_workspace:
Expand All @@ -91,9 +80,10 @@ jobs:
command:
|
brew update
brew install watchman
brew tap wix/brew
brew install --HEAD applesimutils
npm install -g detox-cli
yarn global add detox-cli
- run: echo $IOS_ENV | tr "|" "\n" > .ios.env
- run: detox clean-framework-cache && detox build-framework-cache
- run: detox build --configuration ios.sim.release && detox test --configuration ios.sim.release --cleanup
Expand All @@ -105,7 +95,7 @@ jobs:
- checkout
- attach_workspace:
at: .
- run: npm install codecov
- run: yarn install codecov
- run: ./node_modules/bin/codecov

all-tests-pass:
Expand All @@ -121,18 +111,17 @@ jobs:
docker:
- image: circleci/android:api-28-node8-alpha
steps:
- checkout:
path: ~/MetaMask
- checkout
- attach_workspace:
at: ~/MetaMask
at: .
- run:
name: build:accept-android-licenses
command: (echo y; echo y; echo y; echo y; echo y; echo y) | $ANDROID_HOME/tools/bin/sdkmanager --licenses
- run:
name: build:pre-release
command:
|
npm run build:android:pre-release:bundle
yarn build:android:pre-release:bundle
- store_artifacts:
path: android/app/build/outputs/bundle/release
destination: bundle
Expand All @@ -144,22 +133,21 @@ jobs:
destination: sourcemaps-android
- run:
name: Announcing pre-release
command: npm run build:announce
command: yarn build:announce
publish-pre-release-ios:
macos:
xcode: 10.2.0
xcode: 11.1.0
working_directory: ~/MetaMask
environment:
FL_OUTPUT_DIR: output
shell: /bin/bash --login -o pipefail
steps:
- checkout:
path: ~/MetaMask
- checkout
- attach_workspace:
at: ~/MetaMask
at: .
- run:
name: pre-release
command: npm run build:ios:pre-release
command: yarn build:ios:pre-release
- store_artifacts:
path: sourcemaps/ios
destination: sourcemaps-ios
Expand All @@ -185,14 +173,15 @@ workflows:
- test-unit:
requires:
- prep-node-deps
# - test-e2e-ios:
# requires:
# - test-unit
- test-e2e-ios:
requires:
- prep-node-deps
- test-unit
- all-tests-pass:
requires:
- lint
- test-unit
# - test-e2e-ios
- test-e2e-ios
# - upload-coverage:
# requires:
# - test-unit
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "ios/mixpanel-iphone"]
path = ios/mixpanel-iphone
url = [email protected]:mixpanel/mixpanel-iphone.git
[submodule "ios/branch-ios-sdk"]
path = ios/branch-ios-sdk
url = [email protected]:BranchMetrics/ios-branch-deep-linking-attribution.git
70 changes: 68 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,75 @@

## Current Develop Branch

## v0.2.5 - Oct 4 2019

- [#1136](https://github.com/MetaMask/metamask-mobile/pull/1136): Select correct profiles (#1136)
- [#1135](https://github.com/MetaMask/metamask-mobile/pull/1135): Fix fastlane config (#1135)
- [#1134](https://github.com/MetaMask/metamask-mobile/pull/1134): renew certs if needed (#1134)
- [#1132](https://github.com/MetaMask/metamask-mobile/pull/1132): Fix animated fox (#1132)
- [#1131](https://github.com/MetaMask/metamask-mobile/pull/1131): Bugfix: wizard design qa (#1131)
- [#1130](https://github.com/MetaMask/metamask-mobile/pull/1130): Bugfix: onboarding design qa (#1130)
- [#1129](https://github.com/MetaMask/metamask-mobile/pull/1129): Design QA issues (#1129)
- [#1128](https://github.com/MetaMask/metamask-mobile/pull/1128): Navigation fixes (#1128)
- [#1127](https://github.com/MetaMask/metamask-mobile/pull/1127): Fix: Add tokens android crash (#1127)
- [#1125](https://github.com/MetaMask/metamask-mobile/pull/1125): update user agents (#1125)
- [#1124](https://github.com/MetaMask/metamask-mobile/pull/1124): fix apk generation (#1124)
- [#1123](https://github.com/MetaMask/metamask-mobile/pull/1123): Support provider.once (#1123)
- [#1122](https://github.com/MetaMask/metamask-mobile/pull/1122): fix statusbar in dark mode (#1122)
- [#1121](https://github.com/MetaMask/metamask-mobile/pull/1121): Fix walletconnect sendTransaction (#1121)
- [#1120](https://github.com/MetaMask/metamask-mobile/pull/1120): fix webview black flash (#1120)
- [#1119](https://github.com/MetaMask/metamask-mobile/pull/1119): Bump rubyzip from 1.2.3 to 1.3.0 in /ios (#1119)
- [#1116](https://github.com/MetaMask/metamask-mobile/pull/1116): iOS 13 Support (#1116)
- [#1115](https://github.com/MetaMask/metamask-mobile/pull/1115): Bump react-native-device-info (#1115)
- [#1113](https://github.com/MetaMask/metamask-mobile/pull/1113): Fix develop builds (#1113)
- [#1112](https://github.com/MetaMask/metamask-mobile/pull/1112): bump to v0.2.5 (#1112)
- [#1096](https://github.com/MetaMask/metamask-mobile/pull/1096): Webview rewrite (#1096)
- [#1108](https://github.com/MetaMask/metamask-mobile/pull/1108): improvements: instapay (#1108)
- [#1104](https://github.com/MetaMask/metamask-mobile/pull/1104): Feature: instapay receive (#1104)
- [#1103](https://github.com/MetaMask/metamask-mobile/pull/1103): Feature: onboarding carousel (#1103)
- [#1106](https://github.com/MetaMask/metamask-mobile/pull/1106): Update README.md (#1106)
- [#1101](https://github.com/MetaMask/metamask-mobile/pull/1101): update dapp txn flow in case ropsten faucet is having issues (#1101)
- [#1075](https://github.com/MetaMask/metamask-mobile/pull/1075): detox: test e2e ios (#1075)
- [#1097](https://github.com/MetaMask/metamask-mobile/pull/1097): detox: Enable e2e test suite to run on CircleCI (#1097)
- [#1094](https://github.com/MetaMask/metamask-mobile/pull/1094): update deps and xcode (#1094)
- [#1093](https://github.com/MetaMask/metamask-mobile/pull/1093): fix Crashlytics import (#1093)
- [#1092](https://github.com/MetaMask/metamask-mobile/pull/1092): use old xcode to compare build diff (#1092)
- [#1091](https://github.com/MetaMask/metamask-mobile/pull/1091): fix android apk generation (#1091)
- [#1090](https://github.com/MetaMask/metamask-mobile/pull/1090): Revert "Update branch to latest version (#1078)" (#1090)
- [#1089](https://github.com/MetaMask/metamask-mobile/pull/1089): Revert "update submodules (#1079)" (#1089)
- [#1088](https://github.com/MetaMask/metamask-mobile/pull/1088): Revert "Fix android builds (#1080)" (#1088)
- [#1087](https://github.com/MetaMask/metamask-mobile/pull/1087): Revert "Fix webview files path (#1081)" (#1087)
- [#1086](https://github.com/MetaMask/metamask-mobile/pull/1086): Revert "dont use cache on pre-release (#1082)" (#1086)
- [#1084](https://github.com/MetaMask/metamask-mobile/pull/1084): bugfix: reveal credential ui (#1084)
- [#1082](https://github.com/MetaMask/metamask-mobile/pull/1082): dont use cache on pre-release (#1082)
- [#1081](https://github.com/MetaMask/metamask-mobile/pull/1081): Fix webview files path (#1081)
- [#1080](https://github.com/MetaMask/metamask-mobile/pull/1080): Fix android builds (#1080)
- [#1079](https://github.com/MetaMask/metamask-mobile/pull/1079): update submodules (#1079)
- [#1078](https://github.com/MetaMask/metamask-mobile/pull/1078): Update branch to latest version (#1078)
- [#1076](https://github.com/MetaMask/metamask-mobile/pull/1076): safe check (#1076)
- [#1058](https://github.com/MetaMask/metamask-mobile/pull/1058): detox: dapp initiated txns (#1058)
- [#1071](https://github.com/MetaMask/metamask-mobile/pull/1071): bugfix: json rpc accounts api (#1071)
- [#1069](https://github.com/MetaMask/metamask-mobile/pull/1069): fix ens manager (#1069)
- [#1068](https://github.com/MetaMask/metamask-mobile/pull/1068): bugfix: android injection (#1068)
- [#1060](https://github.com/MetaMask/metamask-mobile/pull/1060): Bugfix: custom rpc network (#1060)
- [#1065](https://github.com/MetaMask/metamask-mobile/pull/1065): bugfix: inpage enable (#1065)
- [#1054](https://github.com/MetaMask/metamask-mobile/pull/1054): bugfix: remove tokens but ETH (#1054)
- [#1064](https://github.com/MetaMask/metamask-mobile/pull/1064): Fix circleci builds (#1064)
- [#1063](https://github.com/MetaMask/metamask-mobile/pull/1063): Revert "Update branch SDK & fix build issues (#1061)" (#1063)
- [#1062](https://github.com/MetaMask/metamask-mobile/pull/1062): bump circleci cache version (#1062)
- [#1061](https://github.com/MetaMask/metamask-mobile/pull/1061): Update branch SDK & fix build issues (#1061)
- [#1056](https://github.com/MetaMask/metamask-mobile/pull/1056): Detox: Import seed phrase and validate via settings (#1056)
- [#1051](https://github.com/MetaMask/metamask-mobile/pull/1051): updated branch sdk and fix build (#1051)
- [#1050](https://github.com/MetaMask/metamask-mobile/pull/1050): dont show invalid deeplink if opening the app with no action (#1050)
- [#1048](https://github.com/MetaMask/metamask-mobile/pull/1048): bugfix: connect modal (#1048)
- [#1047](https://github.com/MetaMask/metamask-mobile/pull/1047): bugfix: token transfer deeplink (#1047)
- [#1049](https://github.com/MetaMask/metamask-mobile/pull/1049): Migrate to yarn (#1049)
- [#1045](https://github.com/MetaMask/metamask-mobile/pull/1045): More UIWebview cleanup (#1045)
- [#1044](https://github.com/MetaMask/metamask-mobile/pull/1044): remove uiwebview ocurrences (#1044)

## v0.2.4 - Aug 28 2019
- [#1038](https://github.com/MetaMask/metamask-mobile/pull/1037) - Fix Approval (#1038)
- [#1037](https://github.com/MetaMask/metamask-mobile/pull/1037) - Fix walletconnect (#1037)
- [#1038](https://github.com/MetaMask/metamask-mobile/pull/1038): Fix Approval (#1038)
: [#1037](https://github.com/MetaMask/metamask-mobile/pull/1037): Fix walletconnect :#1037)
- [#1036](https://github.com/MetaMask/metamask-mobile/pull/1036): Bugfix: browser crash (#1036)
- [#1034](https://github.com/MetaMask/metamask-mobile/pull/1034): Bump 0.2.4 (#1034)
- [#1027](https://github.com/MetaMask/metamask-mobile/pull/1027): Improvement: approval token transfer data (#1027)
Expand Down
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,43 @@ To learn how to develop MetaMask-compatible applications, visit our [Developer D
### Building locally
The code is built using React-Native and running code locally requires a Mac or Linux OS.

- Install [Node.js](https://nodejs.org) **version 8 (latest stable) and npm@6**
- Install [Node.js](https://nodejs.org) **version 10 (latest stable) and yarn@1 (latest)**
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
- If you install Node.js manually, ensure you're using npm@6
- Install npm@6 using `npm install -g npm@6`

- Before starting, you need to install React Native dependencies:
- [MacOs](https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies-1)
- [Linux](https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies-2)
- Now clone this repo and then install all our dependencies

```bash
cd MetaMask
npm i
cd metamask-mobile
yarn install
```

- Running the app on Android:

```bash
npm run start:android
yarn start:android
```

- Running the app on iOS:

```bash
npm run start:ios
yarn start:ios
```

### Running tests:
- Unit test:
```
npm run test:unit
yarn test:unit
```
- E2E Tests (iOS)
```
npm run test:e2e:ios
yarn test:e2e:ios
```
- E2E Tests (Android)
```
npm run test:e2e:android
yarn test:e2e:android
```

### Troubleshooting
Expand Down
7 changes: 4 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ android {
applicationId "io.metamask"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 17
versionName "0.2.4"
versionCode 18
versionName "0.2.5"
multiDexEnabled true
testBuildType System.getProperty('testBuildType', 'debug')
missingDimensionStrategy "minReactNative", "minReactNative46"
Expand Down Expand Up @@ -255,6 +255,8 @@ android {
}

dependencies {
implementation project(':react-native-reanimated')
implementation project(':react-native-webview')
implementation project(':react-native-fabric')
implementation project(':@react-native-community_netinfo')
implementation project(':react-native-view-shot')
Expand All @@ -274,7 +276,6 @@ dependencies {
implementation project(':react-native-branch')
implementation "io.branch.sdk.android:library:3.0.4"

implementation project(':react-native-web3-webview')
implementation project(':react-native-camera')
implementation project(':react-native-share')
implementation project(':react-native-i18n')
Expand Down
6 changes: 4 additions & 2 deletions android/app/src/main/java/io/metamask/MainApplication.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package io.metamask;

import com.facebook.react.ReactApplication;
import com.swmansion.reanimated.ReanimatedPackage;
import com.reactnativecommunity.webview.RNCWebViewPackage;
import com.smixx.fabric.FabricPackage;
import com.reactnativecommunity.netinfo.NetInfoPackage;
import fr.greweb.reactnativeviewshot.RNViewShotPackage;
Expand All @@ -13,7 +15,6 @@
import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;
import io.branch.rnbranch.RNBranchPackage;
import io.branch.rnbranch.RNBranchModule;
import com.web3webview.Web3WebviewPackage;
import io.metamask.nativeModules.RCTAnalyticsPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import cl.json.RNSharePackage;
Expand Down Expand Up @@ -48,6 +49,8 @@ public boolean getUseDeveloperSupport() {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new ReanimatedPackage(),
new RNCWebViewPackage(),
new FabricPackage(),
new NetInfoPackage(),
new RNViewShotPackage(),
Expand All @@ -69,7 +72,6 @@ protected List<ReactPackage> getPackages() {
new RNOSModule(),
new RNSharePackage(),
new VectorIconsPackage(),
new Web3WebviewPackage(),
new RCTAnalyticsPackage()
);
}
Expand Down
2 changes: 1 addition & 1 deletion android/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fi

# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\" \"-Xmx2048m\" \"-Xms256m\" \"-XX:MaxPermSize=2048m\""
fi

# For Cygwin, switch paths to Windows format before running java
Expand Down
4 changes: 4 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
rootProject.name = 'MetaMask'
include ':react-native-reanimated'
project(':react-native-reanimated').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-reanimated/android')
include ':react-native-webview'
project(':react-native-webview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview/android')
include ':react-native-fabric'
project(':react-native-fabric').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fabric/android')
include ':@react-native-community_netinfo'
Expand Down
Loading