Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 1.54 KB

File metadata and controls

68 lines (44 loc) · 1.54 KB

Android Development

Android Studio Configuration

Compound Configuration

Application Runner

Run application with custom before launch step

Important! to set checkbox Allow parallel run.

# cd react-native-keychain
./gradlew :android

Unit Tests

Configure Execution of all Unit Tests

# cd react-native-keychain
./gradlew test

Start React Native Metro Bundler

React Native Start

# cd react-native-keychain/KeychainExample
react-native start --reset-cache
# set working dir to: 'react-native-keychain/KeychainExample'
/usr/bin/env node node_modules/.bin/react-native start --reset-cache

Important! to set checkbox Allow parallel run.

Create Automatic self-refreshed TCP ports binding

ADB reverse tcp port 8081

# brew install watch
/usr/local/bin/watch -n 5 "adb reverse tcp:8081 tcp:8081 && adb reverse tcp:8097 tcp:8097 && adb reverse --list"

Important! to set checkbox Allow parallel run.

Source code synchronization task

Needed for automatic re-publishing of changes source code for sample:

Configure Source Code Synchronization Task Run

The same results can be achieved by executing this command:

# cd react-native-keychain/KeychainExample
yarn --force

# cd react-native-keychain
./gradlew updateLibrarySourcesInExample