1.0.0 • Published 7 months ago
react-native-boating-oct-domain-plan v1.0.0
react-native-boating-oct-domain-plan
Getting started
$ npm install react-native-boating-oct-domain-plan --save
Mostly automatic installation
$ react-native link react-native-boating-oct-domain-plan
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-boating-oct-domain-plan
and addRNBoatingOctDomainPlan.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNBoatingOctDomainPlan.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.RNBoatingOctDomainPlanPackage;
to the imports at the top of the file - Add
new RNBoatingOctDomainPlanPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-boating-oct-domain-plan' project(':react-native-boating-oct-domain-plan').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-boating-oct-domain-plan/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-boating-oct-domain-plan')
Windows
- In Visual Studio add the
RNBoatingOctDomainPlan.sln
innode_modules/react-native-boating-oct-domain-plan/windows/RNBoatingOctDomainPlan.sln
folder to their solution, reference from their app. - Open up your
MainPage.cs
app
- Add
using Boating.Oct.Domain.Plan.RNBoatingOctDomainPlan;
to the usings at the top of the file - Add
new RNBoatingOctDomainPlanPackage()
to theList<IReactPackage>
returned by thePackages
method
Usage
import RNBoatingOctDomainPlan from 'react-native-boating-oct-domain-plan';
// TODO: What to do with the module?
RNBoatingOctDomainPlan;
1.0.0
7 months ago