Please provide the following:
- SDK Version: 14
- Platforms: Android
sir, i just want to know how can we schedule expo notification from python like we do on react
for react code,
async function schedulePushNotification() {
await Notifications.scheduleNotificationAsync({
content: {
title: "You've got mail! 📬",
body: 'Here is the notification body',
data: { data: 'goes here' },
},
trigger: {
'second':10
},
});
}
like above we have trigger option and inside which we can pass second as key and delay value
and now here is my python code i am trying to send notification with
message = {
'to' : token.token,
'title' : 'hello',
'body' : 'this is body',
}
return r.post('https://exp.host/--/api/v2/push/send', json = message)
so is there any way using which we can schedule notifications from server side or specifically python.