react-native-pool-cue-skills-lore
v1.0.1
Published
A ReactNative PoolCueSkillsLore Component for android and iOS
Downloads
1
Maintainers
Readme
react-native-pool-cue-skills-lore
Getting started
$ npm install react-native-pool-cue-skills-lore --save
Mostly automatic installation
$ react-native link react-native-pool-cue-skills-lore
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-pool-cue-skills-lore
and addRNPoolCueSkillsLore.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNPoolCueSkillsLore.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.RNPoolCueSkillsLorePackage;
to the imports at the top of the file - Add
new RNPoolCueSkillsLorePackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-pool-cue-skills-lore' project(':react-native-pool-cue-skills-lore').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-pool-cue-skills-lore/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-pool-cue-skills-lore')
Windows
- In Visual Studio add the
RNPoolCueSkillsLore.sln
innode_modules/react-native-pool-cue-skills-lore/windows/RNPoolCueSkillsLore.sln
folder to their solution, reference from their app. - Open up your
MainPage.cs
app
- Add
using Pool.Cue.Skills.Lore.RNPoolCueSkillsLore;
to the usings at the top of the file - Add
new RNPoolCueSkillsLorePackage()
to theList<IReactPackage>
returned by thePackages
method
Usage
import RNPoolCueSkillsLore from 'react-native-pool-cue-skills-lore';
// TODO: What to do with the module?
RNPoolCueSkillsLore;