Skip to content
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

Libraries support for Firebase #249

Merged
merged 5 commits into from
Jan 15, 2025
Merged

Conversation

pinkeshmars
Copy link
Collaborator

Description

Added info on libraries with Firebase

Linear ticket and magic word Fixes DEVR-740

Type of change

  • Typo fix
  • New feature
  • Enhancement to current docs
  • Removed outdated references
  • Update assets

Copy link

stackblitz bot commented Jan 10, 2025

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions bot requested a review from PoojaB26 January 10, 2025 06:01
@@ -98,8 +97,6 @@ When a project is converted into a library, the following features are disabled
- Google Analytics
- OneSignal
- Mux
- Cloud functions
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leighajarett just fyi, I have removed this as well.

@pinkeshmars pinkeshmars changed the title Added info on Libraries with Firebase Libraries support for Firebase Jan 10, 2025
@@ -318,6 +315,23 @@ To set library values, navigate to **Settings and Integrations > Project Setup >
For different [**development environments**](../../testing-deployment-publishing/development-environments/development-environments.md) (e.g., development vs. production), you can bind Library Values to [**environment values**](../../testing-deployment-publishing/development-environments/development-environments.md#use-environment-values). For instance, you could have two different Library Values for an API key, such as `DEV_OPENAI_API_KEY` and `PROD_OPENAI_API_KEY`, and bind them to the development and production environments to track API usage separately.
:::

## Libraries with Firebase
You can create collections and enable various Firebase features in library projects without connecting a separate Firebase project.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about marketplace Library projects? Will they also have Firebase project enabled and marketplace users can use that directly ? Shouldn't be the case, right? @pinkeshmars

Copy link
Collaborator

@PoojaB26 PoojaB26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some fixes needed in examples.

docs/resources/projects/libraries.md Outdated Show resolved Hide resolved

Here are some examples of library projects you can build with Firebase:

- **Notes or Reminders Lists**: A library that manages basic collections for notes, tasks, or reminders.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is a good example. But rather we can say if your team is working on multiple projects and all of them have a common feature that uses Firebase such as XYZ then its a great usecase to convert that into a Library so it can have the same logic and connect to the same Firestore project.

@PoojaB26 PoojaB26 merged commit 2f4473b into main Jan 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants