We were missing a dependency on the AsyncUsageAnalyzers package, and therefore the linter was not checking for any async code style violations. I've added the missing dependency, and fixed the violations detected by the analyzer (a handful of missing ConfigureAwait(false) calls).
In FirebaseMessagingClient the analyzer flagged an async callback which has void return type. This pattern can sometimes result in deadlocks. I've fixed the corresponding class by pushing the async logic out of the callback.
Enabled a check to detect missing newlines at EOF.
AsyncUsageAnalyzers
package, and therefore the linter was not checking for any async code style violations. I've added the missing dependency, and fixed the violations detected by the analyzer (a handful of missingConfigureAwait(false)
calls).FirebaseMessagingClient
the analyzer flagged anasync
callback which hasvoid
return type. This pattern can sometimes result in deadlocks. I've fixed the corresponding class by pushing the async logic out of the callback.