0.1.7 • Published 3 years ago

react-native-sceneviewer v0.1.7

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

react-native-sceneviewer

Getting started

$ npm install react-native-sceneviewer --save

Mostly automatic installation

$ react-native link react-native-sceneviewer

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-sceneviewer and add RNSceneviewer.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNSceneviewer.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. 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 the getPackages() method
  1. 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')
  2. 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