Skip to content

Commit

Permalink
feat(app-check): Support Firebase AppCheck (#2940)
Browse files Browse the repository at this point in the history
* Adding `@angular/fire/app-check`
  * Right now AppCheck doesn't "allow" you to set the debug token global right before initialization as it's inspected as a side-effect. I devised a hack that wins the race. Downside here is that Angular hasn't been initialized yet, so in order to tell if Angular is in devmode I'm looking up global variables, which are subject to behavior changes. Request has been submitted to the JS SDK team..
* Flushing out the samples a bit more, added appcheck
* Changing the tsconfig path resolution so it doesn't have to be exhaustive
  • Loading branch information
jamesdaniels authored Sep 11, 2021
1 parent 5ba20c7 commit 337116f
Show file tree
Hide file tree
Showing 48 changed files with 411 additions and 83 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@angular/fire",
"version": "7.0.4",
"version": "7.1.0",
"description": "The official Angular library for Firebase.",
"private": true,
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions samples/advanced/server.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions samples/advanced/src/app/app-check/app-check.component.spec.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions samples/advanced/src/app/app-check/app-check.component.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions samples/advanced/src/app/app.module.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samples/advanced/src/app/auth/auth.component.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samples/advanced/src/app/database/database.component.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions samples/advanced/src/app/firestore/firestore.component.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samples/advanced/src/app/functions/functions.component.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions samples/advanced/src/app/home/home.component.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions samples/advanced/src/app/messaging/messaging.component.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 13 additions & 10 deletions samples/advanced/src/app/remote-config/remote-config.component.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion samples/advanced/src/environments/environment.prod.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion samples/advanced/src/environments/environment.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion samples/compat/src/app/app.module.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion samples/compat/src/environments/environment.prod.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions samples/compat/src/environments/environment.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions samples/modular/src/app/app-check/app-check.component.spec.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 337116f

Please sign in to comment.