-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppCheck Admin SDK requires use of internal package externally in its API #572
Labels
Comments
I found a few problems with this issue:
|
The "steps to reproduce" example imports the The example from the documentation builds without errors for me. In an empty directory:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe your environment
golang:1.20-alpine
.Describe the problem
Original Stack Overflow source here.
First, I believe the Firebase documentation for how to use AppCheck with the Golang SDK is wrong here.
It says you need to create a new
appcheck.Client
directly via method off of yourfirebase.App
, but this method doesn't exist (anymore?):So, instead, I've referred to Firebase's
appcheck
package here which says you now need to create a new instance via this method instead:This, in theory, should work. However, note the use of an
internal
package.We can try using
NewClient(...)
, and will be able to provide its first arg ofcontext.Context
, but won't be able to provide a value for its second arg of type*internal.AppCheckConfig
because it's internal.Steps to reproduce:
The text was updated successfully, but these errors were encountered: