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

Debug Mode : react-native-debugger : Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome.

Open ckotkar opened this issue 6 months ago β€’ 13 comments

Current behavior

Image

Expected behavior

App should work in the debug mode with react-native-debugger

Platform

  • [X] Android
  • [X] iOS

React Native Version

0.75.4

React Native Compressor Version

1.10.3

Reproducible Steps And Demo

  1. Run the application
  2. shake gesture - select option "debug JS remotely"
  3. it will throw error
Image

ckotkar avatar May 15 '25 05:05 ckotkar

πŸ‘‹ @ckotkar Thanks for opening your issue here! If you find this package useful hit the star🌟!

github-actions[bot] avatar May 15 '25 05:05 github-actions[bot]

@numandev1 Any updates on this ?

ashishzopeCG avatar May 20 '25 15:05 ashishzopeCG

Also experiencing this issue. Any update on this? RN 0.73.9

damathryx avatar May 30 '25 03:05 damathryx

@numandev1 Can you please update on this issue

ashishzopeCG avatar Jun 27 '25 08:06 ashishzopeCG

@numandev1 is there any fixes for this issue?

ashishzopeCG avatar Jul 16 '25 04:07 ashishzopeCG

@dougg0k @numandev1 We are not able to debug application ... getting above error. How can we fix this ?

ashishzopeCG avatar Jul 16 '25 13:07 ashishzopeCG

I never used this package (-debugger) before, no idea.

By removing -keys package, it works properly?

dougg0k avatar Jul 16 '25 13:07 dougg0k

@dougg0k Previously I am using react native config , its working fine.

ashishzopeCG avatar Jul 16 '25 16:07 ashishzopeCG

While the issue are not fixed, I would suggest using the current debugger implementation if using latest RN versions or some other package like reactotron.

dougg0k avatar Jul 16 '25 17:07 dougg0k

@ngocle2497 @numandev1 Can you guys provide fix for this.

ashishzopeCG avatar Jul 30 '25 04:07 ashishzopeCG

@ngocle2497 @numandev1 Please update on this issue. is it fix with new version

ashishzopeCG avatar Aug 01 '25 04:08 ashishzopeCG

I never used this package (-debugger) before, no idea.

By removing -keys package, it works properly?

I nerver used too

ngocle2497 avatar Aug 01 '25 04:08 ngocle2497

@ngocle2497 Yes , without this , I can debug application using React Native debugger

ashishzopeCG avatar Aug 01 '25 04:08 ashishzopeCG