New
Unmasking of alert and context menus in SwiftUI not working
We’re integrating the FullStory SDK in iOS App based out of SwiftUI and we’re facing some content unmasking in the following components.
Alert
Menu
When we try to capture the alert message and title and the CTAs as part of capturing replay session it’s not actually getting unmasked.
Similar issue we’re facing along the Context Menu popover menus list that’s also not getting unmasked.
Did any of our community member who faced similar kind of issue or the tech support team has solution towards this and it’s highly appreciated and we’re happy to collaborate.
0
Comments
3 comments
Hi @Yuva,
I’m David, Customer Success Manager here at FullStory.
Currently, SwiftUI’s .alert modifier operates at the OS level. With that said, we’d recommend unmasking the alert in-app. (https://help.fullstory.com/hc/en-us/articles/360044363513-How-to-Update-Mobile-Privacy-Settings-in-FullStory#01FHE6RP76DE1GMJ5NGEA43J7D).
Your team can use this selector to unmask the alert:
Note that this selector will unmask all alerts. If there is any PII contained in alerts, we’d recommend taking a more granular approach to unmasking. This will ensure that no sensitive data within alerts is visible. We’d also recommend adjusting privacy rules on alerts that contain PII in a test environment to ensure unmasking rules are applied correctly.
I’d like to get your account team in the loop on this effort to ensure we provide the best support for you and your team. Can you submit a ticket to mobile-support@fullstory.com? This will notify your account team and give us a place to track this initiative.
Thank you David for the quick response.
As per the directions we’ve configured the data capture rule to unmask the alert content and we’re able to see the contents in the replay session.
As you said it’s a generic selector which will unmask all the alert content across the app, incase if we’ve a PII data associated with certain scenario then how do we tackle this situation..?
Do we’ve any code level configuration to do a conditionally unmask the alert content rather than using the generic selector..?
We’re glad to know the details which help us to solve some use cases.
Thanks again for your support and guidance.
Very welcome Yuva.
Happy to hear that the team was able to get that data capture rule implemented, and can now see the contents of alerts.
If PII is presented within an alert, the team will need to perform masking/exclusion through the FullStory UI, by using Inspect Mode within Session Replay. You can read up more on this workflow here.
At this time, there is no code level configuration to conditionally unmask the alert content other than the generic selector.
Please sign in to leave a comment.