Remote Config Firebase Integration in Flutterflow

Resolved

Hi Everyone!

I got stuck with an issue for the entire day...

My Goal is to put a prompt to update my app when a newer version is available.

I planned to do this by using remote firebase config and a flutterflow function or action.

For example, if I create a custom action/function which compares my actual version of the app inserted manually as a string "1.0.0" and the value parameter inserted in firebase with default value "1.0.0" ---> if values are identical return true and not trigger the prompt and viceversa if false: the prompt will show and redirect the user to the specific store to update the app if update button pressed.

What I find difficult is how can I get the remote config value to be compared in my function or action. I tried importing some packages, but nothing seems to work for me.

Can someone help me please? I would appreciate other better solutions too!

THANK YOU

4
6 replies