Socket
Socket
Sign inDemoInstall

@sceneview/react-native-sceneform

Package Overview
Dependencies
514
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sceneview/react-native-sceneform

Sceneform for React Native


Version published
Maintainers
1
Created

Readme

Source

Features

  • Remote and local assets
  • Augmented Faces
  • Cloud anchors
  • Plane detection
  • Feature quality indicator
  • Depth API
  • Location anchors
  • Video recording
  • Screenshots

react-native-sceneform

Location markersAugmented FacesObject placingCloud anchors

Requirements

This package requires your app to target Android SDK 24 at least and react-native 0.66+

Also, this package does not handle permissions, be sure to request:

  • CAMERA: for AR view.
  • WRITE_EXTERNAL_STORAGE: for screenshots.
  • RECORD_AUDIO: for recording video.
  • ACCESS_FINE_LOCATION/ACCESS_COARSE_LOCATION: for location-based AR.

Installation

  • Install from npm running npm install --save @sceneview/react-native-sceneform
  • Add the following to your AndroidManifest.xml inside the Application node.
<meta-data  android:name="com.google.ar.core"  android:value="required"  />
  • In your app/build.gradle, set your minSdkVersion to 24.

If you are going to use Cloud Anchors, be sure to add your API Key to the AndroidManifest or to sign your application in the Google Cloud Platform console (keyless auth)

Loading the library

import { SceneformView, AugmentedFacesView } from 'react-native-sceneform';

Components and Definitions

» SceneformView

» AugmentedFacesView

» Type Definitions

Examples

» Augmented Faces

To do

  • Augmented images
  • No-AR view (3D model viewer)
  • Runtime renderable creation
  • Custom lights
  • Animation manipulation (currently animations are played automatically)
  • Depth toggling

Credits

ARCore-Location

Keywords

FAQs

Last updated on 30 Nov 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc