Skip to content

Commit

Permalink
feat(core): Flushing out the new API (#2963)
Browse files Browse the repository at this point in the history
* Adding `ScreenTrackingService` and `UserTrackingService` for the new API
* Injectable classes should all be implicitly optional, since I can't figure out how to bail from the factory
* Drop the memoization as the modules are idempotent in v9
* Return `null` from analytics and messaging when they're incompatible, rather than a null object
* Now test for browser and return `null` otherwise for remote config and performance
* Allow more advanced initialization in `provide*` by allowing the developer to pass deps into the N+1 args & use the injector in the factory
* Use AppCheck debug token if they're serving off localhost too, e.g, `ng deploy --preview`
* Upgrade Firebase to 9.1
* Utilize isSupported for Remote Config
  • Loading branch information
jamesdaniels authored Oct 6, 2021
1 parent dd414b2 commit d724d81
Show file tree
Hide file tree
Showing 51 changed files with 1,240 additions and 909 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test and publish
on:
push:
branches:
- "**"
- master
paths-ignore:
- "**/*.md"
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@angular/platform-browser-dynamic": "^12.0.0",
"@angular/router": "^12.0.0",
"@schematics/angular": "^12.0.0",
"firebase": "^9.0.0",
"firebase": "^9.1.0",
"firebase-admin": "^9.11.1",
"firebase-functions": "^3.6.0",
"firebase-tools": "^9.0.0",
Expand Down
3 changes: 2 additions & 1 deletion samples/advanced/package.json

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

5 changes: 0 additions & 5 deletions samples/advanced/src/app/app.browser.module.ts

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

24 changes: 22 additions & 2 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.

25 changes: 7 additions & 18 deletions samples/advanced/src/app/app.server.module.ts

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

Loading

0 comments on commit d724d81

Please sign in to comment.