Skip to content

Commit 92fc49b

Browse files
committed
fix: remove setNotificationHandler
1 parent 2b0fc34 commit 92fc49b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,6 @@ import {
2929
TABLE_NAME,
3030
} from '@env';
3131

32-
Notifications.setNotificationHandler({
33-
handleNotification: async () => ({
34-
shouldShowAlert: true,
35-
shouldPlaySound: true,
36-
shouldSetBadge: true,
37-
shouldShowBanner: true,
38-
shouldShowList: true,
39-
}),
40-
});
41-
4232
/**
4333
* Register background sync handler at module level (outside components).
4434
* This is called when new data is synced while app is in background/terminated.

0 commit comments

Comments
 (0)