Closed geyserz closed 2 years ago
@geyserz thanks a lot for reporting this and providing very detailed issue reproduction steps along with a sample project.
I'd like to clarify that it's currently the expected behaviour that private views don't work with screen recordings on Android due to limitations with media projection.
Please feel free to re-open the issue if you have any further inquiries at all.
Hi @DavidMina96, since this is a limitation of the library, do you have any suggestion on how I can protect credit card fields in android?
@geyserz Well, as the limitation is only with screen recordings, I wonder if disabling this attachment type only on Android would be an option for you.
Steps to Reproduce the Problem
addPrivateView
that those refsExpected Behavior
Both ios and android should hide the content of those inputs.
Actual Behavior
iOS: works as expected. Android: no data obfuscation happens; inputs entries are showing in the recording.
Instabug integration code
SDK Version
instabug-reactnative: 11.3.0 note: I was able to replicate this in 11.2.0 as well
React Native, iOS and Android Versions
RN: 0.70.1 note: I was able to replicate this in 0.69.0 as well
Device Model
iPhone 14 Pro Max Pixel 4 Android 13
[Optional] Project That Reproduces the Issue
rn-instabug-privateview
Video
https://user-images.githubusercontent.com/13068681/195450103-a450a7e7-18d5-4303-9355-3488bbe2cd7e.mov