Skip to content

Commit e13a34b

Browse files
Merge 02f449a into 8e9c3a0
2 parents 8e9c3a0 + 02f449a commit e13a34b

File tree

5 files changed

+394
-0
lines changed

5 files changed

+394
-0
lines changed

ios/RNSentryReplay.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ + (void)addReplayRNRedactClasses:(NSDictionary *_Nullable)replayOptions {
4242
NSMutableArray *_Nonnull classesToRedact = [[NSMutableArray alloc] init];
4343
if ([replayOptions[@"maskAllImages"] boolValue] == YES) {
4444
[classesToRedact addObject:NSClassFromString(@"RCTImageView")];
45+
[classesToRedact addObject:NSClassFromString(@"RNSVGSvgView")];
4546
}
4647
if ([replayOptions[@"maskAllText"] boolValue] == YES) {
4748
[classesToRedact addObject:NSClassFromString(@"RCTTextView")];

samples/react-native/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"react-native-reanimated": "3.8.1",
3333
"react-native-safe-area-context": "4.8.0",
3434
"react-native-screens": "3.29.0",
35+
"react-native-svg": "^15.3.0",
3536
"react-native-vector-icons": "^10.0.3",
3637
"react-redux": "^8.1.3",
3738
"redux": "^4.2.1"

samples/react-native/src/Screens/PlaygroundScreen.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
SafeAreaView,
1414
Pressable,
1515
} from 'react-native';
16+
import SvgGraphic from '../components/SvgGraphic';
1617

1718
const multilineText = `This
1819
is
@@ -65,6 +66,8 @@ const PlaygroundScreen = () => {
6566
}}>
6667
<Text>Press me</Text>
6768
</Pressable>
69+
<Text>react-native-svg</Text>
70+
<SvgGraphic />
6871
</View>
6972
</TouchableWithoutFeedback>
7073
</ScrollView>

0 commit comments

Comments
 (0)