glyphard / expo-server-sdk-dotnet

Server-side library for working with Expo using .Net
MIT License
38 stars 23 forks source link

PushSendAsync is always returning null. #9

Open moedeveloper opened 3 years ago

moedeveloper commented 3 years ago

I created a service to send notification to tokens that already being saved into a db. thats how the implementation looks like. Screenshot 2021-08-01 at 19 14 15

I have also followed this tutorial.

My problem everything is working fine in development but not in production. The PushSendAsync is always returing null.

Am I missing something?

Weenhallo commented 2 years ago

Did you manage to find a solution for this issue? I have the same problem and I cannot find an answer anywhere

quil-hon-ng commented 2 years ago

Did you manage to find a solution for this issue? I have the same problem and I cannot find an answer anywhere

you will got null if the expo response status code is not 2xx. It's the bug in the package. I suggest you can copy the source into your project. And then fix the bug.

shopfortradeMragab commented 1 year ago

check list of token you send it's limited to 100 token per single request

i hope this helpful for you