react-native-360 icon indicating copy to clipboard operation
react-native-360 copied to clipboard

I'm using expo and i got this error: requireNativeComponent: "Panorama" was not found in the UIManager @tiero

Open fouadSalkini opened this issue 5 years ago • 3 comments

package.json { "expo": "~38.0.1", "expo-splash-screen": "^0.2.3", "expo-status-bar": "^1.0.0", "expo-updates": "~0.2.10", "react": "~16.11.0", "react-dom": "~16.11.0", "react-native": "~0.62.2", "react-native-gesture-handler": "~1.6.0", "react-native-reanimated": "~1.7.0", "react-native-screens": "~2.2.0", "react-native-unimodules": "~0.10.1", "react-native-web": "~0.11.7", "@react-native-community/geolocation": "^2.0.2", "@react-native-community/masked-view": "0.1.6", "@use-expo/font": "^2.0.0", "eslint": "^7.4.0", "expo-font": "^8.1.1", "expo-location": "~8.2.1", "expo-permissions": "~9.0.1", "fuse.js": "^6.0.1", "native-base": "^2.13.12", "react-native-360": "git+https://github.com/tiero/react-native-360.git", "react-native-check-box": "^2.1.7", "react-native-datepicker": "^1.7.2", "react-native-elements": "^2.0.1", "react-native-flags": "^1.0.0", "react-native-htmlview": "^0.15.0", "react-native-keyboard-accessory": "^0.1.10", "react-native-lightbox": "^0.8.1", "react-native-maps": "^0.27.1", "react-native-paper": "^3.10.1", "react-native-pinch-zoom-responder": "^0.1.2", "react-native-safe-area-context": "0.7.3", "react-native-scaling-drawer": "^1.0.1", "react-native-search-filter": "^0.1.5", "react-native-share": "^3.5.0", "react-native-simple-toast": "^1.1.2", "react-native-style-tachyons": "^4.0.0", "react-native-table-component": "^1.2.1", "react-native-tiny-toast": "^1.0.7", "react-native-toasty": "^1.0.1", "react-native-webview": "^10.3.2", "react-native-zoom-lightbox": "0.0.2", "react-navigation": "^3.0.8", "react-navigation-transitions": "^1.0.12" }

fouadSalkini avatar Jul 14 '20 11:07 fouadSalkini

Being a native module I'm afraid it couldn't play nicely out of the box with Expo (AFAIK there is more work to do with it)

tiero avatar Jul 14 '20 12:07 tiero

after build with android studio and running on a real device (without using expo) i got the same error

Invariant Violation: requireNativeComponent: "Panorama" was not found in the UIManager. invariant@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2409:26 getNativeComponentAttributes@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:54361:14 get@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:46875:28 createInstance@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:12133:46 completeWork@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:20761:48 completeUnitOfWork@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23700:34 performUnitOfWork@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23678:36 workLoopSync@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23650:45 performSyncWorkOnRoot@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23345:29 performSyncWorkOnRoot@[native code] http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:13292:38 unstable_runWithPriority@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:48146:30 flushSyncCallbackQueueImpl@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:13287:28 flushSyncCallbackQueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:13276:35 scheduleUpdateOnFiber@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:22935:37 enqueueSetState@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:14792:23 setState@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:5323:37 fetchLocationDetails$@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:242715:30 tryCatch@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27513:23 invoke@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27689:32 tryCatch@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27513:23 invoke@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27589:30 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27599:21 tryCallOne@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:29451:16 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:29552:27 _callTimer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:32991:17 _callImmediatesPass@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:33027:19 callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:33245:33 callImmediates@[native code] __callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:3310:35 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:3096:34 __guard@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:3293:15 flushedQueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:3095:21 flushedQueue@[native code] invokeCallbackAndReturnFlushedQueue@[native code]

fouadSalkini avatar Jul 14 '20 16:07 fouadSalkini

after build with android studio

Hey Android it's not supported by this lib. https://github.com/tiero/react-native-360/issues/28#issuecomment-489150460

tiero avatar Jul 14 '20 18:07 tiero