onmyway133 / PushNotifications

🐉 A macOS, Linux, Windows app to test push notifications on iOS and Android
https://onmyway133.com
Other
2.26k stars 176 forks source link

When send IOS fails the spinner does not stop and no error reason given #15

Closed saad1200 closed 4 years ago

saad1200 commented 5 years ago

When send IOS fails the spinner does not stop and no error reason given. Probably because the response is undefined at line 154 in InputComponent.js

Thanks for your hard work the application is very useful.

SwiftExpert commented 5 years ago

Hey. Happens to me also. how can i fix this? i downloaded the last release but it still happens.

mdescalzo commented 5 years ago

I'm seeing this one as well.

nareshdb commented 5 years ago

I'm facing this too. Maybe validate your credentials outside of the app resolves this?

In my case, the problem was with the body of the notification - In the JSON body I used typographic(“…”) quotes by mistake. But neutral("…") were required.

cefitzger commented 5 years ago

Yeah, I had the typographic issue as well - a comma too many and it just kept going round and round. Thanks @nareshdb for pointing to the solution.

onmyway133 commented 5 years ago

Hi all, I will try to spend some time to update some of the dependencies, fix this issue and make new release

cefitzger commented 5 years ago

@onmyway133 No problem - I should be better at JSON syntax. Maybe just a warning on the main page would suffice. Thanks

L-Yeiser commented 5 years ago

I am also seeing this. JSON syntax is correct. Same payload works for coworker but not me

onmyway133 commented 5 years ago

@L-Yeiser @cefitzger Hi, can you post your json here so I can take a look ?

cefitzger commented 5 years ago

Hi sorry for the delay. Here's a sample but in fact leaving a comma after the last element causes the problem whatever the content.

{
"aps":{
"name" : "Bobby",
"date" : "17:08 on 17/05/19",
"sound" : "default",
"category" : "New game",
}
}
vikysaran commented 5 years ago

I am still facing same issue. I used same token, json with another tool and it worked. I tried with both Auth Key and p12 files, nothing worked. Spinner is moving only.

ghost commented 5 years ago

Its happening to me too, I'm always sending the same thing it worked the 1st 4-5 times and then after that in never stops spinning.

preethambaliga commented 5 years ago

Its happening to me too . The spinner never stops.