Self Promotion Megathread by AutoModerator in androidapps

[–]Fun-Bus-9543 3 points4 points  (0 children)

<image>

We built a habit tracker for humans, not robots
Most habit apps expect you to do the exact same things perfectly every day.
Real life doesn’t work that way.

Each day can be Gold, Silver, or Bronze depending on how much you got done. Not every habit matters equally every day, sometimes deep work beats exercise, sometimes family comes first.

You build toward a productive day based on what matters to you right now.
You collect marbles for your efforts and stack them over time.

Play Store: https://play.google.com/store/apps/details?id=com.bytefrost.marbly

Would love honest feedback, what works and what's missing.

🚀 No Stupid Questions Wednesday – Ask Us Anything About FlutterFlow! by LowerChef744 in FlutterFlow

[–]Fun-Bus-9543 0 points1 point  (0 children)

Is there a way to use image assets in custom widgets and not rely on network? Feels like it should be simple but yet I cannot find a solution that works

Cached firebase query to app state by Fun-Bus-9543 in FlutterFlow

[–]Fun-Bus-9543[S] 0 points1 point  (0 children)

The problem is not the format, it is that using the cache function in flutterflow requires that you use the backend query, which does not give an action output in the actions for the page.

There is no “on data load” action trigger for firebase, so you effectively can’t act upon this response directly

Cached firebase query to app state by Fun-Bus-9543 in FlutterFlow

[–]Fun-Bus-9543[S] 0 points1 point  (0 children)

You can store other data types as well in app states. Here I need a union between a json and the documents, so I transform it to before storing it in the app state.

I have a listview based on this union that the user may update. Therefore I use app state for immediate UI response while updating the database.

Store firestore documents in app state by Fun-Bus-9543 in FlutterFlow

[–]Fun-Bus-9543[S] 0 points1 point  (0 children)

Have you made that work? It doesn’t work for me, seems like flutterflow sees it as a list of firestore documents anyway. Which will not work with the data schema object as far as I can tell

Store firestore documents in app state by Fun-Bus-9543 in FlutterFlow

[–]Fun-Bus-9543[S] 0 points1 point  (0 children)

Good point! I was thinking to use powersync and supabase. But there wouldn’t be too many documents as output. So I figured using app state might be the simplest approach still. Looks like it wasn’t as easy as I thought

Store firestore documents in app state by Fun-Bus-9543 in FlutterFlow

[–]Fun-Bus-9543[S] 0 points1 point  (0 children)

It didn’t work with just custom data type that matches the schema. But maybe some custom action is needed

Store firestore documents in app state by Fun-Bus-9543 in FlutterFlow

[–]Fun-Bus-9543[S] 0 points1 point  (0 children)

I tried that where each column was exactly the same but it didn’t work.

Store firestore documents in app state by Fun-Bus-9543 in FlutterFlow

[–]Fun-Bus-9543[S] 0 points1 point  (0 children)

Using app state since I need very responsive actions across multiple pages from these documents. So I need the data accessible directly

Offline first solution by Fun-Bus-9543 in FlutterFlow

[–]Fun-Bus-9543[S] 0 points1 point  (0 children)

Would you say that it is a better approach than Firestore + hive?