Skip to content

Remove Newtosoft and make it AOT compatible #504

@gajo357

Description

@gajo357

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions