Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

"PanoramaView" was not found in UIManager #95

@zeThnz

Description

@zeThnz

so far im following the installation and usage.

when i run expo start it went to the requireNativeComponent

this is my code
import React from "react";
import { View, StyleSheet, Dimensions } from "react-native";
import PanoramaView from "@lightbase/react-native-panorama-view";

const PanoramaDetails = () => (

<PanoramaView
style={styles.viewer}
dimensions={{ height: 230, width: Dimensions.get("window").width }}
inputType="mono"
imageUrl="https://raw.githubusercontent.com/googlevr/gvr-android-sdk/master/assets/panoramas/testRoom1_2kMono.jpg"
/>

);

const FullScreenPanorama = () => (
<PanoramaView
style={{ flex: 1 }}
dimensions={{
height: Dimensions.get("window").height,
width: Dimensions.get("window").width,
}}
enableTouchTracking="true"
inputType="mono"
imageUrl="https://raw.githubusercontent.com/googlevr/gvr-android-sdk/master/assets/panoramas/testRoom1_2kMono.jpg"
/>
);

const styles = StyleSheet.create({
container: {
flex: 1,
},
viewer: {
height: 230,
},
});

export { PanoramaDetails, FullScreenPanorama };

this is both on Android and Ios

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions