-
Notifications
You must be signed in to change notification settings - Fork 7
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
[CP-9405] app authorization token #109
base: main
Are you sure you want to change the base?
Conversation
} | ||
return swRegistration.pushManager.subscribe({ | ||
- userVisibleOnly: true, | ||
+ userVisibleOnly: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chrome allows it since 121, but the SDK doesn't support it yet.
} | ||
|
||
this.#appCheck = initializeAppCheck(this.firebaseService.getFirebaseApp(), { | ||
provider: new CustomProvider({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add some docs to the docs folder on the appcheck implementation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added reference: a872e40
|
||
const solveChallenge = async ({ type, challengeDetails }: Params) => { | ||
const solver = CHALLENGE_MAP[type]; | ||
return solver(challengeDetails); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we do these calculations on a worker thread instead? If a user's computer is slow enough these challenges can slow down everything else as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is my only comment to the PR, other than that it looks good (I tested it too, following the instructions in the ticket description).
Description
Changes
Testing
Screenshots:
Checklist for the author
Tick each of them when done or if not applicable.