firebase / firebase/firebase-admin-dotnet
Remove Newtosoft and make it AOT compatible
Open
- 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
Assessment
This issue has not been assessed yet.