glyphard / expo-server-sdk-dotnet

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

Error #4

Closed elie-chaaban closed 3 years ago

elie-chaaban commented 3 years ago

The push api client is stuck in this line:

await _httpClient.PostAsync(path, requestBody);

tinvo92 commented 3 years ago

I have a same problem. is there anyone has idea.???

jeremy-farrance commented 3 years ago

Same problem here, weirdly if you let it sit, it times out after 2+ mins and it DOES the send/push. Not very useful though.

glyphard commented 3 years ago

@elie-chaaban @jeremy-farrance that is odd, can you share a simple repro that includes the calling code? I'll take a look.

fangot14 commented 3 years ago

I have the same problem with the following line: var result = expoSDKClient.PushSendAsync(pushTicketReq).GetAwaiter().GetResult(); This line comes from the example given on this page: https://github.com/glyphard/expo-server-sdk-dotnet The application never goes to the next line, even after 2 min or 2 hours...

glyphard commented 3 years ago

@jeremy-farrance Ahh, ok just updated the read.me example to make the call fully async via await keywrod. Let me know if that solves the issue for you.

glyphard commented 3 years ago

Have updated the read.me If you are still experiencing a problem with it, please re-open this issue.