Skip to content

Commit

Permalink
Release 0.2.14
Browse files Browse the repository at this point in the history
Release 0.2.14
  • Loading branch information
estebanmino authored Mar 12, 2020
2 parents 7fbb73e + 8112cc8 commit a0ac448
Show file tree
Hide file tree
Showing 296 changed files with 16,243 additions and 3,686 deletions.
5 changes: 5 additions & 0 deletions .android.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export MM_FOX_CODE=
export MM_FABRIC_API_KEY=
export MM_BRANCH_KEY_TEST=
export MM_BRANCH_KEY_LIVE=
export MM_MIXPANEL_TOKEN=
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ buck-out/
coverage

# app-specific
/android/app/src/main/assets/InpageBridge.js
/android/app/src/main/assets/InpageBridgeWeb3.js
/app/core/InpageBridgeWeb3.js

Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/android/app/src/main/assets/InpageBridge.js
/android/app/src/main/assets/InpageBridgeWeb3.js
/app/core/InpageBridgeWeb3.js
__snapshots__
Expand Down
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,58 @@

## Current Develop Branch

## v0.2.14 - Mar 11 2020
- [#1413](https://github.com/MetaMask/metamask-mobile/pull/1413): Fix accountsChanged notification (#1413)
- [#1411](https://github.com/MetaMask/metamask-mobile/pull/1411): bugfix: payment request (#1411)
- [#1410](https://github.com/MetaMask/metamask-mobile/pull/1410): bugfix: ios close icon (#1410)
- [#1409](https://github.com/MetaMask/metamask-mobile/pull/1409): bugfix: wallet connect (#1409)
- [#1399](https://github.com/MetaMask/metamask-mobile/pull/1399): V0.2.14 (#1399)
- [#1398](https://github.com/MetaMask/metamask-mobile/pull/1398): Add vertical padding to close button (#1398)
- [#1384](https://github.com/MetaMask/metamask-mobile/pull/1384): Update `pubnub` dependency to match extension (#1384)
- [#1394](https://github.com/MetaMask/metamask-mobile/pull/1394): fix wallet tests (#1394)
- [#1397](https://github.com/MetaMask/metamask-mobile/pull/1397): fixes browser tests in release mode (#1397)
- [#1327](https://github.com/MetaMask/metamask-mobile/pull/1327): Improvement: send flow (#1327)
- [#1386](https://github.com/MetaMask/metamask-mobile/pull/1386): Remove Shapeshift controller (#1386)
- [#1385](https://github.com/MetaMask/metamask-mobile/pull/1385): Bump gaba minor (#1385)
- [#1338](https://github.com/MetaMask/metamask-mobile/pull/1338): Update docs, scripts (#1338)
- [#1380](https://github.com/MetaMask/metamask-mobile/pull/1380): Add padding to top and bottom of hamburgerButton (#1380)
- [#1372](https://github.com/MetaMask/metamask-mobile/pull/1372): bugfix: amount space crash (#1372)
- [#1337](https://github.com/MetaMask/metamask-mobile/pull/1337): Bugfix: duplicated word in seedphrase (#1337)
- [#1379](https://github.com/MetaMask/metamask-mobile/pull/1379): Fix mixed tabs and spaces (#1379)
- [#1378](https://github.com/MetaMask/metamask-mobile/pull/1378): Update test wording (#1378)
- [#1342](https://github.com/MetaMask/metamask-mobile/pull/1342): Device util update (#1342)
- [#1373](https://github.com/MetaMask/metamask-mobile/pull/1373): bugfix: amount switch no conversion (#1373)
- [#1322](https://github.com/MetaMask/metamask-mobile/pull/1322): Bugfix: send flow amount (#1322)
- [#1340](https://github.com/MetaMask/metamask-mobile/pull/1340): Fix faulty null checks (#1340)
- [#1333](https://github.com/MetaMask/metamask-mobile/pull/1333): Add padding to increase hit area in BrowserBottomBar (#1333)
- [#1307](https://github.com/MetaMask/metamask-mobile/pull/1307): Reorganize RPC middlewares; update mobile-provider (#1307)
- [#1306](https://github.com/MetaMask/metamask-mobile/pull/1306): Detox: Update for new send flow (#1306)
- [#1328](https://github.com/MetaMask/metamask-mobile/pull/1328): Update patch version (#1328)
- [#1313](https://github.com/MetaMask/metamask-mobile/pull/1313): Update font (#1313)
- [#1303](https://github.com/MetaMask/metamask-mobile/pull/1303): Link to support URLs using default browser, closes #1295 (#1303)
- [#1309](https://github.com/MetaMask/metamask-mobile/pull/1309): Use ethereum-ens-network-map@1.0.2 (#1309)
- [#1310](https://github.com/MetaMask/metamask-mobile/pull/1310): Update resolver.js (#1310)
- [#1251](https://github.com/MetaMask/metamask-mobile/pull/1251): Feature: approve screen (#1251)
- [#1305](https://github.com/MetaMask/metamask-mobile/pull/1305): add exception for localhost (#1305)
- [#1304](https://github.com/MetaMask/metamask-mobile/pull/1304): Use patch-package (#1304)
- [#1294](https://github.com/MetaMask/metamask-mobile/pull/1294): Bugfix: new send flow amount balance (#1294)
- [#1301](https://github.com/MetaMask/metamask-mobile/pull/1301): Add git submodule initialization to postinstall script (#1301)
- [#1239](https://github.com/MetaMask/metamask-mobile/pull/1239): Feature: address book + new send flow (#1239)
- [#1287](https://github.com/MetaMask/metamask-mobile/pull/1287): move showOptions to state (#1287)
- [#1285](https://github.com/MetaMask/metamask-mobile/pull/1285): Fix typo interal -> internal (#1285)
- [#1284](https://github.com/MetaMask/metamask-mobile/pull/1284): move pkgs to metamask org (#1284)
- [#1282](https://github.com/MetaMask/metamask-mobile/pull/1282): Fix iframe injection (#1282)
- [#1281](https://github.com/MetaMask/metamask-mobile/pull/1281): Added Architecture diagram (#1281)
- [#1279](https://github.com/MetaMask/metamask-mobile/pull/1279): Simplify build.sh control flow (#1279)
- [#1236](https://github.com/MetaMask/metamask-mobile/pull/1236): JSON RPC Engine (#1236)
- [#1277](https://github.com/MetaMask/metamask-mobile/pull/1277): check if CI before envFileMissing and exit 1 (#1277)
- [#1276](https://github.com/MetaMask/metamask-mobile/pull/1276): Improve onboarding (#1276)
- [#1275](https://github.com/MetaMask/metamask-mobile/pull/1275): bugfix: inpage bridge chainid (#1275)
- [#1263](https://github.com/MetaMask/metamask-mobile/pull/1263): Revert "increase circleci timeout (#1262)" (#1263)
- [#1262](https://github.com/MetaMask/metamask-mobile/pull/1262): increase circleci timeout (#1262)
- [#1258](https://github.com/MetaMask/metamask-mobile/pull/1258): Update iOS Builds (#1258)
- [#1252](https://github.com/MetaMask/metamask-mobile/pull/1252): Bugfix: cancel and speedup insufficient funds (#1252)

## v0.2.13 - Dic 30 2019
- [#1250](https://github.com/MetaMask/metamask-mobile/pull/1250): Bump excon from 0.64.0 to 0.71.0 in /ios (#1250)
- [#1246](https://github.com/MetaMask/metamask-mobile/pull/1246): bugfix: wizard back (#1246)
Expand Down
141 changes: 124 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
![MetaMask logo](logo.png?raw=true)

# MetaMask

[![CircleCI](https://circleci.com/gh/MetaMask/metamask-mobile/tree/develop.svg?style=shield)](https://circleci.com/gh/MetaMask/metamask-mobile/tree/develop)

MetaMask is a mobile web browser that provides easy access to websites that use the [Ethereum](https://ethereum.org/) blockchain.
Expand All @@ -10,51 +12,156 @@ To learn how to develop MetaMask-compatible applications, visit our [Developer D

## MetaMask Mobile

### Building locally
### 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 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 are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.

- 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
- Install the shared React Native dependencies (`React Native CLI`, _not_ `Expo CLI`)
- [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)

- _MetaMask Only:_ Rename the `.*.env.example` files (remove the `.example`) in the root of the project and fill in the appropriate values for each key. Get the values from another MetaMask Mobile developer.

- Clone this repo and install our dependencies:

```bash
git clone ...
cd metamask-mobile
yarn install
yarn install # this will run a lengthy postinstall flow
```

- Then, in one terminal, run:

```bash
yarn watch
```

- Running the app on Android:
#### Android

- Install the Android SDK, via [Android Studio](https://developer.android.com/studio).
- _MetaMask Only:_ To create production builds, you need to install Google Play Licensing Library via the SDK Manager in Android Studio.
- Linux only:
- Ensure that you have the `secret-tool` binary on your machine.
- Part of the [libsecret-tools](https://launchpad.net/ubuntu/bionic/+package/libsecret-tools) package on Debian/Ubuntu based distributions.
- Install the correct emulator
- Follow the instructions at:
- [React Native Getting Started - Android](https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies-1) _(React Native CLI Quickstart -> [your OS] -> Android)_
- More details can be found [on the Android Developer site](https://developer.android.com/studio/run/emulator)
- You should use the following:
- **Android OS Version:** Latest, unless told otherwise
- **Device:** Google Pixel 3
- Finally, start the emulator from Android Studio, and run:

```bash
yarn start:android
```

- Running the app on iOS:
#### iOS

- Install the iOS dependencies
- [React Native Getting Started - iOS](https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies-1) _(React Native CLI Quickstart -> [your OS] -> iOS)_
- You do **not** need CocoaPods
- Install the correct simulator
- **iOS OS Version:** Latest, unless told otherwise
- **Device:** iPhone 11 Pro

```bash
yarn start:ios
```

### Running tests:
- Unit test:
#### Build Troubleshooting

Unfortunately, the build system may fail to pick up local changes, such as installing new NPM packages or `yarn link`ing a dependency.
If the app is behaving strangely or not picking up your local changes, it may be due to build issues.
To ensure that you're starting with a clean slate, close all emulators/simulators, stop the `yarn watch` process, and run:

```bash
yarn clean

# if you're going to `yarn link` any packages,
# do that here, before the next command

yarn watch:clean

# ...and then, in another terminal

yarn start:ios

# or

yarn start:android
```

If `yarn link` fails after going through these steps, try directly `yarn add`ing the local files instead.

### Debugging

First, make sure you have the following running:

- `yarn watch`
- Your Android emulator or iOS simulator
- `yarn start:android` or `yarn start:ios`

Next, check that the React Native Debugger is working:

- Open your emulator or simulator, and select `Debug JS Remotely` from its menu
- You can also try to navigate to this URL in Chrome: http://localhost:8081/debugger-ui/
- If that doesn't take you to the React Native Debugger, something is wrong

#### Debugging iOS (macOS Only)

For more details, see [this page](https://medium.com/@mattcroak718/debugging-your-iphone-mobile-web-app-using-safari-development-tools-71240657c487).

- You should be able to inspect the mobile app using the console in the React Native Debugger tab
- To debug a website (dapp) in the browser:
- Navigate to the website in the app's browser
- Open Safari
- Go to: _Preferences -> Advanced_ and select `Show Develop menu in menu bar`
- Select `Develop` in the menu bar
- Find your simulator in the second section from the top
- Select the relevant WebView from the list
- The simulator will highlight the WebView when you hover over it in Safari

#### Debugging Android

For more details, see [this page](https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews).

- You should be able to inspect the mobile app using the console in the React Native Debugger tab
- To debug a website (dapp) in the browser:
- Navigate to the website in the app's browser
- Go to chrome://inspect
- Select the relevant WebView under **Remote Target**

#### Miscellaneous

- [Troubleshooting for React Native](https://facebook.github.io/react-native/docs/troubleshooting#content)

### Running Tests

- Unit tests:

```bash
yarn test:unit
```
- E2E Tests (iOS)
```

- E2E tests (iOS)

```bash
yarn test:e2e:ios
```
- E2E Tests (Android)
```

- E2E tests (Android)

```bash
yarn test:e2e:android
```

### Troubleshooting
### Architecture

Visit [Troubleshooting for React Native](https://facebook.github.io/react-native/docs/troubleshooting#content)
To get a better understanding of the internal architecture of this app take a look at [this diagram](https://github.com/MetaMask/metamask-mobile/blob/develop/architecture.svg).

## License

Expand Down
Loading

0 comments on commit a0ac448

Please sign in to comment.