Have some issue storing datas in db

sent aia please check it

image

ok let check

But remember, even if user not choosen anything, it will save as true

this is admin app and only me i can access it.

as is possible to set the spinner as false if save as false because after refresh the screen spinner turn true but in db is false

if then, why dont you switch or check box for that? save the value in tinydb, and on refresh retain value from that? Please choose the valid component according to your work

as per your needs, this spinner wont be valid one it seems

Your question is related to storing data in db, suggestion is provided but now you wanna answer for after screen refresh need to retain what have stored earlier? Since you have started to buildup apps, certainly you should aware of using tinydb… So prefer that…

ok i try swithc but i dont know how to use with that

Initially switch will be OFF position i set… You can choose any…

Use your own text for on and off and work accordingly

image

ok works now i want to get data back from db but cant get it.

use firebase get value block…
I hope you wont say, i dont know how to get value, If not then refer [firebase guide]

i use that block but no value

already you have used firebase get value, so use another component for to get value… Also make sure your codes are connecting each other properly… always cross check at every step

? i use only here get value block

in get value block then why are using firebase project bucket?… It seems you are not in clear mind… Pls refer the guide dear friend… You will get data easily from firebase

Removed project bucked but still not get any value

have you used get value block first? and got it triggered? whee did you add blocks to get firebase value?

Perfectly working for me

FreeSkinsAdmin_1.aia (37.1 KB)

@emilpapelas4
add this block and see the result (free from + & %)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.