react-native-panorama-view icon indicating copy to clipboard operation
react-native-panorama-view copied to clipboard

"PanoramaView" was not found in UIManager

Open zeThnz opened this issue 1 year ago • 10 comments

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 = () => ( <View style={styles.container}> <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" /> </View> );

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

zeThnz avatar Jul 03 '23 01:07 zeThnz

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

khiemk31 avatar Jul 03 '23 07:07 khiemk31

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

virtualtravel avatar Jul 05 '23 22:07 virtualtravel

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

how to fix it on android?

khiemk31 avatar Jul 06 '23 07:07 khiemk31

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.

virtualtravel avatar Jul 06 '23 07:07 virtualtravel

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.

khiemk31 avatar Jul 06 '23 08:07 khiemk31

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

virtualtravel avatar Jul 06 '23 08:07 virtualtravel

same issue :(

cyanidium1 avatar Sep 25 '23 22:09 cyanidium1

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

daviseares avatar Feb 05 '24 19:02 daviseares

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.

virtualtravel avatar Feb 06 '24 08:02 virtualtravel

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

daviseares avatar Feb 12 '24 17:02 daviseares