Skip to content

Commit 99d2ac7

Browse files
authoredMar 2, 2025
Update next branch (#2988)
1 parent 3445cbb commit 99d2ac7

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed
 

‎apps/examples/App.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ import {
1212
useColorScheme,
1313
View,
1414
} from 'react-native';
15-
import { Skia, SkiaPictureView} from '@shopify/react-native-skia';
15+
import { Skia} from '@shopify/react-native-skia';
1616

1717
import {Colors} from 'react-native/Libraries/NewAppScreen';
1818

1919
const recorder = Skia.PictureRecorder();
2020
const canvas = recorder.beginRecording(Skia.XYWHRect(0, 0, 100, 100));
2121
canvas.clear(Skia.Color('green'));
22-
const picture = recorder.finishRecordingAsPicture();
22+
//const picture = recorder.finishRecordingAsPicture();
2323

2424
function App(): React.JSX.Element {
2525
const isDarkMode = useColorScheme() === 'dark';
@@ -36,7 +36,6 @@ function App(): React.JSX.Element {
3636
backgroundColor={backgroundStyle.backgroundColor}
3737
/>
3838
<ScrollView contentContainerStyle={styles.scrollContent}>
39-
<SkiaPictureView picture={picture} style={styles.canvas} />
4039
<View style={styles.header}>
4140
<Text style={styles.title}>React Native Skia Examples</Text>
4241
</View>

‎packages/skia/.releaserc

+15-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
{
2-
"branches": ["main"],
2+
"branches": [
3+
"main",
4+
{
5+
"name": "next",
6+
"prerelease": "next"
7+
}
8+
],
39
"plugins": [
410
"@semantic-release/commit-analyzer",
511
"@semantic-release/release-notes-generator",
612
[
7-
"semantic-release-yarn",
8-
{
9-
"npmPublish": true
10-
}
11-
],
12-
[
13-
"@semantic-release/github"
14-
]
13+
"semantic-release-yarn",
14+
{
15+
"npmPublish": true
16+
}
17+
],
18+
[
19+
"@semantic-release/github"
20+
]
1521
]
1622
}

0 commit comments

Comments
 (0)
Failed to load comments.