Problem with tiny DB

I checked out Bugs in Kodular Eagle before creating a new topic

Describe your issue

when i ran my app in the companion it works like charm, if i export the app when the database is first-time created (tag:xyz value if tag not there:)

when export it returns true instead the dictionary i’ve defined in the if tag not there

i realize when export and install over a previus version it says the true, but if uninstall and then install it works… weird

and if i create the dictionary in the following way: i.e:
{letters:{up:U,down:D}}…

it shows as {up:U,down:d,‘letras’:null}…<-- on compiled
it shows as created when tried on companion

Steps to reproduce the issue

Expected Behaviour

show or store the data as in companion

Actual Behaviour

dictionary of one single level

Show your Blocks

Android version

Start by showing your blocks. TinyDB in an apk is different from a companion TinyDB. So when you install you will get an empty TinyDB when you first start the app.

3 Likes

sorry for late response i thoght that my post was not aproved…

in the screen shot you can see the part that manages the tiny db the exported version sometimes works as expected in the notifier as is were a debug it has to print a dictionary let’s says {up:U,down:U…}
BUT
sometimes it just prints window.jConf = true