Skip to content

Commit 8015ebd

Browse files
committed
chore: remove local notification test
1 parent 07b92cf commit 8015ebd

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

examples/sync-demo-expo/src/App.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -235,23 +235,6 @@ function TestApp() {
235235
{isSyncing ? 'Syncing...' : 'Sync Now'}
236236
</Text>
237237
</TouchableOpacity>
238-
239-
<TouchableOpacity
240-
style={[styles.button, styles.testNotificationButton]}
241-
onPress={async () => {
242-
// Simulate a SQLite Cloud notification to test sync listener
243-
await Notifications.scheduleNotificationAsync({
244-
content: {
245-
title: 'Test Local Sync Notification',
246-
body: 'This should trigger sync...',
247-
data: { artifactURI: 'https://sqlite.ai' },
248-
},
249-
trigger: null,
250-
});
251-
}}
252-
>
253-
<Text style={styles.buttonText}>Test Sync Notification</Text>
254-
</TouchableOpacity>
255238
</View>
256239

257240
<View style={styles.listHeader}>

0 commit comments

Comments
 (0)