bytefish / FcmSharp

Firebase Cloud Messaging (FCM) with .NET
MIT License
6 stars 7 forks source link

Thread was being aborted on initialize FCMClient #26

Closed rex232 closed 6 years ago

rex232 commented 6 years ago

Hi, when i init FCMclient and it has error for [Thread was being aborted.]. The setting file is load correctly, any advise ? thanks

        var settings = FileBasedFcmClientSettings.CreateFromFile("XXXXX", string.Format(@"{0}\Config\{1}", sSystemPath, "googleserviceaccountkey.json"));
        try
        {
            var client4 = new FcmClient(settings);
        }
        catch (Exception ex)
        {
            System.Diagnostics.Debug.WriteLine(ex.Message);
        }
bytefish commented 6 years ago

Could you show the Stacktrace of the Exception to see where exactely the Exception is thrown?

bytefish commented 6 years ago

With the information I am not able to reproduce the issue. Please reopen the ticket, if you can give any further informations about the issue and how to reproduce it.