lightbasenl / react-native-panorama-view

A simple component for displaying panoramic images in your React Native app.
MIT License
130 stars 48 forks source link

"PanoramaView" was not found in UIManager #95

Open zeThnz opened 1 year ago

zeThnz commented 1 year ago

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 = () => (

);

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 commented 1 year ago

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

virtualtravel commented 1 year ago

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

khiemk31 commented 1 year ago

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

how to fix it on android?

virtualtravel commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

same issue :(

daviseares commented 8 months ago

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 commented 8 months ago

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 commented 7 months ago

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