Skip to content

Unable to run app after installing and setting up a basic example (Not using EXPO GO) #454

@jeanmaried

Description

@jeanmaried

Steps to reproduce:

  1. npx expo install @reactvision/react-viro
  2. Update app.json:
        "@reactvision/react-viro",
        {
          "ios": {
            "cameraUsagePermission": "$(PRODUCT_NAME) uses your camera for AR experiences. This is a custom InfoPlist string!",
            "microphoneUsagePermission": "$(PRODUCT_NAME) uses your microphone for AR experiences. This is a custom InfoPlist string!",
            "photosPermission": "$(PRODUCT_NAME) would like to read photos for AR experiences. This is a custom InfoPlist string!",
            "savephotosPermission": "$(PRODUCT_NAME) would like to save photos to your library during AR experiences. This is a custom InfoPlist string!"
          }
        }
      ],
  1. npx expo prebuild --clean
  2. Build in xcode on device (also tried with simulator)
  3. Error:
ERROR  [TypeError: Cannot read property 'setJSAnimations' of null] 

Code: ar-test.tsx
  1 | import React from "react";
  2 | import { StyleSheet, View, TouchableOpacity } from "react-native";
> 3 | import {
    | ^
  4 |   ViroARScene,
  5 |   ViroARSceneNavigator,
  6 |   ViroImage,
Call Stack

Am I missing a step?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions