We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08547b7 commit a0adf1eCopy full SHA for a0adf1e
src/client.ts
@@ -205,9 +205,10 @@ export class Pushy {
205
// @ts-ignore
206
delete fetchBody.buildTime;
207
}
208
- let body = JSON.stringify(fetchBody);
209
- if (Platform.OS === 'harmony') {
210
- body = fetchBody;
+ // harmony fetch body is not string
+ let body: any = fetchBody;
+ if (Platform.OS === 'ios' || Platform.OS === 'android') {
211
+ body = JSON.stringify(fetchBody);
212
213
const fetchPayload = {
214
method: 'POST',
0 commit comments