react-native-capture-protection icon indicating copy to clipboard operation
react-native-capture-protection copied to clipboard

Crash

Open YspCoder opened this issue 7 months ago • 8 comments

Hot update will crash due to self ->cancelTimer. Can you add a timer check.

useEffect(() => {
    CaptureProtection.prevent();
}, []);
Image

YspCoder avatar Apr 28 '25 09:04 YspCoder

@YspCoder i will check it! thanks for report

wn-na avatar Apr 28 '25 23:04 wn-na

@YspCoder hi, can you check it for v2.0.2?

wn-na avatar Apr 29 '25 11:04 wn-na

@wn-na I try

YspCoder avatar Apr 29 '25 12:04 YspCoder

Image After testing, it still crashes and the stack based cancelTimer is not in self

YspCoder avatar Apr 30 '25 09:04 YspCoder

maybe

Image After testing, it still crashes and the stack based cancelTimer is not in self

YspCoder avatar Apr 30 '25 09:04 YspCoder

@YspCoder I'll check it out, can you give us a detailed behavior trigger?

wn-na avatar Apr 30 '25 11:04 wn-na

could you try 2.0.4? i check for crash when bundle is reload, and fix for it

wn-na avatar May 02 '25 07:05 wn-na

@wn-na I'm on vacation now. I'll test it when my vacation is over!

YspCoder avatar May 02 '25 07:05 YspCoder

It's been two weeks with no response, so I'm closing it.

wn-na avatar May 15 '25 01:05 wn-na