Skip to content

How implement appcheck in reactfire v3? #553

@mig2793

Description

@mig2793

Hi

I have tried to get the current instance of firebase and doing the process from the firebase documentation, but appcheck always returns undefined.

`import React, { Suspense } from "react";
import { useFirebaseApp } from 'reactfire';

const APP_CHECK_TOKEN = 'xxxxxx';

export const AppCheckFirebase = () => {
const app = useFirebaseApp();
const appCheck = app.appCheck();
appCheck.activate(APP_CHECK_TOKEN, true);

return (
<>
</>
);
}`

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