0.1.7 • Published 3 years ago
react-native-sceneviewer v0.1.7
react-native-sceneviewer
Getting started
$ npm install react-native-sceneviewer --save
Mostly automatic installation
$ react-native link react-native-sceneviewer
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-sceneviewer
and addRNSceneviewer.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNSceneviewer.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.emir.sceneviewer.RNSceneviewerPackage;
to the imports at the top of the file - Add
new RNSceneviewerPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-sceneviewer' project(':react-native-sceneviewer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sceneviewer/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-sceneviewer')
Usage
import RNSceneviewer from 'react-native-sceneviewer';
// TODO: What to do with the module?
RNSceneviewer;
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago
16.0.0
3 years ago
15.0.0
3 years ago
14.0.0
3 years ago
13.0.0
3 years ago
12.0.0
3 years ago
11.0.0
3 years ago
10.0.0
3 years ago
9.0.0
3 years ago
8.0.0
3 years ago
7.0.0
3 years ago
6.0.0
3 years ago
5.0.0
3 years ago
4.0.0
3 years ago
3.0.0
3 years ago
2.0.0
3 years ago
1.0.0
3 years ago