diff --git a/example/App.js b/example/App.js index bb11b6920..354f81077 100644 --- a/example/App.js +++ b/example/App.js @@ -94,6 +94,17 @@ export const App = () => { }); }; + const sendLocalNotificationWithSound = () => { + PushNotificationIOS.addNotificationRequest({ + id: 'notificationWithSound', + title: 'Sample Title', + subtitle: 'Sample Subtitle', + body: 'Sample local notification with custom sound', + sound: 'customSound.wav', + badge: 1, + }); + }; + const scheduleLocalNotification = () => { PushNotificationIOS.scheduleLocalNotification({ alertBody: 'Test Local Notification', @@ -243,11 +254,14 @@ export const App = () => { return (