Closed meftunca closed 2 years ago
The issue is valid!
I have the same issue but I don't use Hermes engine
the same error os: andriod 10 rn: 0.66 renimated: 2.3.0-beta.2
Having the same error:
OS: Android 10 RN: 0.66 Reanimated: 2.3.0-beta.2
I can confirm that problem exists on Android.
OS: Android 11, RN: 0.66, Reanimated: 2.3.0-beta.2 Hermes: true
Hey @meftunca 👋 Could you (or someone who can reproduce this issue) prepare a showcase repo to reproduce this issue? 🙏
At first, I recommend clearing all application cache, for example:
rm -rf ./node_modules && yarn && cd ios && pod deintegrate && pod install && cd .. && yarn start --reset-cache"
Exactly the same here. Cache resetting doesn't help.
Hey @meftunca 👋 Could you (or someone who can reproduce this issue) prepare a showcase repo to reproduce this issue? 🙏
At first, I recommend clearing all application cache, for example:
rm -rf ./node_modules && yarn && cd ios && pod deintegrate && pod install && cd .. && yarn start --reset-cache"
I already tried and got the same error
I think the source of the problem is HERMES
@piaskowyk Can you give an estimated date for the solution?
@piaskowyk I am getting this same issue, and unable to figure out why. I have a detail comment here. Been stuck with it for around 2 months.
Also figured by logging, global
doesn't have __reanimatedModuleProxy
as a property. So global.__reanimatedModuleProxy
is always undefined
If you want a reproduction, you can check out the Reanimated2 Playground sandbox created by Software Mansion. It has the same error.
Why this issue is closed ? I am having same problem on android on latest version of this library.. (using hermes)
After months of trying to figure out why, on iOS, reanimated 2.0 -2.2 was subtly not working and why 2.3 was running into this issue, I think the root problem currently is this. We had a custom RCTBridgeDelegate
instead of using our AppDelegate
like the template/example apps use. To fix the issue if you also have a bridge delegate, you can either:
1) Implement the requisite sourceURLForBridge
method on your AppDelegate
class and use your app delegate as a delegate for your bridge.
2) Make your custom RCTBridgeDelegate
a subclass of UIResponder
.
After months of trying to figure out why, on iOS, reanimated 2.0 -2.2 was subtly not working and why 2.3 was running into this issue, I think the root problem currently is this. We had a custom
RCTBridgeDelegate
instead of using ourAppDelegate
like the template/example apps use. To fix the issue if you also have a bridge delegate, you can either:
- Implement the requisite
sourceURLForBridge
method on yourAppDelegate
class and use your app delegate as a delegate for your bridge.- Make your custom
RCTBridgeDelegate
a subclass ofUIResponder
.
This is what worked for us as well just yesterday!
Description
TypeError: Cannot read property 'installCoreFunctions' of undefined, js engine: hermes
Expected behavior
This error should not occur
Actual behavior & steps to reproduce
N/A
Snack or minimal code example
Package versions
Affected platforms