firebase / firebase/firebase-admin-dotnet

Remove Newtosoft and make it AOT compatible

Open
#504 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
408
Forks
146
Avg merge
22h 7m
Merged PRs (30d)
1

Description

FirebaseAdmin is not compatible with .NET 10 AOT.

You cannot initialize GoogleCredential, and VerifyIdTokenAsync also fails.

For example

```
Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type FirebaseAdmin.Auth.FirebaseToken+Args. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path 'IsAdmin', line 1, position 11.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.