Skip to content

Remove Newtosoft and make it AOT compatible #504

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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