Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-arkit

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-arkit - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

CODE_OF_CONDUCT.md

4

index.js

@@ -27,2 +27,6 @@ //

addCube(object) {
return ARKitManager.addCube(object);
}
callback(name) {

@@ -29,0 +33,0 @@ return event => {

2

package.json

@@ -7,3 +7,3 @@ {

},
"version": "0.0.6",
"version": "0.0.7",
"description": "React Native binding for iOS ARKit",

@@ -10,0 +10,0 @@ "author": "Zehao Li <qft.gtr@gmail.com>",

@@ -6,4 +6,6 @@ # react-native-arkit

React Native binding for iOS ARKit
React Native binding for iOS ARKit.
**Note**: ARKit is only supported by devices with A9 or later processors (iPhone 6s/7/SE, iPad 2017/Pro) on [iOS 11 beta](https://developer.apple.com/download/). You also need [Xcode 9 beta](https://developer.apple.com/download/) to build the project.
## Getting started

@@ -37,2 +39,7 @@

export default class ReactNativeARKit extends Component {
componentDidMount() {
// Add a cube in the scene. Only support cube geometry at the moment
this.arkit.addCube({ x: 0, y: 0, z: 0, width: 0.2, height: 0.2, length: 0.2 });
}
render() {

@@ -42,2 +49,3 @@ return (

<ARKit
ref={arkit => this.arkit = arkit}
style={{ flex: 1 }}

@@ -47,4 +55,4 @@ debug

lightEstimation
onPlaneDetected={console.log}
onPlaneUpdate={console.log}
onPlaneDetected={console.log} // event listener for plane detection
onPlaneUpdate={console.log} // event listener for plane update
/>

@@ -59,1 +67,5 @@ </View>

```
## Contributing
If you find a bug or would like to request a new feature, just [open an issue](https://github.com/HippoAR/react-native-arkit/issues/new). Your contributions are always welcome! Submit a pull request and see [`CONTRIBUTING.md`](CONTRIBUTING.md) for guidelines.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc