@page "/fcm-test" @inject IJSRuntime JSRuntime @attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous]
Click the button below to request notification permission and generate your FCM token.
Your Token:
Copy this token and use it to test your Backend API.
Requesting token...
} @if (!string.IsNullOrEmpty(ErrorMessage)) {@ErrorMessage
}