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

Assertion failed: (shareableWorklet->valueType() == Shareable::WorkletType && "only worklets can be scheduled to run on UI"), function scheduleOnUI, file NativeReanimatedModule.cpp, line 214. (lldb)

Open PrincyVaidya opened this issue 3 years ago • 8 comments

Description

Ios App crashed after running from XCode Screenshot 2023-05-03 at 5 53 00 PM

Steps to reproduce

npm install react-native-reanimated cd ios pod install open xcode & clean build folder run project 1st default screen came with app name , after bundle start app getting crash

Snack or a link to a repository

NA

Reanimated version

3.0.1

React Native version

0.69.7

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

iphone 16.4.1

Acknowledgements

Yes

PrincyVaidya avatar May 03 '23 12:05 PrincyVaidya

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Snack or a link to a repository section.

github-actions[bot] avatar May 03 '23 12:05 github-actions[bot]

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] avatar May 03 '23 12:05 github-actions[bot]

did you fix the issue? im getting this too

lukeeey avatar May 09 '23 11:05 lukeeey

No, Still stuck on this issue.

Princy-vaidya avatar May 09 '23 11:05 Princy-vaidya

Hey! Thanks for the report but without reproduction, we can't help you, because this problem can be caused by other dependencies of your application that uses Reanimated. If anyone provides repro I will be happy to reopen the issue again 😀

piaskowyk avatar May 15 '23 09:05 piaskowyk

any fix for it?

hoseinfo avatar Jun 16 '23 13:06 hoseinfo

@hoseinfo any reproduction? 😅

piaskowyk avatar Jun 19 '23 16:06 piaskowyk

@Princy-vaidya @hoseinfo @lukeeey I just ran into this problem after updating the package, the issue was a result of not having the react-native-reanimated plugin in my babel.config.js.

  module.exports = {
    presets: [
      ...
    ],
    plugins: [
      ...
      'react-native-reanimated/plugin',
    ],
  };

Documentation can be found on their website: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/

Hope this helps.

devinMcArthur avatar Jul 14 '23 22:07 devinMcArthur