Firebase upgrade

Hi.

I received an email from Google Cloud Service saying that the Cloud function for Firebase is going to change.
This is what is necessary to do:

I know that there is more than a year ahead but I would like to have a guide for what I have to do here in Kodular to solve the problem (point 2 “Update your code”).

If someone explains better how to do the step 1, it would be nice too, because I’m afraid I don’t know how to do it!

I use Firebase Authentication and Firebase Database.

Thanks in advance!

Hey @Zagal

Have you read the documentation?

1 Like

Hi dear,

Are you using the functions?
(because if not, you don’t need to worry about anything :grin:)

1 Like

Yes, I did (or I tried) but it is like greek for me. Someone helped me to set up and configure the whole thing to make it work.
Maybe I have to ask him again to make the necessary changes, if any, but thats the point, I don’t know how this affect to my app.
Google sent me the email because they say it is affected, but I don’t know how.

I guess I am, because Google sent me the email saying that my project is affected. What I don’t know is how it is affected and how to solve it.
I use the Firebase components in Kodular, so I think that these components must be updated accordingly and the problem with be solved in code-Kodular side and I’ll have to figure out how to solve it in the Firebase side.
Thanks.

Hi dear,

I went to check the email, and further down from the image you provided it says which projects will be affected.

Anyway, if you’re not familiar with Cloud Functions, I suggest asking the person who helped you.

If you do know your way around a bit:

  • for point 1, from the CLI you just need to run the command.
  • for point 2, it asks you to update the functions that contain functions.config() to defineJsonSecret

Kodular has nothing to do with these changes.

1 Like

Yes, I saw that my Firebase project was affected, thats why I asked for help.
If Kodular has nothing to do with this, half of my problem is solved!
I’ll try to deal with the other half.

Thanks so much for you help!