1.1.0 • Published 6 years ago

react-native-actions v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Features

  • Reload the code in device;
  • Open developer menu;
  • Show network requests in console (requires remote debugging).

This package is intended to be used with React Native Actions.

Getting started

yarn add react-native-actions --dev

Automatic installation

react-native link react-native-actions

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-actions and add RNActions.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNActions.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project + R

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.lucasbento.RNActions.RNActionsPackage; to the imports at the top of the file
  • Add new RNActionsPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-actions'
    project(':react-native-actions').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-actions/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
    	```
    	compile project(':react-native-actions')

Usage

// Your main component

import withActions from 'react-native-actions';

class Application extends Component {
  // ...
}

export default withActions(Application); 
1.2.0-beta.5

6 years ago

1.2.0-beta.4

6 years ago

1.2.0-beta.3

6 years ago

1.2.0-beta.2

6 years ago

1.2.0-beta.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago