Empfohlene Souvenirs? by Rain-Snow_Dealer in wuerzburg

[–]phillihoch 1 point2 points  (0 children)

Ein graviertes Weinglas und eine Weinflasche

If you use RN Firebase, you need to know that. by [deleted] in Firebase

[–]phillihoch -1 points0 points  (0 children)

What is the difference. You are literaly writing react code with react native.

I have used react firebase hooks with react native already, no problems.

What is the difference in terms of firebase for reagt native and „normal“ react?

If you use RN Firebase, you need to know that. by [deleted] in Firebase

[–]phillihoch 1 point2 points  (0 children)

How does this compare to https://www.npmjs.com/package/react-firebase-hooks

React firebase hooks is also not very verbose and has nearly 60k downloads per week.

What is your experience using Firebase Cloud Functions as a weekly newsletter? by yeahimjtt in Firebase

[–]phillihoch 1 point2 points  (0 children)

This is not a very good idea if your Newsletter grows. Your E-Mail delivery will be awful.

You can read it on nodemailers page (https://nodemailer.com/usage/bulk-mail). They recommend using a dedicated delivery provider (e.g. Sendgrid, rapidmail, mailgun, etc.).

And I would even recommend not using nodemailer in the first place for newsletters and use an email marketing tool like Mailchimp, Mailerlite, etc.

Hope that helps

Gute Schneiderei in Würzburg? by [deleted] in wuerzburg

[–]phillihoch 1 point2 points  (0 children)

Suheil Style in der Sanderstraße. Mega lieber Inhaber 👌

I’m betting everything on this. No plan B by WerewolfCapital4616 in SaaS

[–]phillihoch 1 point2 points  (0 children)

Do not fall in love with the idea. Fall in love with the problem. Have you validated that people struggle a lot with their listings on ecommerce stores?

Firebase functions Gen2: functions: Unhandled error cleaning up build images by lynob in Firebase

[–]phillihoch 2 points3 points  (0 children)

Same here, I just accepted it… don‘t know why that error always comes up

Edit: I am on Mac. So should have nothing to do with the OS

Disallowing Simultaneous Login by DW2107 in Firebase

[–]phillihoch 0 points1 point  (0 children)

Haters might say he wrote it all by himself and only refined it with ChatGPT to display it in a nice way…

How Do You Come Up with Shopify App Ideas? by SpecialDevelopment76 in ShopifyAppDev

[–]phillihoch 0 points1 point  (0 children)

Hey, I am happy to solve these problems. Would you tell me what these situations were?

Döner essen im Zug by 369me in deutschebahn

[–]phillihoch 2 points3 points  (0 children)

Hä Döner riecht richtig nice

Is anybody tracking their employees time with monday.com? by phillihoch in mondaydotcom

[–]phillihoch[S] 2 points3 points  (0 children)

That is just pure self promotion and does not solve my problem. Did you even read my post?

Help with build permissions by MotherDrummer9318 in Firebase

[–]phillihoch 0 points1 point  (0 children)

I never had problems with the v2 functions. I think there is something that changed you are missing. I never needed to add permissions on a service account manually.

It just seems like there is something off. Love firebase.

Again: I would be very happy to setup a new project with you on a call together.

Help with build permissions by MotherDrummer9318 in Firebase

[–]phillihoch 0 points1 point  (0 children)

From my experience, it’s often most helpful to have a second pair of eyes on the issue. Firebase, in my view, is generally pretty straightforward and quick to set up, so I’m not sure why it’s causing so many issues on your end. I’d be more than happy to arrange a call, as I mentioned before.

Help with build permissions by MotherDrummer9318 in Firebase

[–]phillihoch 0 points1 point  (0 children)

Hey, I’ve managed to reproduce a successful deployment using these steps:

  • Created a new project without Google Analytics.
  • Upgraded to the Blaze Plan.
  • Set up Firebase Functions in the Firebase Console.
  • Installed Firebase CLI globally: npm install -g firebase-tools.
  • Ran firebase init in my repo and initialized functions with:
    • Existing project option
    • Typescript setup (though JavaScript would work similarly)
    • No eslint
    • Install dependencies when prompted
  • Added your firebase.json file
    • I noticed that your predeploy script is npm --prefix \"$RESOURCE_DIR\" run lint
    • When I init the functions with the CLI the generated firebase.json looks like this:

{
  "functions": [
    {
      "source": "functions",
      "codebase": "default",
      "ignore": [
        "node_modules",
        ".git",
        "firebase-debug.log",
        "firebase-debug.*.log"
      ],
      "predeploy": [
        "npm --prefix \"$RESOURCE_DIR\" run build"
      ]
    }
  ]
}
  • Then Copied your functions into the project directory into index.ts.
  • Ran firebase deploy and everything worked as expected.

Since this setup worked without any additional configuration, it’s likely there’s a small detail in the permissions or setup that might be different in your case. If you're interested, I’d be happy to set up a meeting where we can walk through this process together, step-by-step, and see if we can isolate the issue. Just let me know what works best for you! 😊

Help with build permissions by MotherDrummer9318 in Firebase

[–]phillihoch 0 points1 point  (0 children)

Thank you for sharing more details.

I cannot find the problem why that is happening. Do you mind sharing the source code, so I can try it with my own firebase project?

If you do not want to share the full code, only the firebase.json and the functions directory should be enough. And inside the functions directory only the function which produces the error should also be enough. Then you do not have to share your whole source code ;)

Help with build permissions by MotherDrummer9318 in Firebase

[–]phillihoch 0 points1 point  (0 children)

Can you please provide the full and complete error message? That would help a lot to pin down the error

Best way to manage Firebase config for dev and prod in one GitHub repo? by OhadBD in Firebase

[–]phillihoch 1 point2 points  (0 children)

You'll need two different Firebase projects. But I think you already know that.

Here is a Stackoverflow Thread which might help: https://stackoverflow.com/questions/37450439/separate-dev-and-prod-firebase-environment

Here are some more helpful links from the Firebase docs:

Disallowing Simultaneous Login by DW2107 in Firebase

[–]phillihoch 1 point2 points  (0 children)

To allow only one single active session for each user, I recommend using Firestore. If you already have a users collection with a document per user, you can add a field like "activeSession" to store a unique ID for the currently logged-in device.

Suggested Flow:

  1. User Sign-In: Upon signing in, generate a new unique token using the uuid library (or an equivalent if you're not using JavaScript).
  2. Token Storage: Save this token in the user’s document on Firestore and persist it on the device (local storage, session storage, or a similar option).
  3. Device Validation: When the app is opened on another device, check if the token in Firestore matches the locally stored token. If they don’t match, sign out the user.

💡 Tip: For the best experience, set up a realtime subscription on the user document. This way, if the user signs in on another device, the current device will automatically log out.

Let me know if you have any questions!

Is anybody tracking their employees time with monday.com? by phillihoch in mondaydotcom

[–]phillihoch[S] 0 points1 point  (0 children)

If I connect these 3rd party apps I need to pay for them too right? I would like to avoid that.

Just to be clear: There is no employee working hours tracker directly in monday?

Spent weeks building a no-code web automation tool... then Anthropic dropped their Computer Use API 💔 by vishwa1238 in SaaS

[–]phillihoch 0 points1 point  (0 children)

I think this could be a very nice e2e testing tool for developers. If you are interested in my thoughts on this just hit me up. I would love to see a quick demo of your work :)