From 81a689a11859306d46eb716b696918e502d7d029 Mon Sep 17 00:00:00 2001 From: Roberto Negro Date: Mon, 15 Nov 2021 18:06:07 +0100 Subject: [PATCH] Update readme.md with RN >= 0.65.0 fixes Resolves #72 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 25afa62..481c3f1 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,16 @@ React Native Panorama viewer for Android and iOS. `$ cd ios && pod install` +If you're using RN >= 0.65.0 and you're obtaining errors like "Could not find com.google.vr:..." while compiling, you need to add back `jcenter()` in your `android/build.gradle` repositories: +``` +allprojects { + repositories { + // ... + jcenter() // <- ADD THIS! + } +} +``` + ## Troubleshooting iOS If you're app doesn't compile due to Swift or linker errors. Follow these steps.