-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Instead of getting the token through Capacitor Firebase App Check, we attempt to obtain the App Check token using the web Firebase getToken method in a mobile application.
However, we encounter the error 'TypeError: Cannot read properties of undefined (reading 'name')'
private appCheck: AppCheck = Inject(AppCheck);
if (data) {
return from(getToken(this.appCheck)).pipe(
switchMap((tokenResult: any) => {
_appCheckToken = tokenResult.token;
return of({ token: _appCheckToken });
})
);
}
Provide a solution on how to get the App Check token using the Firebase getToken method in a mobile application.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
