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

"PanoramaView" was not found in UIManager #95

Open
zeThnz opened this issue Jul 3, 2023 · 10 comments
Open

"PanoramaView" was not found in UIManager #95

zeThnz opened this issue Jul 3, 2023 · 10 comments

Comments

@zeThnz
Copy link

zeThnz commented Jul 3, 2023

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

@khiemk31
Copy link

khiemk31 commented Jul 3, 2023

I have same problem too....... :(

@virtualtravel
Copy link

For iOS: cd ios && pod install, then restart simulator

@khiemk31
Copy link

khiemk31 commented Jul 6, 2023

For iOS: cd ios && pod install, then restart simulator

how to fix it on android?

@virtualtravel
Copy link

For iOS: cd ios && pod install, then restart simulator

how to fix it on android?

not sure at all.. the lib seems to be outdated and not working even for iOS so I have decided not to use it.

@khiemk31
Copy link

khiemk31 commented Jul 6, 2023

For iOS: cd ios && pod install, then restart simulator

how to fix it on android?

not sure at all.. the lib seems to be outdated and not working even for iOS so I have decided not to use it.

do you have any other libraries to choose from? I need to use vr but I haven't found any better than Panorama at the moment. All the libraries I've found are outdated at the moment.

@virtualtravel
Copy link

do you have any other libraries to choose from? I need to use vr but I haven't found any better than Panorama at the moment. All the libraries I've found are outdated at the moment.

unfortunately no :( going to use webview as a temporary solution

@cyanidium1
Copy link

same issue :(

@daviseares
Copy link

do you have any other libraries to choose from? I need to use vr but I haven't found any better than Panorama at the moment. All the libraries I've found are outdated at the moment.

unfortunately no :( going to use webview as a temporary solution

Could you make this work with webview locally? Because I can't

@virtualtravel
Copy link

Could you make this work with webview locally? Because I can't

I’m using an online endpoint for my webview even when developing locally.

@daviseares
Copy link

Could you make this work with webview locally? Because I can't

I’m using an online endpoint for my webview even when developing locally.

I was able to build using google sdk even without jcenter. But only for debug. I had some problemas to publish .apk

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants