Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In React Native to handle Three-finger screenshot of OnePlusthreeT

In React Native to handle Three-finger screenshot of OnePlusthree and OnePlusThreeT is going for a Crash

enter image description here

This Error Occurs in Debug build while Three-finger screenshot gesture

enter image description here

Note : 1. Remote Debugging is not enabled. 2. In Signed Play Store Build there is no problem, Screenshot is taking successfully. Only in Debug build facing this issue.

Can we handle this programatically ?

like image 365
Sriram C G Avatar asked Nov 25 '25 22:11

Sriram C G


1 Answers

Put this in app.js or root file of your app. This worked for me.

console.reportErrorsAsExceptions = false;
like image 177
T Jagadish Gupta Avatar answered Nov 27 '25 10:11

T Jagadish Gupta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!