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

Demo of autoinit on App Hosting #8483

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jamesdaniels
Copy link
Member

@jamesdaniels jamesdaniels commented Sep 6, 2024

Demo of autoinit on AppHosting, need to cleanup, implementation is a bit gross.

Install firebase-js-sdk normally, copy this @firebase/util tarball into your source dir and npm i --save ./firebase-util-1.9.7.tgz, deploy to FAH, initializeApp() should now "just work"!

Copy link

changeset-bot bot commented Sep 6, 2024

⚠️ No Changeset found

Latest commit: 6470299

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@google-oss-bot
Copy link
Contributor

Size Report 1

Affected Products

  • @firebase/util

    TypeBase (15c36cc)Merge (1c80cfd)Diff
    browser23.2 kB23.3 kB+81 B (+0.3%)
    esm524.9 kB25.0 kB+81 B (+0.3%)
    main30.7 kB31.0 kB+296 B (+1.0%)
    module23.2 kB23.3 kB+81 B (+0.3%)
  • bundle

    46 size changes

    TypeBase (15c36cc)Merge (1c80cfd)Diff
    analytics (logEvent)44.5 kB44.6 kB+21 B (+0.0%)
    app-check (CustomProvider)37.4 kB37.4 kB+21 B (+0.1%)
    app-check (ReCaptchaEnterpriseProvider)39.9 kB39.9 kB+21 B (+0.1%)
    app-check (ReCaptchaV3Provider)39.9 kB39.9 kB+21 B (+0.1%)
    auth (Anonymous)76.1 kB76.1 kB+22 B (+0.0%)
    auth (EmailAndPassword)84.4 kB84.4 kB+22 B (+0.0%)
    auth (GoogleFBTwitterGitHubPopup)103 kB103 kB+21 B (+0.0%)
    auth (GooglePopup)100 kB100 kB+22 B (+0.0%)
    auth (GoogleRedirect)100 kB100 kB+22 B (+0.0%)
    auth (Phone)86.8 kB86.8 kB+22 B (+0.0%)
    database (Append to a list of data)149 kB149 kB+21 B (+0.0%)
    database (Filtering data)148 kB148 kB+21 B (+0.0%)
    database (Listen for child events)164 kB164 kB+21 B (+0.0%)
    database (Listen for value events + Detach listeners)164 kB164 kB+21 B (+0.0%)
    database (Listen for value events)164 kB164 kB+21 B (+0.0%)
    database (Read data once)164 kB164 kB+21 B (+0.0%)
    database (Save data as transactions)166 kB166 kB+21 B (+0.0%)
    database (Sort data)150 kB150 kB+21 B (+0.0%)
    database (Write data)148 kB148 kB+21 B (+0.0%)
    firestore (CSI Auto Indexing Disable and Delete)270 kB270 kB+23 B (+0.0%)
    firestore (CSI Auto Indexing Enable)270 kB270 kB+23 B (+0.0%)
    firestore (Persistence)305 kB305 kB+23 B (+0.0%)
    firestore (Query Cursors)242 kB242 kB+21 B (+0.0%)
    firestore (Query)240 kB240 kB+21 B (+0.0%)
    firestore (Read data once)228 kB228 kB+21 B (+0.0%)
    firestore (Read Write w Persistence)325 kB325 kB+21 B (+0.0%)
    firestore (Realtime updates)230 kB230 kB+21 B (+0.0%)
    firestore (Transaction)207 kB207 kB+21 B (+0.0%)
    firestore (Write data)207 kB207 kB+21 B (+0.0%)
    firestore-lite (Query Cursors)91.3 kB91.3 kB+21 B (+0.0%)
    firestore-lite (Query)87.4 kB87.4 kB+21 B (+0.0%)
    firestore-lite (Read data once)62.9 kB62.9 kB+21 B (+0.0%)
    firestore-lite (Transaction)88.1 kB88.1 kB+21 B (+0.0%)
    firestore-lite (Write data)72.5 kB72.5 kB+21 B (+0.0%)
    functions (call)32.0 kB32.0 kB+21 B (+0.1%)
    messaging (send + receive)46.9 kB46.9 kB+29 B (+0.1%)
    performance (trace)51.8 kB51.8 kB+28 B (+0.1%)
    remote-config (getAndFetch)46.3 kB46.3 kB+23 B (+0.0%)
    storage (getBytes)42.1 kB42.1 kB+21 B (+0.0%)
    storage (getDownloadURL)44.1 kB44.2 kB+21 B (+0.0%)
    storage (getMetadata)43.6 kB43.6 kB+21 B (+0.0%)
    storage (list + listAll)43.0 kB43.0 kB+21 B (+0.0%)
    storage (updateMetadata)43.9 kB43.9 kB+21 B (+0.0%)
    storage (uploadBytes)48.7 kB48.7 kB+21 B (+0.0%)
    storage (uploadBytesResumable)58.7 kB58.7 kB+21 B (+0.0%)
    storage (uploadString)48.9 kB48.9 kB+21 B (+0.0%)

  • firebase

    TypeBase (15c36cc)Merge (1c80cfd)Diff
    firebase-app.js103 kB102 kB-548 B (-0.5%)
    firebase-auth-compat.js139 kB139 kB+16 B (+0.0%)
    firebase-compat.js788 kB788 kB+31 B (+0.0%)
    firebase-performance-standalone-compat.es2017.js93.6 kB93.0 kB-664 B (-0.7%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/BOb7bD7SeA.html

@google-oss-bot
Copy link
Contributor

Size Analysis Report 1

This report is too large (83,930 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/KgikPd5J52.html

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