I’m using Push Notifications API provided by expo:
SDK Version: sdk-38.0.2
Platforms(Android/iOS: iOS
From my Android device, I can receive a notification with sound. From my iOS device, I still can receive a notification but without sound . I would like to have a sound every I get a new notification.
I followed the guideline here: https://docs.expo.io/push-notifications/overview/
Does anyone get the same problem or any hint for me, please?
jonsamp
September 13, 2020, 2:50pm
#2
Here’s a tool you may be able to use to test out different data to test your notifications: https://expo.io/notifications
I use Notifications.scheduleNotificationAsync
for local notifications, and use this as an argument:
{
content: {
title: 'Title...',
body: `Body...`,
ios: { sound: true },
},
trigger: {
seconds: ...
},
}
It worked for me. Thanks @jonsamp nsamp
system
closed
October 15, 2020, 5:37pm
#4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.