Skip to content

ReanimatedError: Exception in HostFunction: bad_optional_access, js engine: reanimated #3242

@RafaelCENG

Description

@RafaelCENG

Description

On iOS if I click outside the app and open it again, I'm getting the following error. This was not happening before. I'm not sure when the error was produced

skia.error.mov

React Native Skia Version

^2.1.1

React Native Version

0.79.5

Using New Architecture

  • Enabled

Steps to Reproduce

Using expo click outside the builded app and open it again.

Snack, Code Example, Screenshot, or Link to Repository

The only thing i can give its I'm using the above imports for my circular progress bar.

import {
  Canvas,
  Image,
  Path,
  Skia,
  Text,
  interpolateColors,
  useFont,
  useImage,
} from "@shopify/react-native-skia"
import { useEffect } from "react"
import {
  useDerivedValue,
  useSharedValue,
  withTiming,
} from "react-native-reanimated"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions