1.1.0 • Published 6 years ago
react-native-actions v1.1.0
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
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-actions
and addRNActions.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNActions.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project ⌘ + R
Android
- 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 thegetPackages()
method
- 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')
- 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