In React Native to handle Three-finger screenshot of OnePlusthreeT

848 Views Asked by At

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 ?

1

There are 1 best solutions below

0
T Jagadish Gupta On

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

console.reportErrorsAsExceptions = false;