3

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 ?

Sriram C G
  • 901
  • 12
  • 24

1 Answers1

5

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

console.reportErrorsAsExceptions = false;
Unheilig
  • 15,690
  • 193
  • 65
  • 96