Please provide the following:
- SDK Version: 34
- Platforms(Android/iOS/web/all): Android/iOS
Please tell me the way to use Expo notification API from Google Apps Script
I’m trying
UrlFetchApp.fetch('https://exp.host/--/api/v2/push/send',{
method: "POST",
body: JSON.stringify([{
to: "deviceToken",
badge: 1,
title: "title",
body: "message",
channelId: "Default"
}]),
headers: {
Accept: 'application/json',
'content-type': 'application/json',
}
})
but doesn’t work